Contact Info

Crumbtrail » Administration » Powershell » Powershell 3.0 » Invoke-History

Invoke-History - Powershell 3.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 from G
et-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.