Forum Discussion
Sandeep_Poojary
Jun 12, 2021Copper Contributor
Diagnostics Settings Agent Deployment
I need to deploy the Diagnostics Settings across all the Azure Windows & Azure Linux Virtual Machines. Manual is a tedious tasks, Is there any option I can use automation to enable in across all...
- Jun 12, 2021PowerShell cmdlet: Set-AzDiagnosticSettings - could be a good place to start: https://docs.microsoft.com/en-us/powershell/module/az.monitor/set-azdiagnosticsetting?view=azps-6.0.0
https://docs.microsoft.com/en-us/azure/azure-monitor/essentials/diagnostic-settings?tabs=CMD
lukemurraynz
Jun 12, 2021Learn Expert
PowerShell cmdlet: Set-AzDiagnosticSettings - could be a good place to start: https://docs.microsoft.com/en-us/powershell/module/az.monitor/set-azdiagnosticsetting?view=azps-6.0.0
https://docs.microsoft.com/en-us/azure/azure-monitor/essentials/diagnostic-settings?tabs=CMD
https://docs.microsoft.com/en-us/azure/azure-monitor/essentials/diagnostic-settings?tabs=CMD
- lukemurraynzJun 12, 2021Learn ExpertAlso check out this Github repo for Azure Policy: https://github.com/JimGBritt/AzurePolicy/tree/master/AzureMonitor/Scripts