New-MachineGroupByTag
1.1
This sample runbook creates a Log Analytics machine group based off an Azure VM tag and Update management Log Analytics data.
The major steps of the script are outlined below:
1) Connect to the Azure account
2) Set the subscription context
3) Return the list of Azure VM resource IDs for the provided tag
4) Generate the query for the Log Analytics group creation
5)
The major steps of the script are outlined below:
1) Connect to the Azure account
2) Set the subscription context
3) Return the list of Azure VM resource IDs for the provided tag
4) Generate the query for the Log Analytics group creation
5)
This sample runbook creates a Log Analytics machine group based off an Azure VM tag and Update management Log Analytics data.
The major steps of the script are outlined below:
1) Connect to the Azure account
2) Set the subscription context
3) Return the list of Azure VM resource IDs for the provided tag
4) Generate the query for the Log Analytics group creation
5) Remove the saved search if it already exists
6) Create the machine group (saved search)
Show more
The major steps of the script are outlined below:
1) Connect to the Azure account
2) Set the subscription context
3) Return the list of Azure VM resource IDs for the provided tag
4) Generate the query for the Log Analytics group creation
5) Remove the saved search if it already exists
6) Create the machine group (saved search)
Installation Options
Owners
Copyright
Microsoft Corporation. All rights reserved.
Package Details
Author(s)
- Azure Automation Team
Tags
Azure Automation Tags VM Update management Machine groups Computer group Saved search
Dependencies
-
- AzureRM.OperationalInsights (>= 4.3.2)
- AzureRM.Profile (>= 4.6.0)
Release Notes
1.1
5/29/2018
-- EDITED BY Jenny Hunter
-- fixed bugs (null error and misspelled variable)
1.0
4/25/2018
-- CREATED BY Jenny Hunter
-- added sample script to create a Log Analytics machine group based off of a Azure VM tag
FileList
- New-MachineGroupByTag.nuspec
- New-MachineGroupByTag.ps1
Version History
Version | Downloads | Last updated |
---|---|---|
1.1 (current version) | 188 | 5/29/2018 |
1.0 | 27 | 5/2/2018 |