Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

need to determine a server build date remotely

Posted on 2013-01-04
6
Medium Priority
?
742 Views
Last Modified: 2013-01-04
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?
0
Comment
Question by:Jason Thomas
  • 3
  • 2
6 Comments
 
LVL 35

Expert Comment

by:Ernie Beek
ID: 38743417
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
 
LVL 1

Author Comment

by:Jason Thomas
ID: 38743420
I saw that but how would i write the entire command?
0
 
LVL 37

Expert Comment

by:Neil Russell
ID: 38743431
From Powershell you can just use....
([WMI]'').converttodatetime((Get-WmiObject -ComputerName "RemoteServerName" win32_OperatingSystem).installdate)

Open in new window

0
Fill in the form and get your FREE NFR key NOW!

Veeam is happy to provide a FREE NFR server license to certified engineers, trainers, and bloggers.  It allows for the non‑production use of Veeam Agent for Microsoft Windows. This license is valid for five workstations and two servers.

 
LVL 35

Accepted Solution

by:
Ernie Beek earned 2000 total points
ID: 38743438
Something like:

systeminfo /s server.domain.com /u domain\username /p password | find /i "install date"
0
 
LVL 1

Author Closing Comment

by:Jason Thomas
ID: 38743471
Thanks dude.
0
 
LVL 35

Expert Comment

by:Ernie Beek
ID: 38743494
My pleasure mate:)

Thx 4 the points.
0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

After seeing many questions for JRNL_WRAP_ERROR for replication failure, I thought it would be useful to write this article.
Compliance and data security require steps be taken to prevent unauthorized users from copying data.  Here's one method to prevent data theft via USB drives (and writable optical media).
This video shows how to use Hyena, from SystemTools Software, to bulk import 100 user accounts from an external text file. View in 1080p for best video quality.
Sometimes it takes a new vantage point, apart from our everyday security practices, to truly see our Active Directory (AD) vulnerabilities. We get used to implementing the same techniques and checking the same areas for a breach. This pattern can re…

783 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question