Script
----------------------------------------------------------------------------------------
Connect-viserver vCentername
Get-VMHost | Select Name,PowerState,ConnectionState,Manufacturer,Model,Version,Build, @{N = 'Serial' ; E= { (Get-EsxCli -VMHost $_).hardware.platform.get().SerialNumber}}
附件:http://down.51cto.com/data/2366945
本文转自学海无涯博客51CTO博客,原文链接http://blog.51cto.com/549687/1958992如需转载请自行联系原作者
520feng2007