Mange Windows Server Core Flashcards
What is the PoSH command to add a computer to a domain?
Add-Computer -DomainName -Credential(Get-Credentia)
What is the PoSH command to initiate a session directly on a remote machine?
Enter-PSSession -ComputerName
What is the PoSH command to install a windows role and all its sub-components?
Install-WindowsFeature -Name -IncludeAllSubFeature
What protocol does PoSH remoting use?
HTTP
Firewall friendly
(Invoke-Command, Enter-PSSession)
What protocol does Get-Service use when referencing a remote computer?
Windows DCOM (rpc)
What is the PoSH command to send a command to a remote computer?
Invoke-Command -ComputerName -ScriptBlock {}
What is PoSH DSC?
Desired State Configuration
Applies state configurations to LCM
What does the aspect of DSC being idempotent mean?
When a configuration is applied or reapplied it only changed things not in the desired state
What is a .mof file?
Managed Object Framework file, a deliverable that gets sent to each machine compiled from a DSC configuration
What is LCM?
Local Configuration Manager
Applies configurations to local machine
What is the PoSH command to push DSC configurations to target machines?
Start-DscConfiguration
What is the PoSH command to retrieve a DSC configuration from a central location?
Pull-DscConfiguration
What is the PoSH command to view LCM properties?
Get-DscLocalConfigurationManager
What is the PoSH command to see the DSC state?
Get-DscConfiguration
What is the PoSH command to check for configuration drift?
Test-DscConfiguration