Quantcast
Channel: TechNet Blogs
Viewing all articles
Browse latest Browse all 34890

PowerTip: Change PowerShell Script Execution Policy

$
0
0

Summary: Learn how a user can change the Windows PowerShell script execution policy.

Hey, Scripting Guy! Question How can I change the Windows PowerShell script execution policy as simply an ordinary user?

Hey, Scripting Guy! Answer Use the –Scope parameter with the Set-ExecutionPolicy cmdlet and specify CurrentUser (the –Force parameter hides prompts from the cmdlet):

Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Scope CurrentUser -Force


Viewing all articles
Browse latest Browse all 34890

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>