Contact Info

Crumbtrail

ActiveXperts.com » Administration » Powershell » Powershell 2.0 » Get-History

Get-History - Powershell 2.0 CmdLet

ActiveXperts Network Monitor ships with integrated Powershell scripts to monitor complex network. The scripts run out of the box
Download the ActiveXperts Network Monitor FREE version now »

Get-History

Short description
Gets a list of the commands entered during the current session.

Syntax


Description
The Get-History cmdlet gets the session history, that is, the list of commands entered during the current session. 
Windows PowerShell automatically maintains a history of each session. You can save the session history in XML or CS
V format. By default, history files are saved in the home directory, but you can save the file in any location.