Using DSC with resources from PS Gallery
In the Finding and installing DSC resources recipe, you discovered and installed some additional DSC resources. The xWebAdministration
module you installed contains a number of DSC resources that enable you to define the configuration of an IIS website.
In this recipe, you are going to make use of this module to create, configure, and view a new website on SRV2
, based on the files created in the Using DSC and built-in resources recipe. This recipe uses the DSC resources contained in the xWebAdministration
module (which you downloaded in the Finding and installing DSC resources recipe).
Getting ready
In this recipe, you use SRV1
to manage DSC resources and configurations, SRV2
as the target node that DSC is ...
Get Windows Server 2019 Automation with PowerShell Cookbook - Third Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.