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