9 Replies Latest reply on Jul 6, 2010 11:25 AM by ChadAEG

    problem with get-scsilun

    sbwick Lurker

      $vmHost = Get-VMHost -Name $server


      Get-ScsiLun -vmHost $vmHost -LunType "disk"


      Returns the error: Object reference not set to an instance of an object.


      This is rather frustrating as $vmhost is an object and the exact same command works for a colleague at another institution.



      I'm using powerCLI version 4.0 U1 build 208462 and windows 7.  Any advice would be greatly appreciated.