Skip to Main Content
Windows Server 2019 Automation with PowerShell Cookbook - Third Edition
book

Windows Server 2019 Automation with PowerShell Cookbook - Third Edition

by Thomas Lee
February 2019
Beginner to intermediate content levelBeginner to intermediate
542 pages
10h 34m
English
Packt Publishing
Content preview from Windows Server 2019 Automation with PowerShell Cookbook - Third Edition

Creating and using PLA data collector sets

In the previous two recipes, you retrieved individual counter objects either by using Get-Counter or via WMI. That works, but retrieving performance data is slow. It took over a minute and 40 seconds to retrieve the performance counters in a local machine's Memory counter set. Using these methods for large-scale performance data collection does not scale well.

The PLA subsystem provides an efficient mechanism to perform the data collection. PLA allows you to create a data collector set. This is an object representing the counters whose values you wish to collect. Once you create the data collector set, you can direct Windows to start collecting the data and to output it for later analysis. You have options ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Windows Server Automation with PowerShell Cookbook, Fifth Edition - Fifth Edition

Windows Server Automation with PowerShell Cookbook, Fifth Edition - Fifth Edition

Thomas Lee

Publisher Resources

ISBN: 9781789808537OtherErrata PagePurchase Link