Create configurations from existing servers

Applies to: ✔️ Windows PowerShell 5.1

Important

The article refers to a solution that is maintained by the Open Source community. Support is only available in the form of GitHub collaboration, not from Microsoft.

This article explains how to create configuration from existing servers for an Azure Automation state configuration. To create configurations from an existing servers is a challenging task as you need to know the right settings and the order they must be applied to ensure that configuration is successful.

Community project: ReverseDSC

The ReverseDSC is a community maintained solution created to work in this area beginning with the SharePoint. The solution builds on the SharePointDSC resource and extends it to orchestrate by gathering information from existing servers running SharePoint.

The latest version has multiple extraction modes to determine the level of information to include. The result of using the solution is generating Configuration Data that must be used with SharePointDSC configuration scripts.

Create configuration from existing servers for an Azure Automation state configuration

Follow the steps to create a configuration from existing servers for an Azure Automation state configuration:

  1. After you generate the data files, you can use them with DSC Configuration scripts to generate MOF files.
  2. upload the MOF files to Azure Automation.
  3. Register your servers from either on-premises or in Azure to pull configurations.

For more information on ReverseDSC, visit the PowerShell Gallery and download the solution or select Project Site to view the documentation.

Next steps