How can we get the status of the auto deployed Host with a given MAC address?
I just want check whether the deployment is finished for a specified Host MAC address.
Is there any powercli script available ?
Or any scripts available to check the Host with a MAC address present in "Deployed Hosts" vCenter tab ?
Thanks
Would something like this work?
$tgtMac = '90:1b:0e:bd:9e:d8'
Get-VMHost -PipelineVariable esx | Get-VMHostNetworkAdapter -VMKernel | where{$_.Mac -eq $tgtMac} |
select @{N='Host';E={$esx.Name}},@{N='State';E={$esx.ConnectionState}}
Blog: lucd.info Twitter: @LucD22 Co-author PowerCLI Reference
Would something like this work?
$tgtMac = '90:1b:0e:bd:9e:d8'
Get-VMHost -PipelineVariable esx | Get-VMHostNetworkAdapter -VMKernel | where{$_.Mac -eq $tgtMac} |
select @{N='Host';E={$esx.Name}},@{N='State';E={$esx.ConnectionState}}
Blog: lucd.info Twitter: @LucD22 Co-author PowerCLI Reference
Thanks LucD.