34,333
edits
Changes
→Creating COM Object Instances in Windows PowerShell
New COM object instances are created within Windows PowerShell using the ''new-object'' cmdlet combined with the ''-comobject'' parameter. This parameter may also be abbreviated to ''-com''. In order to avoid a any ambiguity which may result in a .NET or interop library with the same name being loaded, the ''-strict'' switch is also recommended:
new-object -comobject '''object name'' -strict
For example, to create new ''InternetExplorer.Application'' object: