About 2,230,000 results
Open links in new tab
  1. powershell - I want to run Power Shell script with admin privileges ...

    Some way to run PowerShell with admin privileges: Search Powershell from the Windows search icon OR click the Windows button from the keyboard --> write Powershell --> You will see the Windows …

  2. Running a command as Administrator using PowerShell?

    Sep 12, 2016 · The current Windows PowerShell session is not running as Administrator. Start Windows PowerShell by using the Run as Administrator option, and then try running the script again.

  3. Gaining administrator privileges in PowerShell - Server Fault

    Dec 5, 2015 · The Powershell v2 way, according to Microsoft, is to right click on the shortcut and choose Run as Administrator. And to elevate within a Powershell window: start-process powershell –verb …

  4. working directory - How do I run a PowerShell script as administrator ...

    Feb 25, 2021 · I also tried this "powershell.exe -ExecutionPolicy Bypass -NoExit -File "C:\project\test.ps1" " I can run in normal way but cannot run as administrator, because when I run …

  5. how to run a powershell script as administrator - Super User

    Feb 12, 2010 · I use it to start the powershell console as administrator. A similar result is to create a ps1 file with Start-Process powershell.exe -Verb RunAs.

  6. Run a PowerShell script from a cmd batch as admin

    Jan 17, 2022 · I have a PowerShell setup which I want to execute on a computer where perhaps the execution policy is restricted and requires admin rights. Ideally, I could wrap it in a cmd batch like …

  7. How open PowerShell as administrator from the run window

    Is possible open a new PowerShell console as administrator through the run window, in Windows? I know that just typing 'powershell' in the run window is enough to start a new console, but is there a

  8. Open Powershell as Administrator at Current File Explorer Directory ...

    Mar 31, 2018 · Let's say that I'm browsing through Windows File Explorer, and suddenly I decide that I would like to open Powershell as administrator at the current directory (the directory that I'm at in File …

  9. command line - How to run PowerShell script with administrator rights ...

    Mar 4, 2023 · There is no way for a non-administrator batch file to elevate itself to administrator status. If this is already the case and you only wish powershell.exe to wait for the Start-Process command to …

  10. How to elevate PowerShell without closing the actual one?

    If you prefer using Windows Terminal instead of the default PowerShell terminal window, you can do Start-Process wt powershell -Verb runAs (yes, just add wt!) to run the powershell -Verb runAs …