Skip to Main Content
Windows Server 2019 Automation with PowerShell Cookbook - Third Edition
book

Windows Server 2019 Automation with PowerShell Cookbook - Third Edition

by Thomas Lee
February 2019
Beginner to intermediate content levelBeginner to intermediate
542 pages
10h 34m
English
Packt Publishing
Content preview from Windows Server 2019 Automation with PowerShell Cookbook - Third Edition

Finding and installing DSC resources

A DSC resource is a specially crafted PowerShell module that enables DSC to configure various aspects of a node. The WindowsFeature DSC resource, for example, enables you to ensure that a particular node has a particular Windows feature installed. You can also specify that a particular Windows feature should not be present (in which case, DSC removes the feature if it were already installed).

As you saw in the Using DSC and built-in resources recipe, Microsoft does not ship very many DSC resources natively with Windows Server 2019. This is intentional—you use the PowerShell Gallery to get the DSC resources you need to do your job and not hundreds or thousands of DSC resources you never need.

The built-in DSC ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Windows Server Automation with PowerShell Cookbook, Fifth Edition - Fifth Edition

Windows Server Automation with PowerShell Cookbook, Fifth Edition - Fifth Edition

Thomas Lee

Publisher Resources

ISBN: 9781789808537OtherErrata PagePurchase Link