Contact Info

Crumbtrail

ActiveXperts.com » Administration » Powershell » Powershell 2.0 » Invoke-Item

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

Short description
Performs the default action on the specified item.

Syntax
Invoke-Item [-LiteralPath] <string[]> [-Credential <PSCredential>] [-Exclude <string[]>] [-Filter <string>] [-Inclu
de <string[]>] [-Confirm] [-WhatIf] [-UseTransaction] [<CommonParameters>]

Invoke-Item [-Path] <string[]> [-Credential <PSCredential>] [-Exclude <string[]>] [-Filter <string>] [-Include <str
ing[]>] [-Confirm] [-WhatIf] [-UseTransaction] [<CommonParameters>]

Description
The Invoke-Item cmdlet performs the default action on the specified item. For example, it runs an executable file o
r opens a document file in the application associated with the document file type. The default action depends on th
e type of item and is determined by the Windows PowerShell provider that provides access to the data.