Contact Info

Crumbtrail

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

New-Object - Powershell 2.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 ful
ly qualified name of a .NET Framework class and the cmdlet returns a reference to an instance of that class. To cre
ate an instance of a COM object, use the ComObject parameter and specify the ProgID of the object as its value.