Difference between revisions of "Script Extracts and Examples (PowerCLI)"

Jump to navigation Jump to search
(→‎Script Extracts: Added "ESX NIC Info ")
Line 434: Line 434:
Foreach ($esx in $ESXs) {
Foreach ($esx in $ESXs) {
     Write-Host $esx.Name $esx.State
     Write-Host $esx.Name $esx.State
     $pNICs = (Get-VMHost -Name "uk-hb-esx-102*" | Get-View).Config.Network.Pnic
     $pNICs = (Get-VMHost -Name "MyESX*" | Get-View).Config.Network.Pnic


     $result = @{}
     $result = @{}