Study your flashcards anywhere!

Download the official Cram app for free >

  • Shuffle
    Toggle On
    Toggle Off
  • Alphabetize
    Toggle On
    Toggle Off
  • Front First
    Toggle On
    Toggle Off
  • Both Sides
    Toggle On
    Toggle Off
  • Read
    Toggle On
    Toggle Off

How to study your flashcards.

Right/Left arrow keys: Navigate between flashcards.right arrow keyleft arrow key

Up/Down arrow keys: Flip the card between the front and back.down keyup key

H key: Show hint (3rd side).h key

A key: Read text to speech.a key


Play button


Play button




Click to flip

37 Cards in this Set

  • Front
  • Back
Add a Feature
Install-WindowsFeatureYou can deploy a feature to a remote computerusing the “–computer” flag, as in:Install-WindowsFeature <feature> -Computer <ComputerName>
Add Migration Tools
Install-WindowsFeature Migration
Switch from Full to Core
Uninstall-WindowsFeature Server-Gui-Mgmt-Infra, ServerGui-Shell –Restart(Also using “–Remove” actually removes the underlyingbinaries)
Switch from Core to Full
Install-WindowsFeature Server-Gui-Mgmt-Infra,ServerGui-Shell –Restart
Switch from Core to FullUsing DISM (not actuallyPowerShell)
Dism /online /enable-feature /featurename:ServerCoreFullServer /featurename:Server-Gui-Shell/featurename:Server-Gui-Mgmt
Switch from Full to CoreUsing DISM (not actuallyPowerShell)
Dism /online /disable-feature /featurename:ServerCoreFullServer
Install Minimal ServerInterface from Core
Install-WindowsFeature Server-Gui-Mgmt-Infra
Install Minimal ServerInterface from Full
Uninstall-WindowsFeature Server-Gui-Shell(Note: you can add the –WhatIf flag to see otherdependent components that might also be uninstalled)
Features on Demand
Simply use “Unintall-Windows Feature” and include the“-Remove” flag to remove the binaries. In the video, Iused this on a VHDX file as follows:“Uninstall-WindowsFeatgure –name Gpmc –Vhd -Remove”To perform this on a remote computer, include “-Computer ”
Configure IP Address
New-NetIPAddress -IPAddress -InterfaceAlias"Ethernet" -DefaultGateway -PrefixLength 24
Configure DNS address
Set-DnsClientServerAddress -InterfaceAlias "Ethernet" -ServerAddresses,
Join Computer toDomain
Add-Computer -DomainName
Installing ActiveDirectory Binaries
Install-WindowsFeature –name AD-Domain-Services
Installing New Forest
Installing New Domain
Installing AdditionalDomain Controller
Uninstall ActiveDirectory Binaries
Uninstall-WindowsFeature –name AD-Domain-Services
Uninstall DomainController (Applies to alldomain installationsabove)
Enable Active DirectoryRecycle Bin
Enable-ADOptionalFeature –Identity ‘CN=Recycle BinFeature,CN=Optional Features,CN=DirectoryService,CN=WindowsNT,CN=Services,CN=Configuration,DC=nuggetlab,DC=com’ –Scope ForestOrConfigurationSet –Target ‘’
Create new users
New-ADUser (see the files ImportBulkUsers.ps1 andImportBulkUsers.csv)
Create Groups
New-ADGroup -Name PhoenixAdmins -SamAccountNamePhoenixAdmins -GroupCategory Security -GroupScopeGlobal -DisplayName PhoenixAdmins -Path "OU=UserAccounts,ou=PhoenixAdmins,ou=Phoenix,ou=Arizona,dc=nuggetlab,dc=com" -Description "Phoenix Administrators"
Add Members to Group
add-adgroupmember PhoenixAdminsPhoenixAdmin01,PhoenixAdmin02
Firewall Settings
Enable Windows Firewall: Set-NetFirewallProfileNew Firewall Rule: New-NetFirewallRuleModify Existing Firewall Rule: Set-NetFirewallRule
Advertise IPv6 oninterface
set-NetIPInterface -InterfaceAlias "Ethernet 2" -AddressFamily IPv6 -Advertising Enabled
Configure NetworkRoute for ISATAPInterface
New-NetRoute -InterfaceIndex 13 -DestinationPrefix2001:ABCD:/64 -Publish Yes
Enable ResourceMetering for Hyper-V
Get-VM -Computername <HostComputerName> | Enable-VMResourceMetering
View Resource Meteringfor a Specific Guest
Get-VM -ComputerName <HostComputerName> -Name <GuestComputerName> | Measure-VM
Change MeasurementInterval (default 1:00)
Set-vmhost –computername <HostComputerName> –ResourceMeteringSaveInterval HH:MM:SS
Obtain all VMS MeteringData
Get-VM -ComputerName <HostComputerName> | MeasureVM
Obtain Specific GuestMetering Data
Get-VM -ComputerName <HostComputerName> -Name <GuestComputerName> | Measure-VM
Show Storage Pools
Show Virtual Disks
Repair Virtual Disk
Show UnhealthyPhysical Disks
Get-PhysicalDisk | Where{$_.HealthStatus –ne“Healthy”}
Remove Physical Diskfrom Storage Pool
List Physical Disks Usedfor Virtual Disks
Get-VirtualDisk | Get-PhysicalDisk
Add a Physical Disk toStorage Pool