Contact Info

Crumbtrail » Administration » Powershell » Powershell 2.0 » Invoke-History

Invoke-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 »


Short description
Runs commands from the session history.

Invoke-History [[-Id] <string>] [-Confirm] [-WhatIf] [<CommonParameters>]

The Invoke-History cmdlet runs commands from the session history. You can pass objects representing the commands fr
om 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 Get-History.