SCVMM 2008: How to change Owner value for all VMs?

Have you ever found yourself in a situation where you have a bunch of virtual machines (VMs) where the OWNER value is set to UNKNOWN and you wanted to set a value owner without having to modify them one VM at a time?  If so there’s a PowerShell command that we can use to accomplish […]

Have you ever found yourself in a situation where you have a bunch of virtual machines (VMs) where the OWNER value is set to UNKNOWN and you wanted to set a value owner without having to modify them one VM at a time?  If so there’s a PowerShell command that we can use to accomplish this: Get-VM -VMMServer "vmm server FQDN" | where {$_.Owner -eq "Unknown"} | Set-VM -Owner "domain\account"

Presto, now your VMs have an owner as dictated by the account you used above.

More infoSCVMM Blog