Submit a ticketCall us

Solarwinds & Cisco Live! Barcelona
Join us from the 29th of January to the 2nd of February at Cisco Live 2018 in Barcelona, where we will continue to show how monitoring the network with SolarWinds will keep you ahead of the game. At our booth (WEP 1A), we will demonstrate how SolarWinds network solutions can help. As a bonus, we are also hosting a pre-event webinar - Blame the Network, Hybrid IT Edition with our SolarWinds Head Geek™, Patrick Hubbard on January 24th - GMT (UTC+0): 10:00 a.m. to 11:00 a.m. There's still time to RSVP.

Home > Success Center > Network Performance Monitor (NPM) > Check the LastBootUpTime WMI on the target server

Check the LastBootUpTime WMI on the target server

Updated May 9, 2017

Overview

This article describes how to check the LastBootUpTime WMI on the target server using Windows Powershell or the WBEMTest tool.

Environment

All NPM versions on a Windows Server

Steps

Windows PowerShell

  1. Establish a remote connection to the server.
  2. Open the Windows PowerShell program as an administrator.
  3. Edit the following script, and then click Enter:
    $Booted = (Get-WmiObject Win32_OperatingSystem).LastBootUpTime
    [Management.ManagementDateTimeConverter]::ToDateTime($Booted)
    ​​​​​​

WBEMTest

  1. Establish a remote connection to the server, and then open the WBEMTest tool.
  2. Click Connect... > Connect > Query... 
  3. Enter the following query: 
    SELECT LastBootUpTime FROM Win32_OperatingSystem
  4. Click Apply.
  5. Double-click the object query result.
  6. Scroll down to search the LastBootUpTime item.

 

Disclaimer: Please note, any content posted herein is provided as a suggestion or recommendation to you for your internal use. This is not part of the SolarWinds software or documentation that you purchased from SolarWinds, and the information set forth herein may come from third parties. Your organization should internally review and assess to what extent, if any, such custom scripts or recommendations will be incorporated into your environment.  You elect to use third party content at your own risk, and you will be solely responsible for the incorporation of the same, if any.

 

Last modified

Tags

Classifications

Public