Check host domain membership

Quick one line list all host in a cluster and display their domain membership status

Get-Datacenter $global:DCChoice | Get-Cluster $global:CLUChoice | get-vmhost | Get-VMHostAuthentication | select -Property VMhost, @{N=”Domain”;E={$_.vmhost.Domain}},@{N=”DomainMembershipStatus”;E={$_.vmhost.DomainMembershipStatus}}

 285 total views,  1 views today

Leave a Reply

Your email address will not be published. Required fields are marked *