Contact Info

Crumbtrail

ActiveXperts.com » Administration » Powershell » Powershell 4.0 » New-Object

New-Object - Powershell 4.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 »

New-Object

Short description
Creates an instance of a Microsoft .NET Framework or COM object.

Syntax


Description
The New-Object cmdlet creates an instance of a .NET Framework or COM object.


You can specify either the type of a .NET Framework class or a ProgID of a COM object. By default, you type the fully 
qualified name of a .NET Framework class and the cmdlet returns a reference to an instance of that class. To create an 
instance of a COM object, use the ComObject parameter and specify the ProgID of the object as its value.