June 2014
Intermediate to advanced
428 pages
9h 9m
English
The sample scripts in this recipe illustrate how to use Windows PowerShell for centralized management.
You can use VMM PowerShell cmdlets to automate VMM tasks by executing them from a machine that has the VMM console installed.
The following section contains some samples to add storage and convert the VHD disk format to the VHDX disk format.
You can use PowerShell scripts to automate various tasks. The following section will help you with the sample script that counts the number of Virtual Machines per Operating System (VMs per OS).
The following script will count the VMs per OS:
Import-Module virtualmachinemanager $vHosts = Get-SCVMHost foreach ($vHost ...
Read now
Unlock full access