September 2017
Beginner to intermediate
272 pages
8h 8m
English
In the push mode, you can place a DSC resource module folder in a PowerShell module path (any of the paths defined in the $env:PSModulePath path), and things will work out fine. A pull server requires that DSC resources be placed in a specific directory and compressed into a ZIP format with a specific name in order for the pull server to recognize and be able to transfer the resource to the target node.
Here is our example DSC resource in a folder on our system. We are using the experimental xPSDesiredStateConfiguration resource provided by Microsoft, but these steps can apply to your custom resources as well:
PS C:\Examples> ls . Directory: C:\Examples Mode LastWriteTime Length Name ---- ------------- ...
Read now
Unlock full access