Difference between revisions of "Powershell"
From Indie IT Wiki
m |
|||
Line 3: | Line 3: | ||
<code> Get-History </code> | <code> Get-History </code> | ||
− | == Execution Policy | + | == Execution Policy == |
+ | |||
+ | === Check Status === | ||
<code> Get-ExecutionPolicy </code> | <code> Get-ExecutionPolicy </code> | ||
− | == | + | === Set Status === |
Turn off: | Turn off: |
Revision as of 10:52, 17 March 2025
List Commands Used During The Current Session.
Get-History
Execution Policy
Check Status
Get-ExecutionPolicy
Set Status
Turn off:
Set-ExecutionPolicy Unrestricted
Turn on:
Set-ExecutionPolicy Restricted