1 Reply Latest reply on Aug 4, 2019 2:20 AM by IRIX201110141

    Script : Get ESXi Info & Warranty Check

    DDIMOS Lurker

      Hello Guys.

       

       

      I need to build a powershell script that will show me :

       

      VMHost , Vendor , ESXi Version , Model , Serial Number , Warranty

       

      Currently i have :

       

      foreach($esxcli in Get-VMHost | Get-EsxCli -V2){

          $esxcli.hardware.platform.get.Invoke() |

          Select @{N='VMHost';E={$esxcli.VMHost.Name}},VendorName,ProductName,SerialNumber

      }

       

       

      how its possible to add warrany check from HP ?