Windows PowerShell ISE File Edit View Tools Debug Add-ons Help Untitled22 ps1" X #Requires -Version 5.0 2 3 1 Configuration scriptFolderversion 4 5 ạ{ Param (Sserver = 'server1') 6 7 8 node $server 9...



Book reference: Windows PowerShell Step by Step 3rd Edition - Ed Wilson


Chapter 21


From the ATTACHED picture of a sample PS script, explain the below questions:




11. How many DSC resource types are defined in this script and name them.


Windows PowerShell ISE<br>File Edit View Tools Debug Add-ons Help<br>Untitled22 ps1

Extracted text: Windows PowerShell ISE File Edit View Tools Debug Add-ons Help Untitled22 ps1" X #Requires -Version 5.0 2 3 1 Configuration scriptFolderversion 4 5 ạ{ Param (Sserver = 'server1') 6 7 8 node $server 9 H{ Eile scriptFiles 10 11 12 B{ 13 SourcePath = "\ldc1\Share\", Ensure = "present" DestinationPath = "c:\scripts" Recurse = Strue Type = "Directory 14 15 Registry AddscriptVersion 16 17 18 É{ Key = "HKEY_Local_Machine\Software\ForScripting", ValueData = "1.0" valuename = "scriptsVersion" 19 Ensure = "Present" 20 21 22 23

Jun 08, 2022
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here