List VM's included in an Azure Automation Update Management Deployment Schedule that uses a dynamic group #23943
Unanswered
shaneholder
asked this question in
Q&A
Replies: 1 comment
-
Let me pull in folks from the Automation team for more insights -- @jaspkaur28 @sanjkum |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello,
I'm trying to determine if there is a way to get the list of VM's that would be included in a deployment schedule in Azure Automation. The dynamic group is created using the New-AzAutomationUpdateManagementAzureQuery. FWIW, when I asked ChatGPT it suggested that there is a property on the object returned from New-AzAutomationUpdateManagementAzureQuery called VirtualMachines but I suspect that' it's lying to me. :)
I see the query properties on the output of Get-AzAutomationSoftwareUpdateConfiguration on the UpdateConfiguration.Targets.AzureQueries. I'm trying to determine how to execute something with those properties. This should be the same information as is available in the preview of the Deployment Schedule in the Azure portal.
Regards,
Shane Holder
Beta Was this translation helpful? Give feedback.
All reactions