関連する ProductVersion とともに I/O 読み取りが多いプロセスのリストを取得しようとしています。コードは次のようになります。
$counter = "\Process*\IO Read Operations/sec"
get-counter | ? {$counter -gt 10} | gps | select name,productversion,reads
出力は次のようになります。
Name ProductVersion Reads
----- -------------- -----
p1 16.1.723.2342 15.98324
p2 12.3.234.1231 11.34323