0
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?

More than 1 year has passed since last update.

WindowsでプロセスのIDや起動時刻などの詳細情報をファイルで取得したい

Last updated at Posted at 2022-11-25

やり方(とにかく全部)

コマンドプロンプトで下記。

全ての情報をテーブル形式のhtmlで出力
wmic process get /format:htable > C:\Users\d\task.html

出力されたhtmlファイルを開くと ↓ こんな感じ。
image.png

やり方(絞り込み)

  • 名前に『fire』を含むプロセスのみ。
  • 『Name』と『CreationDate』のカラムのみ。

という絞り込み。

コマンドプロンプトで下記。

絞り込みしてテーブル形式のhtmlで出力
wmic process where "name like '%fire%'" get Name, CreationDate /format:htable > C:\Users\d\task.html

出力されたhtmlファイルを開くと ↓ こんな感じ。
image.png

コピペ用

名前と起動時刻をcsvファイル出力
wmic process get Name, CreationDate /format:csv > tasklist.csv

参考サイトさん

バージョン

Windows 10 Pro 21H2 OSビルド 19045.2311

TODO: wmic /? でヘルプ見るとwmicが非推奨って出る。代替手段を探す。

0
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
0
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?