mountainss Cloud and Datacenter Management Blog

Microsoft SystemCenter blogsite about virtualization on-premises and Cloud

#Microsoft Windows PowerShell Desired State Configuration for #Azure #Powershell #DSC #HybridCloud #Automation

Leave a comment

Azure Powershell DSC

This post describes the requirements and usage and gives examples for the Windows PowerShell Desired State Configuration (DSC) VM extension handler for Azure. The VM Extension allows you to use Powershell Desired State Configuration to configure your Azure VMs. For more information about Powershell Desired State Configuration, see Introduction to Windows Powershell Desired State Configuration. For more details about this and other Azure VM extensions, see Azure VM Extensions and Features.

Introduction, Requirements, and Dependencies

To use the Azure PowerShell DSC VM extension, you must install Azure PowerShell. In addition, The DSC extension handler has a dependency on Windows Management Framework v5. This is automatically installed by the extension handler. Today, Windows Management Framework v5 is only available for Windows 2012 R2, which means that currently the only Windows Server VM images that support the DSC VM extension handler is Windows 2012 R2 images.

NEW additions to the Azure VM PowerShell DSC Extension via Microsoft Azure Blog

Important Functionality :

The following table will help you navigate the documentation for DSC.

Topic Summary
Get Started with Windows PowerShell Desired State Configuration Explains how to use Windows PowerShell extensions that are part of DSC to automate an example configuration.
Windows PowerShell Desired State Configuration Resources Explains how to create custom resources for if your environment requires a type of configuration that is not provided by the built-in resources that come in DSC for performing basic configuration work.
Windows PowerShell Desired State Configuration Data Demonstrates a structured way to separate the data used in configuration from the configuration logic. This provides modularity, which enables you reuse the data and the logic independently. It also makes it easier to update the data and logic when necessary.
Windows PowerShell Desired State Configuration Local Configuration Manager Explains the DSC engine, which is available on all nodes (computers) and coordinates the reception and application of configuration data for each node.
Windows PowerShell Desired State Configuration Service Explains the DSC Service, which includes the options to push configuration information to target nodes, or to have an environment where the nodes retrieve the information from a server that is set up for that purpose. The nodes can continue to update and maintain their state, based on the configuration information on that server. It is also possible to use such a server to distribute custom resources to the target nodes.
Windows PowerShell Desired State Configuration Troubleshooting Guidance Provides several techniques you can use to troubleshoot your DSC configuration or to track the progress of its operations.

Author: James van den Berg

I'm Microsoft Architect and ICT Specialist and Microsoft MVP System Center Cloud and Datacenter Management

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.