All the ways of onboarding VMs to Update Mangement and Inventory rely on runbooks and the portal. This isn't very helpful when your environment build is completely automated.
So whilst I can create a SoftwreUpdateConfiguration in Powershell, I can't get the servers in there to be able to run it against.19 votes
You can onboard machines using Azure Resource Manager (ARM) template, which the recommended method to bulk onboard/changes in Azure – see: https://docs.microsoft.com/azure/automation/update-management/enable-from-template
Additionally, PowerShell runbook is also available to automate the onboarding – see: https://docs.microsoft.com/azure/automation/update-management/enable-from-runbook
- Don't see your idea?