Difference between revisions of "Powershell"

From Indie IT Wiki
m
 
Line 1: Line 1:
 +
== Clear History ==
 +
 +
<code> Clear-History </code>
 +
 
== List Commands Used During The Current Session. ==
 
== List Commands Used During The Current Session. ==
  

Latest revision as of 15:54, 18 March 2025

Clear History

Clear-History

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