QuickTip: PowerShell – Get the Last Boot Time for a Remote Computer

QuickTip: PowerShell – Get the Last Boot Time for a Remote Computer

Tweet about this on TwitterShare on Facebook0Share on LinkedIn0Share on Google+0Email this to someone

Let’s say that you want to check the last boot time for a remote computer. Try using this PowerShell command.

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

Tweet about this on TwitterShare on Facebook0Share on LinkedIn0Share on Google+0Email this to someone

Leave a Reply