Azure Update Manager

Kabelo Phefo 0 Reputation points
2023-09-13T10:13:19.4266667+00:00

Hi,

Need help with powershell script to query azure update manager for Windows update for Arc enabled servers

Azure Arc
Azure Arc
A Microsoft cloud service that enables deployment of Azure services across hybrid and multicloud environments.
202 questions
Update management center
{count} votes

1 answer

Sort by: Most helpful
  1. tbgangav-MSFT 8,996 Reputation points
    2023-09-13T12:13:26.99+00:00

    Hi @Kabelo Phefo ,

    As per this document, logs created from operations like update assessments and installations are stored by Update Manager in Azure Resource Graph and as per this document, Search-AzGraph is the Azure PowerShell cmdlet using which we can query the resources managed by Azure Resource Manager so you could come up with your Azure Resource Graph kusto query by including all the filters that are required for your environment and then use that in the Search-AzGraph Azure PowerShell cmdlet and save it as PowerShell script.

    You may refer examples in this document to understand how to include kusto query inside the Search-AzGraph cmdlet. Also, you may refer this document to understand the structure of logs being sent by Update Manager for all of its operations to Azure Resource Graph and refer this document for sample queries so you could come up with your real-time Azure Resource Graph kusto query for your use case scenario.

    0 comments No comments