Monthly Archive

Categories

Run with PowerShell

Came across  something new today – Run with PowerShell.

 

if you have PowerShell 3.0 or later installed – right click on your script and select “Run with PowerShell”

 

A few rules though – The script can’t take parameters or output anything to the prompt. You can’t interact with the script or the console window.

 

Execution policy is set to Bypass – not sure I like that idea  - unless the ExecutionPolicy is Allsigned in which case only signed scripts can be run this way.  See about_Run_With_PowerShell for more details

Comments are closed.