search
Categories
Sponsors
VirtualMetric Hyper-V Monitoring, Hyper-V Reporting
Archive
Blogroll

Badges
MCSE
Community

Cozumpark Bilisim Portali
Change Owner of the SCVMM Virtual Machine with Powershell
Posted in Virtual Machine Manager, Windows Powershell | No Comment | 3,069 views | 20/06/2009 08:18

You can change owners of the virtual machines with Powershell:

1
2
3
4
5
Add-PSSnapin -name Microsoft.SystemCenter.VirtualMachineManager
Get-Vmmserver localhost
$VMNO = $args[0]
$USERNO = $args[1]
Set-VM $VMNO -Owner SCVMM\USER$USERNO

This method could be used for suspending Virtual Machines.



Leave a Reply