# Turn cluster performance history into an explicit PowerShell comparison

> How should a Storage Spaces Direct performance-history script define and interpret its comparison?

- Canonical URL: https://update.dsesecurity.com/updates/dse-20260908-110-turn-cluster-performance-history-into-an-explicit-powershell-comparison/
- Publisher: Detection Systems & Engineering (DSE Security)
- Author: DSE Security Editorial Team
- Published: 2026-09-08T18:15:21+00:00
- Modified: 2026-09-08T18:23:26+00:00
- Last reviewed by DSE: 2026-09-08
- Resource type: Guide
- DSE priority: Information
- Topics: IT, Networks & Infrastructure
- Reading time: 1 minutes

## What you need to know

How should a Storage Spaces Direct performance-history script define and interpret its comparison?

## Potentially affected

Administrators analyzing Storage Spaces Direct performance history with PowerShell.

## DSE recommendation

Write the script’s comparison rule in plain language beside its parameters.

## Article

## Source facts

Microsoft shows performance-history output being piped from Get-ClusterPerf into Measure-Object to calculate statistics from the Value property. Its CPU example selects a named series and timeframe, then reports minimum, maximum, average, and time above chosen utilization thresholds. A separate example identifies drives whose hourly average latency exceeds the population average by more than three standard deviations. That is the example’s statistical selection rule. [Microsoft documentation](https://learn.microsoft.com/en-us/windows-server/storage/storage-spaces/performance-history-scripting).

## Applicability

Define the operational question, measured object set, metric, time window, and aggregation before using a sample. Review whether the selected interval contains the activity being investigated.

## DSE recommendation

Write the script’s comparison rule in plain language beside its parameters. Keep statistical outlier selection separate from a diagnosis of failed hardware. Have another administrator review units, object membership, and time selection, and preserve the raw output before formatting a report.

## Verification

Run the script against a small, understood object set and independently check one calculated value. Compare the results with the corresponding activity timeline. Record missing samples and excluded objects, and investigate an outlier using additional workload evidence before recommending a replacement or configuration change.

## Official references

[Microsoft Learn: Scripting with Storage Spaces Direct performance history](https://learn.microsoft.com/en-us/windows-server/storage/storage-spaces/performance-history-scripting). Source reviewed September 8, 2026.

## Primary reference

- Name: Scripting with Storage Spaces Direct performance history
- Authority: Microsoft Learn
- URL: https://learn.microsoft.com/en-us/windows-server/storage/storage-spaces/performance-history-scripting
- Source publication date: Not stated by the source

## Citation and use

Preferred citation: “Turn cluster performance history into an explicit PowerShell comparison,” DSE Security, https://update.dsesecurity.com/updates/dse-20260908-110-turn-cluster-performance-history-into-an-explicit-powershell-comparison/
Publishing principles: https://update.dsesecurity.com/updates/dse-updates-editorial-methodology/
Usage and citation policy: https://update.dsesecurity.com/usage/
Copyright © 2026 Detection Systems & Engineering. All rights reserved.
