How disable the security warning Run only scripts that you trust While scripts from the Internet can be useful, this script can potentially harm your computer Do you want to run in POWERSHELL
Posted by Cereal
Wednesday, May 19, 2010 6:12:55 PM
Rate this Content
0
0 Votes
How disable the security warning “Run only scripts that you trust. While scripts from the Internet can be useful, this script can potentially harm your computer. Do you want to run” in POWERSHELL
Solution :
1. Uninstall the Windows component “Internet Explorer Enhanced Security Configuration”
2. Open a POWERSHELL console and execute the following command :
Set-ExecutionPolicy Unrestricted

blogs.msdn.com : Running Scripts Downloaded from the Internet
blogs.msdn.com : Building on PowerShell: Execution Policies
Simple-Tech.info