About 939,000 results
Open links in new tab
  1. How to enable execution of PowerShell scripts? - Super User

    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 unsigned scripts by entering:

  2. PowerShell Scripting - The Basics | Tutorials - Ten Forums

    May 13, 2018 · A PowerShell script is a collection of commands and cmdlets to be run in logical order, previous lines in script determining values and variables in command lines thereafter. The principle is …

  3. How to enable PowerShell script execution? - Super User

    May 7, 2020 · RemoteSigned means that Scripts that you downloaded from the Internet need to be signed in order to run, which means malicious scripts can't run since they're most likely not signed. …

  4. Run Powershell script when you open Powershell - Super User

    Mar 8, 2015 · Is it possible to run a Powershell script when you run Powershell? As in, double click the Powershell icon and open the window. Is there some type of "auto-run" setting somewhere?

  5. Run PowerShell script as a different user and elevated

    Jan 21, 2021 · Execute the Start-Process Powershell a little differently than you were executing it for it to take the action of the script logic while running elevated too. Add the ExecutionPolicy Bypass …

  6. 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?

  7. Change PowerShell Script Execution Policy in Windows 10

    Feb 23, 2023 · To Set PowerShell Script Execution Policy for Current User in PowerShell 1 Open PowerShell. 2 Copy and paste the command below into PowerShell for the execution policy your …

  8. View full history for powershell, not just current session

    Feb 17, 2019 · 33 Powershell now handily remembers history from previous sessions, and I can get to earlier commands simply by using the up-arrow. What I would like though is to be able to display this …

  9. Running Windows Powershell Scripts simply opens it in the editor

    You can run the Powershell script from the command prompt like this: powershell -command "& .\filename.ps1" You may need to change your execution policy to run Powershell scripts. powershell …

  10. PowerShell Script Fails via Task Scheduler (SYSTEM)

    Jul 3, 2025 · Action: powershell.exe -ExecutionPolicy Bypass -File "path\to\script.ps1" The script works perfectly when run manually in PowerShell ISE, but fails or does nothing when triggered via Task …