top of page
PowerShell PowerCLI VMHost Service Status
$VMHosts=get-vmhost
Foreach($Hosts in $VMHosts){
write-host "-----$Hosts----"
Get-VMHostService -VMHost $Hosts | Select Key, Running | format-table -AutoSize
}

bottom of page