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