VBScript Function - Microsoft

In Windows PowerShell you create new COM objects by using the New-Object. Cmdlet. To do so call New-Object, passing the Cmdlet the –comobject. parameter, which tells Windows PowerShell to create a new COM object rather than, say, a new .NET Framework object. The –comobject parameter is then followed by the ProgID of the COM object. ................
................