Enable-AzureDiagnostics

1.1

This script configures Azure Diagnostics and Log Analytics to receive Azure Automation logs containing job status and job streams.
The logs will be sent from the specified Automation account to a generated storage account and OMS workspace.  

This script should run locally (outside of Azure Automation) and requires you to interactively authenticate to your Azure acc
This script configures Azure Diagnostics and Log Analytics to receive Azure Automation logs containing job status and job streams.
The logs will be sent from the specified Automation account to a generated storage account and OMS workspace.  

This script should run locally (outside of Azure Automation) and requires you to interactively authenticate to your Azure account.  
To use this script in Azure Automation, use a run-as account or an Automation credential to authenticate and remove all references to Read-Host.  
See https://azure.microsoft.com/en-us/documentation/articles/automation-sec-configure-azure-runas-account/ for more information on authentication to Azure.  


Show more

Installation Options

Copy and Paste the following command to install this package using PowerShellGet More Info

Install-Script -Name Enable-AzureDiagnostics

Copy and Paste the following command to install this package using Microsoft.PowerShell.PSResourceGet More Info

You can deploy this package directly to Azure Automation. Note that deploying packages with dependencies will deploy all the dependencies to Azure Automation. Learn More

Manually download the .nupkg file to your system's default download location. Note that the file won't be unpacked, and won't include any dependencies. Learn More

Owners

Package Details

Author(s)

  • AzureAutomationTeam

Tags

AzureAutomation OMS LogAnalytics

Functions

Validate-Resource

Dependencies

Release Notes

VERSION 1.1
EDIT BY JENNY HUNTER

FileList

Version History

Version Downloads Last updated
1.1 (current version) 323 9/12/2018
1.0 473 8/3/2016