I have about 20 Linux VMs on Azure and would like to manage them via DSC for Linux.
What's the best way to install the initial OMI and DSC rpms via Powershell without logging into each VM and installing individually?
Also can you please suggest, once the DSC configuration is compiled and the node specific configs are generated, how can I automatically assign the node to the config via Powershell without using the portal ?
解决方案Hi BeerMan007,
Register-AzAutomationDscNode is the cmdlet which you can use to register an Azure VM as a DSC node for an Automation Account.
Note that when you onboard machines for management by Azure Automation DSC in this way, you need not worry about package dependencies like OMI, etc.
Start-AzAutomationDscNodeConfigurationDeployment is the cmdlet which you can use to assign a node configuration.
Hope this helps!! Cheers!!