Finding the command to automate tasks in VMM
This recipe will show you how to find the VMM PowerShell command to automate tasks in VMM. The Get-Help
cmdlet not only displays information about the cmdlet, but it also displays references, examples of usage, and notes.
Getting ready
Start the VMM PowerShell command with administrator rights. For more information, refer to the Introducing VMM PowerShell recipe in this chapter.
How to do it...
Help topics have been provided for each VMM PowerShell cmdlet, including general examples.
To display a list of all the VMM cmdlets, start the VMM PowerShell and use the Get-Command
cmdlet:
PS c:\>Get-Command -CommandType Cmdlet
You can also use Get-Command
to view all VMM cmdlets that contain specific nouns or verbs, ...
Get System Center 2012 R2 Virtual Machine Manager Cookbook now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.