Enable-VMInsightsPerfCounters

1.1

This script takes parameters: WorkspaceName and WorkspaceResourceGroupName
The Log Analytics Workspace is configured to collect counters used by VM Insights, see the variable $countersToAddJson for counters that are added.

For more info on Log Analytics Performance Counters, see:
https://docs.microsoft.com/en-us/azure/log-analytics/log-analytics-data-sources-performa
This script takes parameters: WorkspaceName and WorkspaceResourceGroupName
The Log Analytics Workspace is configured to collect counters used by VM Insights, see the variable $countersToAddJson for counters that are added.

For more info on Log Analytics Performance Counters, see:
https://docs.microsoft.com/en-us/azure/log-analytics/log-analytics-data-sources-performance-counters

Installation Options

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

Install-Script -Name Enable-VMInsightsPerfCounters

You can deploy this package directly to Azure Automation. Note that deploying packages with dependencies will deloy 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

Author(s)

dougbrad@microsoft.com

Owners

Functions

Get-CounterInConfiguredCounters

Dependencies

This script has no dependencies.

Version History

Version Downloads Last updated
1.1 (current version) 227 9/12/2018