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

Show more

Installation Options

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

Install-Script -Name Enable-VMInsightsPerfCounters

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)

  • dougbrad@microsoft.com

Functions

Get-CounterInConfiguredCounters

Dependencies

This script has no dependencies.

FileList

Version History

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