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:
- After you generate the data files, you can use them with DSC Configuration scripts to generate MOF files.
- upload the MOF files to Azure Automation.
- 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
- To understand PowerShell DSC, see Windows PowerShell Desired State Configuration overview.
- Find out about PowerShell DSC resources in DSC Resources.
- For details of Local Configuration Manager configuration, see Configuring the Local Configuration Manager.