Desired State Configuration Flashcards
What does the aspect of DSC being idempotent mean?
Changes only affect configurations not in desired state, convergence to a desired state
What is a .mof file?
Management Object File, gets pushed to target computers
Enables cross-platform capability as converts powershell to ASCII standard that is universally interpreted
What is the PoSH command to call a DSC configuration?
-Computername -OutputPath
What is the PoSH command to push a DSC configuration to target nodes?
Start-DscConfiguration -Path (optional -Wait otherwise runs as background job)
What is the PoSH command to view built in DSC resources?
Get-DscResource
What is the PoSH command to view online DSC resources?
Find-DscResource
What does the x denote on a DSC module?
Experimental
What does the c denote on a DSC module?
Community (made)
What is a prerequisite for DSC to communicate?
WinRM service and listeners enabled
Configure Script Execution Policy
*DSC is built on CIM
What is the syntax to configure a .meta.mof?
LocalConfigurationManager {<code>}</code>
Configures a .meta.mof to be generated to target nodes</code>
What is the syntax to configure a .mof?
{<code>}</code>
Configures a .mof to be generated to target nodes</code>
What is the command to generate a meta.mof from a configuration?
Configure LCM agent of target
Set-DscLocalConfigurationManager
What is the command to generate a .mof from a configuration?
Start-DscConfigurationManager
What is the command to view the LCM of a computer?
Get-DscLocalConfigurationManager
What is the command to view the DSC configuration of a computer?
Get-DscConfiguration