Network Management
Check the LastBootUpTime WMI on the target server
How to check the LastBootUpTime WMI on the target server using Windows Powershell or WBEMTest.
First published date
Last published date
Overview
Product section
Resolution
Windows PowerShell
- Establish a remote connection to the server.
- Open the Windows PowerShell program as an administrator.
- Edit the following script, and then click Enter:
$Booted = (Get-WmiObject Win32_OperatingSystem).LastBootUpTime [Management.ManagementDateTimeConverter]::ToDateTime($Booted)
WBEMTest
- Establish a remote connection to the server, and then open the WBEMTest tool.
- Click Connect... > Connect > Query...
- Enter the following query:
SELECT LastBootUpTime FROM Win32_OperatingSystem
- Click Apply.
- Double-click the object query result.
- 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.