Quantcast
Channel: VMware Communities : All Content - All Communities
Viewing all articles
Browse latest Browse all 180329

Script : Get ESXi Info & Warranty Check

$
0
0

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 ?


Viewing all articles
Browse latest Browse all 180329

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>