lunes, 17 de enero de 2022

WINDOWS. PS. History Command

 Purpose

Chek the last commands introduces at the PS console.

Dificulty: Low


Steps
 
Command: Get-History
 

For clear this list:

Command: Clear-History
 
Other options:
 
Command: Get-History | Select ID,Commandline

 
 
Command: Invoke-History 3


Command: Get-History | Format-List -Property *
 
 
Command: Get-History |  Select-String -Pattern "list"
 

 
 
 

by GoN | Published: Jan 17, 2022 | Last Updated: