Get the time when a computer is booted.
Get the time when a computer is booted.
Get-LastBootTime [[-ComputerName] <String[]>] [[-Credential] <PSCredential>] [<CommonParameters>]
Get-LastBootTime -ComputerName Windows7x64
ComputerName LastBootTime
------------ ------------
Windows7x64 8/21/2016 3:25:29 PM