1
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

logman query は古い

1
Posted at

Microsoft が古いといっているわけではなく自分の知識が古いだけです

ずっと logman query が必要だと思っていましたが、Windows Server 2016 の頃から以下のようなモジュールが使えるらしいです。

以下のように使います。

Get-SMPerformanceCollector -CollectorName "Server Manager Performance Monitor"

出力はシンプルです。

Stopped

開始する場合は Start-SMPerformanceCollector が使えます。

これで logman query の出力を自力でパースする必要が無くなる。

1
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?