(22)
https://ja.linux-console.net/?p=12505
journalctl --list-boots
(12)
journalctl --list-boots
(RL9)
journalctl --list-boots
- Windows Server
(2022)
https://sp7pc.com/gadget/tips/62379
https://tex2e.github.io/blog/powershell/get-eventlog-logon-logoff
6005 イベント ログサービス開始
6006 イベント ログサービス停止
7001 ログインした日時
7002 ログアウトした日時
Get-EventLog System -After (Get-Date).AddDays(-7) | `
where { $_.InstanceId -in (7002) } | `
Sort-Object -Property Index | `
Select-Object TimeGenerated, InstanceId, Message
Get-EventLog System -After (Get-Date).AddDays(-7) | `
where { $_.InstanceId -in (7001) } | `
Sort-Object -Property Index | `
Select-Object TimeGenerated, InstanceId, Message