Search notes:
Powershell module COM: function get-activeObject
$comObj = get-activeObject
prog.id
$comObj.doStuff()
See also
Powershell module: COM
Index