Internet Forensics

Invokes an executable or opens a file.

Snap-In: Microsoft.PowerShell.Management

Syntax:

Invoke-Item

[-Path] <String[]> [-Filter <String>] [-Include <String[]>] [-Exclude <String[]>] [-Credential <PSCredential>] [-Verbose] [-Debug] [-ErrorAction <ActionPreference>] [-ErrorVariable <String>] [-OutVariable <String>] [-OutBuffer <Int32>] [-WhatIf] [-Confirm]

Description:

The invoke-item Cmdlet attempts to execute or open an item from a namespace. The behavior when an item is invoked depends on the provider. For filesystem items, this means calling ShellExecute with the path of the item. ShellExecute either runs the file or opens it with the application associated with that file type.

Категории