3 Replies Latest reply on Jul 28, 2010 1:33 AM by RobMokkink

    get-view service instance + connected to multiple servers

    RobMokkink Expert


      I am struggeling with a bit of logic in my postinstall script for ESXi.



      I connect to vcenter to get the license for ESX, then i want to apply that license to the ESX host.



      However i issue another connect-viserver -server <esxhost>, to set the license, because you need a connection to the ESX host directly.



      To use the get-view ServiceInstance does not work properly when i am connected to vCenter already.






      Who has  a solution?