LoginSignup
2
6

More than 5 years have passed since last update.

Windows PowerShellでPCをシャットダウンしたイベントログを表示

Posted at

WindowsPCでシャットダウンした時のイベントログを見たかったのでPowerShellで挑戦した時のメモ。

Get-Eventlog system -After 2016/4/1 -befor 2016/4/27 |Where-Object {$_.eventid -eq 13}

「-After」と「-Befor」で検索期間を設定できる。
{$_.eventid -eq 13}でイベントログのidを指定。

2
6
1

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
2
6