Answered step by step
Verified Expert Solution
Question
1 Approved Answer
1. What is DSC? Chapter 21 Assignment Questions 2. What is a prerequisite for running DSC? 3. In PowerShell v5 how many types of
1. What is DSC? Chapter 21 Assignment Questions 2. What is a prerequisite for running DSC? 3. In PowerShell v5 how many types of native DSC resources are available 4. What is the file format used by DSC? 5. What is the meaning of "idempotent" regarding DSC? 6. What are the three default parameters in a DSC configuration file? 7. Explain in brief what each of the above configuration parameters is used for. a) InstanceName b) OutputPath c) ConfigurationData Windows PowerShell SE File Edit View Tools Debug Add-ons Help Undex 1 #Requires -Version 5.0 2 3 Configuration Script FolderVersion 4 5 B Param (Sserver = 'server1') 6 node $server 9 of File ScriptFiles 03. 2 } SourcePath "\\dc1\Share\" Ensure "present" DestinationPath = "C:\scripts" Type = "Directory Recurse Strue Registry AddScriptversion Key = "HKEY_Local Machine\Software\ForScripting" valueData "1.0" Ensure "Present" ValueName = "ScriptsVersion" From the above picture of a sample PS script, answer the below questions 8 to 11: 8. That is the reason for the comment [#] in line one? 9. What does line three indicate? 10. What does the "node" declaration in line six mean?
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started