About 3,100,000 results
Open links in new tab
  1. windows - How to run a PowerShell script - Stack Overflow

    The MSDN/Technet URL now redirects to a page saying "The Windows PowerShell 1.0 Owner’s Manual has been retired. For the most up-to-date Windows PowerShell content, go to Using …

  2. How to run powershell script from .ps1 file? - Stack Overflow

    Oct 23, 2019 · Powershell.exe -executionpolicy remotesigned -File "C:\Path\script.ps1" If this still isn't working, please execute your batch file via CMD (copying the path, wrapped in quotation …

  3. How to Execute Powershell Script AS Powershell 7 from Command …

    May 28, 2020 · Name Value ---- ----- PSVersion 5.1.14393.3471 PSEdition Desktop How can I execute a Powershell script AS Powershell 7 instead of Powershell 5?

  4. How to enable execution of PowerShell scripts? - Super User

    735 Start Windows PowerShell with the "Run as Administrator" option. Only members of the Administrators group on the computer can change the execution policy. Enable running …

  5. Running a command as Administrator using PowerShell?

    Sep 12, 2016 · Is there a way of supressing windows If you want to run powershell as administrator? For applications in which you need to run this silently having your user asked …

  6. windows - How to run PowerShell in CMD - Stack Overflow

    I'm trying to run a PowerShell script inside cmd command line. Someone gave me an example and it worked:

  7. How to run a Powershell script from the command line and pass a ...

    Dec 5, 2012 · How to run a Powershell script from the command line and pass a directory as a parameter Asked 13 years, 1 month ago Modified 1 year, 6 months ago Viewed 500k times

  8. Run PowerShell script as a different user and elevated

    Jan 21, 2021 · Then execute the script elevated from that local copy instead. Execute the Start-Process Powershell a little differently than you were executing it for it to take the action of the …

  9. powershell - I want to run Power Shell script with admin privileges ...

    Run this command of a PowerShell console: Start-Process powershell -Verb runAs Run your script from PowerShell like this: PowerShell -f C:\ScriptPath For more details, you can check …

  10. windows - run powershell command from cmd - Super User

    May 24, 2016 · 0 I placed the following commands into a batch file to reset Edge (which has been giving some problems from time to time). The batch file was then run at Administrator level. …