Enable-AzureRMDiagnostics

2.52

This script takes a SubscriptionID, ResourceType, ResourceGroup and a workspace ID as parameters, analyzes the subscription or
specific ResourceGroup defined for the resources specified in $Resources, and enables those resources for diagnostic metrics
also enabling the workspace ID for the OMS workspace to receive these metrics.

The owner has unlisted this package. This could mean that the script is deprecated or shouldn't be used anymore.

Installation Options

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

Install-Script -Name Enable-AzureRMDiagnostics -RequiredVersion 2.52

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

Copyright

Microsoft

Package Details

Author(s)

  • jbritt@microsoft.com

Functions

Get-ResourceType Set-Resource Add-IndexNumberToArray

Dependencies

This script has no dependencies.

Release Notes

September 14, 2017 Fixes
Fixed Logic in initial authentication check for Azure Login.
Thank you Paul!
https://blogs.technet.microsoft.com/msoms/2017/01/17/enable-azure-resource-metrics-logging-using-powershell/#comment-62455
Updated minor try / catch logic

FileList

Version History

Version Downloads Last updated