search
Categories
Archive
Blogroll

Microsoft PowerShell MVP

Cozumpark Bilisim Portali
AdvancedInstaller
Change Owner of the SCVMM Virtual Machine with Powershell
Posted in Virtual Machine Manager, Windows Powershell | No Comment | 1,723 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



Powered by DorukNet