Difference between revisions of "Powershell"

From Indie IT Wiki
(Created page with "== List Commands Used During The Current Session. == Get-History")
 
m
Line 2: Line 2:
  
 
  Get-History
 
  Get-History
 +
 +
== Set Execution Policy ==
 +
 +
Turn off:
 +
 +
<code> Set-ExecutionPolicy Unrestricted </code>
 +
 +
Turn on:
 +
 +
<code> Set-ExecutionPolicy Restricted </code>

Revision as of 10:09, 17 March 2025

List Commands Used During The Current Session.

Get-History

Set Execution Policy

Turn off:

Set-ExecutionPolicy Unrestricted

Turn on:

Set-ExecutionPolicy Restricted