- Choose Start > All programs > Accessories > Windows Powershell
- Right-click on Window Powershell and (this is important) choose Run as Administrator
- Type and press Enter: set-executionpolicy remotesigned
- Type and press Enter when prompted: y
- Type and press Enter: exit
- C:\> powershell c:\pathtoshell\shellname.ps1
No comments:
Post a Comment