Configuring Data Collector Sets

When reviewing the performance of a server, I normally include a large set of performance counters. I configure the counters to collect multiple times every minute for an entire day. When finished, I have a complete picture of the performance of every aspect of the system for the day.

Windows includes a feature known as Data Collector Sets that allows us to define this configuration. Once defined, we can execute it locally or remotely, and it will run automatically for the predefined time frame.

In this recipe, we will be creating a basic Data Collector Set that will collect performance data from a system every 10 seconds for 24 hours. This data will be saved to the local filesystem in a format that can be accessed ...

Get Windows Server 2012 Automation with PowerShell Cookbook now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.