Contact Info

Crumbtrail

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

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