Find HA/DRS status of each host in cluster

Find HA/DRS status of each host in cluster

Get-Cluster | Get-View | %{
  foreach($h in $_.Host){
      Write-Host $_.name
      Write-Host "`tDRS enabled : " $_.Configuration.DRSConfig.Enabled
      Write-Host "`tHA enabled  : " $_.Configuration.DasConfig.Enabled
    }
  }

http://www.vmwarescripting.com

This document was generated from the following thread: 

Version history
Revision #:
1 of 1
Last update:
‎02-10-2009 06:30 AM
Updated by: