February 2019
Beginner to intermediate
542 pages
10h 34m
English
The PLA subsystem that you have been working with in this chapter has an additional system-defined report known as the System Diagnostic Report. This report monitors a system for a period then provides a detailed report on the server.
You use the SRV1 server that you have used in other recipes in this chapter.
$PerfReportName="System\System Diagnostics" $DataSet = New-Object -ComObject Pla.DataCollectorSet $DataSet.Query($PerfReportName,$null) $DataSet.Start($true)
"Sleeping for [$($Dataset.Duration)] seconds" Start-Sleep -Seconds $Dataset.Duration ...
Read now
Unlock full access