diTii.com Digital News Hub

Sign up with your email address to be the first to know about latest news and more.

I agree to have my personal information transfered to MailChimp (more information)


Changing Ownership of Virtual Machines (VMs) via PowerShell with SCVMM 2008 R2

Here’s a method on how to change ownership of virtual machines (VMs) via PowerShell with System Center Virtual Machine Manager 2008 R2. This is a great method to use if you need to change the owner field of a lot of VMs at once:

* Where “%Domain\1stUser% is the current owner and “%Domain\2ndUser% is the desired owner

Get-VM -VMMServer “%YourVMMServername%” | where {$_.Owner -eq “%Domain\1stUser%”} | Set-VM -Owner “%Domain\2ndUser%”

Also be sure and check out the VMM08R2 Cmdlet Reference. It’s a great doc to read to learn about lots of cool tricks like this using Powershell to manage your VMM environment.


Share This Story, Choose Your Platform!