About 50 results
Open links in new tab
  1. Running a command as Administrator using PowerShell?

    Sep 12, 2016 · Try gsudo. A free open-source sudo for windows that allows to execute as admin from the command line. A UAC pop-up will appear.

  2. How open PowerShell as administrator from the run window

    Here's one way to open powershell (or run any command) as admin: press the Windows key (or control-escape) to bring up the Start Menu. Type the command you want to run. Press Control-Shift-ENTER.

  3. 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 …

  4. Opening up Windows Terminal with elevated privileges, from within ...

    Jun 21, 2020 · The simplest approach will work: Pin Windows Terminal as the first item on the task bar. Then hit Win+Ctrl+Shift+1 to open it as admin. If you really must launch Windows Terminal from the …

  5. windows - How can I run a command with administrator rights with …

    There is a much easier way to run commands with Administrator rights from the command line to get the Linux sudo experience in Windows, with none of the issues mentioned in the other answers.

  6. Windows Powershell policy execution bypass - Stack Overflow

    Apr 26, 2021 · In order to permanently change the execution policy, you need to run your powershell or registry change elevated, i.e Run as administrator. Additionally, you may have to modify your …

  7. powershell - oh-my-posh windows terminal first time installation issues ...

    Mar 25, 2025 · I was customizing my Windows Terminal for my new PC from scratch. I ran into a couple of issues installing oh-my-posh, first from this 3rd party tutorial and later when following the official docs.

  8. How to setup a Powershell Script in Windows Task Scheduler with …

    Jun 7, 2020 · Task scheduler usually accepts cmd code with start a program so try making the program/script part be powershell (there is a cmd command called powershell) and arguments be …

  9. Install winget by the command line (powershell) - Stack Overflow

    I'm trying to write a PowerShell script to setup windows dev machines. I want to use winget but I don't see any easy way just to install winget using the commandline. You have to either use the win...

  10. How to "sudo" with Powershell (elevate Powershell, running a …

    Feb 15, 2021 · Indeed, According to the Powershell online documentation, " the [-Verb] parameter does not apply for non-Windows systems ", so it is not possible to run Powershell as admin like this on …