Get-VirtualDisk
Show virtual disks
Get-VM –ComputerName <NAME> | Enable-
VMResourceMetering
Enable Hyper-V resource metering on
Hyper-V host
Get-VM –ComputerName NAME | Measure-VM
To
get all VMs metering data
Get-WindowsFeature
Used to get a list of roles and features
installed on a computer running Server
2012
Import-GPO
Imports a GPO
Import-Module
Adds module to
the current session
Install-ADDSDomain
Installs New Domain
Install-ADDSDomainController
Installs additional DC
Install-ADDSForest
Installs new forest
Install-AddsForest –DomainName “example.com”
Used to promote a server to
an Active
Directory Domain Controller and make
that new DC responsible for a new forest
Install-WindowsFeature
(for remote computer add the –computer flag, as in Install-
WindowsFeature <Feature> -Computer <ComputerName>
Adds a role or feature
Install-WindowsFeature –name AD-Domain-Services
Installs Active Directory binaries
Install-WindowsFeature Migration
Adds Migration tools