Windowsの起動時刻取得(Powershell)
完全備忘...
PowerShellでWindowsの起動時刻取得する。
[Management.ManagementDateTimeConverter]::ToDateTime((Get-WmiObject Win32_OperatingSystem).LastBootUpTime)
意外と使うこれ。
完全備忘...
PowerShellでWindowsの起動時刻取得する。
[Management.ManagementDateTimeConverter]::ToDateTime((Get-WmiObject Win32_OperatingSystem).LastBootUpTime)
意外と使うこれ。