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

    Get-ExecutionPolicy; By default it is Restricted. To allow the execution of PowerShell Scripts we need to set this ExecutionPolicy either as Bypass or Unrestricted. We can set the policy for …

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

    May 7, 2020 · 5 You need to set a less restrictive execution policy. Run Set-ExecutionPolicy RemoteSigned When prompted, choose the answer most appropriate to you. Execution Policy …

  3. Set PowerShell Execution Policy for a service account

    Apr 9, 2019 · 1 As defined in the help files. Execution Policy Scope You can set an execution policy that is effective only in a particular scope. The valid values for Scope are …

  4. Changing Execution-Policy in Powershell - Super User

    Jul 27, 2017 · As for changing the execution policy using a console, run PowerShell as Administrator and use the Set-ExecutionPolicy cmdlet. By default the scope should be machine.

  5. security policy - Why setting Powershell to set-executionpolicy ...

    You need to run powershell as an administrator to set the execution policy. Once you've set it to remotesigned, you can run powershell as a regular user.

  6. windows - In Powershell, How to set execution policy for another …

    May 1, 2020 · It appears to have no way to specify a user. As an administrator, how to set execution policy for another user? There is a similar question, however it's also unsolved. Set …

  7. How to Set-ExecutionPolicy to LocallySigned? - Super User

    Oct 25, 2025 · It's the strictest policy which allows local scripts to run. Set-ExecutionPolicy -ExecutionPolicy AllSigned -Scope CurrentUser or Set-ExecutionPolicy -ExecutionPolicy …

  8. Set-ExecutionPolicy using batch file + powershell script

    Jul 6, 2013 · Set-ExecutionPolicy Restricted PS C:\windows\system32> Get-ExecutionPolicy RemoteSigned Any tips on how to use a batch file + powershell script to change execution …

  9. PowerShell scripts for Exchange can't be executed, but execution …

    Aug 12, 2022 · PowerShell scripts for Exchange can't be executed, but execution policy is set Ask Question Asked 3 years, 4 months ago Modified 3 years, 4 months ago

  10. Change Powershell Execution Policy silently from Batch script

    Mar 31, 2015 · How do I change Powershell Execution Policy silently from a batch script? Warning: The instructions below contain steps that tell you how to modify the registry. …