how to get vm's Host cpu mhz by PowerCLI
thanks
The following PowerCLI command will list the maximum host cpu in Mhz for all of your virtual machines:
Get-VM | Select-Object -Property Name,@{Name='MaxHostCpuMhz';Expression={$_.NumCpu * $_.VMHost.CpuTotalMhz / $_.VMHost.NumCpu}}
The following PowerCLI command will list the maximum host cpu in Mhz for all of your virtual machines:
Get-VM | Select-Object -Property Name,@{Name='MaxHostCpuMhz';Expression={$_.NumCpu * $_.VMHost.CpuTotalMhz / $_.VMHost.NumCpu}}