Tag Archives: powercli

View VMs with CPU affinity through PowerCLI

Connect-VIServer server

Get-Cluster “Cluster Name” | Get-VM | Get-View | foreach {Write-output $._Name $_.Config.CpuAffinity.AffinitySet}

Advertisements