Contact Info

Crumbtrail

ActiveXperts.com » Administration » Powershell » Powershell 4.0 » Invoke-History

Invoke-History - Powershell 4.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 »

Invoke-History

Short description
Runs commands from the session history.

Syntax


Description
The Invoke-History cmdlet runs commands from the session history. You can pass objects representing the commands from 
Get-History to Invoke-History, or you can identify commands in the current history by using their ID number. To find 
the identification number of a command, use the Get-History cmdlet.