Thanks alot,
You are legend.
when i execute the script every time i am getting the warning messages.
WARNING: The 'VirtualNic' property of VMHostNetworkInfo type is deprecated. Use
'Get-VMHostNetworkAdapter' cmdlet instead.
WARNING: The 'PhysicalNic' property of VMHostNetworkInfo type is deprecated. Use
'Get-VMHostNetworkAdapter' cmdlet instead.
like this and in the output. for second esx host not able to get the ip address like this most of the esx i am not able to get, but. through command i can get ..is this a script error?? or any bug?
hostname | IP | Model | ProcessorType | CpuTotalMhz | CpuUsageMhz | CputAvailableMhz | MemoryTotalGB | MemoryUsageGB | MemAvailableGB | TotalDStoreSizeGB | DStoreUsedGB | DStoreAvailableGB | Cpu Count | PNicCount |
ESX-034 | 192.168.1.32 | ProLiant DL380 G7 | Intel(R) Xeon(R) CPU X5650 @ 2.67GHz | 31980 | 2716 | 29264 | 95.98997498 | 32.00585938 | 63.9841156 | 5025 | 2434.357422 | 2590.643 | 12 | 8 |
localhost | PowerEdge R510 | Intel(R) Xeon(R) CPU X5650 @ 2.67GHz | 31992 | 4645 | 27347 | 63.98394012 | 55.64355469 | 8.340385437 | 1671 | 1267.875 | 403.125 | 12 | 2 |