Search This Blog

Saturday, January 3, 2015

Get Hyper-V and VMM Cmdlet Using Powershell

 

Here is a quick way to get the entire cmdlet available for Hyper-V and VMM. It come handy when you want to write a powershell script and you’re not sure of cmdlet available. You can easily get entire list of cmdlet by using Powershell and export it to a text file for future reference.

[ Hyper-V]

Open Windows Powershell and type

Get-Command –Module “Hyper-V” > C:\Temp\HyperVCmd.txt

image

Output:-

image

[VMM 2012 R2]

Open VMM Windows Powershell

Get-Command –Module “VirtualMachineManager” > C:\Temp\VMMCmd.txt

image

Output:

image

You also can view