Contact Info

Crumbtrail

ActiveXperts.com » 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 »

Invoke-History

Short description
Runs commands from the session history.

Syntax
Invoke-History [[-Id] <String>] [-Confirm] [-WhatIf] [<CommonParameters>]





Description
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.