Check Windows Uptime
Sometimes, you need to check the uptime of a Windows machine. Here's the Powershell command for that:
1 PS C:\> systeminfo|find "System Boot Time"
This was tested working under Windows 10 Pro and worth noting that it also works in the old cmd.
For other methods, see this article.