New-Object


Creates a new .Net object.

Snap-In: Microsoft.PowerShell.Utility

Syntax:

New-Object

 [-TypeName] <String> [ [-ArgumentList] <Object[]>] [-Verbose] [-Debug] [-ErrorAction <ActionPreference>] [-ErrorVariable <String>] [-OutVariable <String>] [-OutBuffer <Int32>] 

New-Object

 [-ComObject] <String> [-Strict] [-Verbose] [-Debug] [-ErrorAction <ActionPreference>] [-ErrorVariable <String>] [-OutVariable <String>] [-OutBuffer <Int32>] 

Description:

Parameters: -TypeName type-name [string] [mandatory] [positon 0] Full name of the type to create. -Arguments arguments [object []] [position 1] Arguments to the type's constructor. -AssemblyName assembly-name [string] -qualified name of an assembly. -FileName file-name [string] Path of an assembly file. ---



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