Mastering Windows Server 2016 Hyper-V

(Romina) #1

number of cmdlets in the Hyper-V module are counted, you see that there are 232 in
Windows Server 2016 (up from 178 in Windows Server 2012 R2):


PS C:> (Get‐Command ‐Module Hyper‐V).Count
232


If you are unfamiliar with PowerShell, I cannot stress enough how important
PowerShell is to any Microsoft environment. At a high level, a PowerShell cmdlet
(command) takes the form of -, where the verb is a specific type of
action such as new, get, or start, while the noun is a particular type of object. Many
types of objects related to Hyper-V can be acted upon:


PS C:> Get‐Command ‐Module Hyper‐V | Select ‐Unique Noun | Sort Noun


Noun


VFD
VHD
VHDSet
VHDSnapshot
VM
VMAssignableDevice
VMBios
VMComPort
VMConnectAccess
VMConsoleSupport
VMDvdDrive
VMEventing
VMFailover
VMFibreChannelHba
VMFile
VMFirmware
VMFloppyDiskDrive
VMGpuPartitionAdapter
VMGroup
VMGroupMember
VMHardDiskDrive
VMHost
VMHostAssignableDevice
VMHostCluster
VMHostNumaNode
VMHostNumaNodeStatus
VMHostSupportedVersion
VMIdeController
VMInitialReplication
VMIntegrationService
VMKeyProtector
VMKeyStorageDrive
VMMemory
VMMigration
VMMigrationNetwork
VMNetworkAdapter
VMNetworkAdapterAcl
VMNetworkAdapterExtendedAcl
VMNetworkAdapterFailoverConfiguration

Free download pdf