Use LEFT and RIGHT arrow keys to navigate between flashcards;
Use UP and DOWN arrow keys to flip the card;
H to show hint;
A reads text to speech;
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 -Computer
|
|
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 10.10.10.73 -InterfaceAlias"Ethernet" -DefaultGateway 10.10.10.1 -PrefixLength 24
|
|
Configure DNS address
|
Set-DnsClientServerAddress -InterfaceAlias "Ethernet" -ServerAddresses 10.10.10.70, 10.10.10.1
|
|
Join Computer toDomain
|
Add-Computer -DomainName nuggetlab.com
|
|
Installing ActiveDirectory Binaries
|
Install-WindowsFeature –name AD-Domain-Services
|
|
Installing New Forest
|
Install-ADDSForest
|
|
Installing New Domain
|
Install-ADDSDomain
|
|
Installing AdditionalDomain Controller
|
Install-ADDSDomainController
|
|
Uninstall ActiveDirectory Binaries
|
Uninstall-WindowsFeature –name AD-Domain-Services
|
|
Uninstall DomainController (Applies to alldomain installationsabove)
|
Uninstall-ADDSDomainController
|
|
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 ‘nuggetlab.com’
|
|
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 | Enable-VMResourceMetering
|
|
View Resource Meteringfor a Specific Guest
|
Get-VM -ComputerName -Name | Measure-VM
|
|
Change MeasurementInterval (default 1:00)
|
Set-vmhost –computername –ResourceMeteringSaveInterval HH:MM:SS
|
|
Obtain all VMS MeteringData
|
Get-VM -ComputerName | MeasureVM
|
|
Obtain Specific GuestMetering Data
|
Get-VM -ComputerName -Name | Measure-VM
|
|
Show Storage Pools
|
Get-StoragePool
|
|
Show Virtual Disks
|
Get-VirtualDisk
|
|
Repair Virtual Disk
|
Repair-VirtualDisk
|
|
Show UnhealthyPhysical Disks
|
Get-PhysicalDisk | Where{$_.HealthStatus –ne“Healthy”}
|
|
Remove Physical Diskfrom Storage Pool
|
Reset-PhysicalDisk
|
|
List Physical Disks Usedfor Virtual Disks
|
Get-VirtualDisk | Get-PhysicalDisk
|
|
Add a Physical Disk toStorage Pool
|
Add-PhysicalDisk
|