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

    Finding Install Date of Windows

    IT Discussion
    windows
    3
    4
    771
    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.
    • Reid CooperR
      Reid Cooper
      last edited by

      Have a Windows 7 laptop here, does anyone know of a way to figure out when the OS was installed? Not critical, but interested to find out and not sure if that gets recorded anywhere.

      1 Reply Last reply Reply Quote 1
      • coliverC
        coliver
        last edited by scottalanmiller

        Need leading text...

        PS > $os = get-wmiobject win32_operatingsystem
        PS > $os.ConvertToDateTime($os.InstallDate) -f "MM/dd/yyyy"
        

        Edit: For some reason the code indent isn't working.

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

          Fixed it for you. The indent can't be the first line.

          coliverC 1 Reply Last reply Reply Quote 0
          • coliverC
            coliver @scottalanmiller
            last edited by

            @scottalanmiller said:

            Fixed it for you. The indent can't be the first line.

            Really? Wow that seems odd. I will remember that in the future.

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