Remote COM Object Question

Welcome Forums General PowerShell Q&A Remote COM Object Question

This topic contains 0 replies, has 1 voice, and was last updated by  Forums Archives 7 years ago.

  • Author
  • #5880

    Points: 0
    Rank: Member

    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.

The topic ‘Remote COM Object Question’ is closed to new replies.