need to determine a server build date remotely

Hi, need to determine a server build date remotely. I know that using systeminfo | find /i "install date" identify the local server but is there a way of using the command for identifying remote server build dates?
LVL 1
Jason ThomasAsked:
Who is Participating?
 
Ernie BeekConnect With a Mentor ExpertCommented:
Something like:

systeminfo /s server.domain.com /u domain\username /p password | find /i "install date"
0
 
Ernie BeekExpertCommented:
Did you try /S ?

SYSTEMINFO [/S system [/U username [/P [password]]]] [/FO format] [/NH]

Description:
    This tool displays operating system configuration information for
    a local or remote machine, including service pack levels.

Parameter List:
    /S      system           Specifies the remote system to connect to.

    /U      [domain\]user    Specifies the user context under which
                             the command should execute.

    /P      [password]       Specifies the password for the given
                             user context. Prompts for input if omitted.

    /FO     format           Specifies the format in which the output
                             is to be displayed.
                             Valid values: "TABLE", "LIST", "CSV".

    /NH                      Specifies that the "Column Header" should
                             not be displayed in the output.
                             Valid only for "TABLE" and "CSV" formats.

    /?                       Displays this help message.

Examples:
    SYSTEMINFO
    SYSTEMINFO /?
    SYSTEMINFO /S system
    SYSTEMINFO /S system /U user
    SYSTEMINFO /S system /U domain\user /P password /FO TABLE
    SYSTEMINFO /S system /FO LIST
    SYSTEMINFO /S system /FO CSV /NH

Open in new window

0
 
Jason ThomasAuthor Commented:
I saw that but how would i write the entire command?
0
Has Powershell sent you back into the Stone Age?

If managing Active Directory using Windows Powershell® is making you feel like you stepped back in time, you are not alone.  For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why.

 
Neil RussellTechnical Development LeadCommented:
From Powershell you can just use....
([WMI]'').converttodatetime((Get-WmiObject -ComputerName "RemoteServerName" win32_OperatingSystem).installdate)

Open in new window

0
 
Jason ThomasAuthor Commented:
Thanks dude.
0
 
Ernie BeekExpertCommented:
My pleasure mate:)

Thx 4 the points.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.