Author Posts

January 1, 2012 at 12:00 am

by Lery at 2013-05-01 14:42:41

Is there a way I could access a COM object on a remote computer? New-Object doesn't provide a -computerName parameter.

Or am I stuck using the invoke-command and putting my COM object calls into a scriptblock? 🙁

by poshoholic at 2013-05-02 05:57:13

I think you're stuck using Invoke-Command with your calls in a script block (or rolling your own remoting by pushing a script to the remote system and invoking it using WMI, but that's more complicated).

by Lery at 2013-05-02 06:38:45

Okie dokie, that is what I thought. Thanks for the confirmation.