5 Replies Latest reply on Jan 10, 2019 5:05 AM by LucD

    Problems with Invoke-VMScript

    sturag Lurker

      Hi there!

      We got some problems with invoke-vmscript, the thing is that it work on some servers, but not all.

      Example, 2 servers, same OS (2012R2) both on same VLAN, have the same VMWare Tools version.

      Small example:

      Invoke-VMScript -ScriptText 'whoami' -GuestCredential $creds -VM $VM -ScriptType Powershell 

       

      On one server i get output, on the other nothing, just:

      ScriptOutput

      ------------------------------------

      ------------------------------------

       

      Do you have any clue were to start troubleshooting? Thanks