How do I get Windows uptime? systeminfo | find "System Boot Time:" shows the time it has been up since, but not for how long, that would need to be calculated separately. I need something like uptime -p on Linux but for Windows. If it's a shell command, then I'll run it via Python and grab the input. If there is a way in Python, what would be even better. (Task manager shows this in the Performance CPU tab). Thanks in advance!