Advanced Windows PowerShell Scripting Video Training

Advanced Windows PowerShell Scripting Video Training
Advanced Windows PowerShell Scripting Video Training

Friday, August 26, 2011

How to use the System Center Virtual Machine Module cmdlets in your scripts.

This took a little research.  You need to use the Add-PSSnapin cmdlet.

 

Add-PSSnapin Microsoft.SystemCenter.VirtualMachineManager

 

This snapin is available on a client that has the VMM Administrator Console installed on it.  Once you execute the above command, the VMM cmdlets should be available to you.

No comments: