Last active
November 23, 2015 22:10
-
-
Save OSDTips/74f941be257d234023e2 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Set-ExecutionPolicy without confirmation | |
$shell = New-Object -ComObject Wscript.Shell | |
Set-ExecutionPolicy Unrestricted | Echo $shell.sendkeys("Y`r`n") |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment