2,187
edits
(→Execution Policy: Minor update) |
m (→Execution Policy: Another) |
||
Line 41: | Line 41: | ||
<source lang="powershell"> | <source lang="powershell"> | ||
Get-ExecutionPolicy | Get-ExecutionPolicy | ||
</source> | |||
To run a script, without tinkering with the Execution Policy first, run from a command prompt | |||
<source lang="dos"> | |||
powershell.exe -executionpolicy remotesigned .\Example.ps1 | |||
</source> | </source> | ||