From e067b04ef3f61a741f8d719e28a5d7e34999172f Mon Sep 17 00:00:00 2001 From: Kapil Kukreja <37610242+Kapilhk@users.noreply.github.com> Date: Tue, 23 May 2023 15:24:12 +0530 Subject: [PATCH] Update Enable-AzureDiagnostics.ps1 --- AutomationAccountManagement/Enable-AzureDiagnostics.ps1 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/AutomationAccountManagement/Enable-AzureDiagnostics.ps1 b/AutomationAccountManagement/Enable-AzureDiagnostics.ps1 index 99777ba..8ed1592 100644 --- a/AutomationAccountManagement/Enable-AzureDiagnostics.ps1 +++ b/AutomationAccountManagement/Enable-AzureDiagnostics.ps1 @@ -4,7 +4,7 @@ .VERSION 1.1 .GUID 1ce8af29-11c2-4b5a-9548-d6bb359c5bf8 - +#a .AUTHOR AzureAutomationTeam .COMPANYNAME Microsoft @@ -141,4 +141,4 @@ Catch Set-AzureRmDiagnosticSetting -ResourceId $AutomationResource.ResourceId -StorageAccountId $StorageAccount.Id -Enabled $true -RetentionEnabled $true -RetentionInDays 180 # Enable the Automation Log Analytics solution -Set-AzureRmOperationalInsightsIntelligencePack -ResourceGroupName $LogAnalyticsResource.ResourceGroupName -WorkspaceName $LogAnalyticsResource.Name -Intelligencepackname AzureAutomation -Enabled $true \ No newline at end of file +Set-AzureRmOperationalInsightsIntelligencePack -ResourceGroupName $LogAnalyticsResource.ResourceGroupName -WorkspaceName $LogAnalyticsResource.Name -Intelligencepackname AzureAutomation -Enabled $true