ML
    • Recent
    • Categories
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login

    Windows Command Line Tools: System uptime

    IT Discussion
    server watch cli cmd tools
    4
    9
    2.1k
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • gjacobseG
      gjacobse
      last edited by

      Some dispute on the up time of a server

      C:\Users\user>systeminfo | find "System Boot Time"
      System Boot Time:          10/5/2015, 9:07:18 AM
      

      That settled it.

      1 Reply Last reply Reply Quote 2
      • scottalanmillerS
        scottalanmiller
        last edited by

        That doesn't work inside of a VM. It only tells you when the VM was started up, won't tell you if the system went down in the interim.

        1 Reply Last reply Reply Quote 1
        • scottalanmillerS
          scottalanmiller
          last edited by

          You'll need to look at the hypervisor if you want to know if you lost power, for example.

          1 Reply Last reply Reply Quote 0
          • gjacobseG
            gjacobse
            last edited by

            Good point.
            In this case that was the Host

            The actual DC shows this

            C:\Users\use>systeminfo | find "System Boot Time"
            System Boot Time:          11/21/2015, 6:20:01 PM
            
            1 Reply Last reply Reply Quote 1
            • nadnerBN
              nadnerB
              last edited by

              It appears that you are running this via powershell and not cmd. Is that correct?
              (Just thought I'd double check)

              MattSpellerM gjacobseG 2 Replies Last reply Reply Quote 0
              • MattSpellerM
                MattSpeller @nadnerB
                last edited by

                @nadnerB nope, cmd

                nadnerBN 1 Reply Last reply Reply Quote 2
                • scottalanmillerS
                  scottalanmiller
                  last edited by

                  For CMD try this one: net statistics workstation

                  1 Reply Last reply Reply Quote 0
                  • nadnerBN
                    nadnerB @MattSpeller
                    last edited by

                    @MattSpeller said:

                    @nadnerB nope, cmd

                    Cool! I didn't expect the | parameter to work in CMD.
                    New thing for today learned, going home.

                    1 Reply Last reply Reply Quote 1
                    • gjacobseG
                      gjacobse @nadnerB
                      last edited by

                      @nadnerB said:

                      It appears that you are running this via powershell and not cmd. Is that correct?
                      (Just thought I'd double check)

                      Yes via CMD

                      1 Reply Last reply Reply Quote 0
                      • 1 / 1
                      • First post
                        Last post