Would you like to learn how to verify the computer uptime using the command-line on a computer running Windows? In this tutorial, we are going to show you how to check the computer uptime using the command-line on Windows.

• Windows 2012 R2
• Windows 2016
• Windows 2019
• Windows 10
• Windows 7

Equipment list

The following section presents the list of equipment used to create this tutorial.

As an Amazon Associate, I earn from qualifying purchases.

Windows Related Tutorial:

On this page, we offer quick access to a list of tutorials related to Windows.

Tutorial Windows – Verify the computer last boot time

Start a new command-line prompt.

Windows - Command-line prompt

Check the computer uptime.

Copy to Clipboard

Here is the command output.

Copy to Clipboard

A line will show the computer uptime.

Optionally, filter the command output to show only the line with the computer uptime.

Copy to Clipboard

Here is the command output.

Copy to Clipboard

Change the filter text to fit your language.

Verify the computer uptime using the NET command.

Copy to Clipboard

Here is the command output.

Copy to Clipboard

A line will show the computer uptime.

Optionally, filter the command output to show only the line with the computer uptime.

Copy to Clipboard

Here is the command output.

Copy to Clipboard

Change the filter text to fit your language.

In our example, we verified the uptime of a computer running Windows using the command-line.

Check the uptime of a remote computer.

Copy to Clipboard

Here is the command output.

Copy to Clipboard

Change the filter text to fit your language.

Congratulations! You are able to verify the computer last boot time using the command-line.

Tutorial Windows – Verify the computer uptime

Start a new Powershell command-line.

Start Powershell

Check the computer uptime using Powershell.

Copy to Clipboard

Here is the command output.

Copy to Clipboard

Verify the computer uptime using Powershell.

Copy to Clipboard

Here is the command output.

Copy to Clipboard

Use a Powershell script to verify the computer uptime.

Copy to Clipboard

Here is the command output.

Copy to Clipboard

Get the computer last boot time.

Copy to Clipboard

Here is the command output.

Copy to Clipboard

Verify the computer last boot time.

Copy to Clipboard

Here is the command output.

Copy to Clipboard

Congratulations! You are able to verify the computer uptime using Powershell.