Invoke-Item


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.



Windows PowerShell. TFM
Internet Forensics
ISBN: 982131445
EAN: 2147483647
Year: 2004
Pages: 289

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net