PowerShell – Get Boot Time of Computer

By | 2016-03-18

Show Date/Time Of Last Boot

​Get-WmiObject -class Win32_OperatingSystem | Select-Object __SERVER,@{label='LastBootUpTime';expression={$_.ConvertToDateTime($_.LastBootUpTime)}}

Leave a Reply

Your email address will not be published. Required fields are marked *