Skip to main content

Building Custom DSC Resources

  • Chapter
  • First Online:
Windows PowerShell Desired State Configuration Revealed
  • 1014 Accesses

Abstract

The resource modules are the heart of configuration management using the management platform provided by Desired State Configuration (DSC). The initial release of DSC, as a part of WMF 4.0, included only 12 built-in resources. These resources enable basic management of a target system, which includes modules for unpacking zip archives, installing and uninstalling MSI and setup packages, managing services, processes, managing Windows roles and features, and so on. While these built-in resources are a good starting point, there are still quite a few gaps and scope for creating DSC resources. DSC as a management platform provides a framework for creating custom DSC resources. It is important for administrators and developers alike to understand how to create custom DSC resource modules. For administrators, this knowledge provides a way to go beyond what is offered by DSC in-box. Developers can leverage the knowledge of writing custom DSC resources to provide support for configuring the applications they are developing using DSC.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 39.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Author information

Authors and Affiliations

Authors

Rights and permissions

Reprints and permissions

Copyright information

© 2014 Ravikanth Chaganti

About this chapter

Cite this chapter

Chaganti, R. (2014). Building Custom DSC Resources. In: Windows PowerShell Desired State Configuration Revealed. Apress, Berkeley, CA. https://doi.org/10.1007/978-1-4842-0016-2_9

Download citation

Publish with us

Policies and ethics