Solved

need to determine a server build date remotely

Posted on 2013-01-04
6
702 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
Comment Utility
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
Comment Utility
I saw that but how would i write the entire command?
0
 
LVL 37

Expert Comment

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

Open in new window

0
Find Ransomware Secrets With All-Source Analysis

Ransomware has become a major concern for organizations; its prevalence has grown due to past successes achieved by threat actors. While each ransomware variant is different, we’ve seen some common tactics and trends used among the authors of the malware.

 
LVL 35

Accepted Solution

by:
Ernie Beek earned 500 total points
Comment Utility
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
Comment Utility
Thanks dude.
0
 
LVL 35

Expert Comment

by:Ernie Beek
Comment Utility
My pleasure mate:)

Thx 4 the points.
0

Featured Post

How to improve team productivity

Quip adds documents, spreadsheets, and tasklists to your Slack experience
- Elevate ideas to Quip docs
- Share Quip docs in Slack
- Get notified of changes to your docs
- Available on iOS/Android/Desktop/Web
- Online/Offline

Join & Write a Comment

[b]Ok so now I will show you how to add a user name to the description at login. [/b] First connect to your DC (Domain Controller / Active Directory Server) SET PERMISSIONS FOR SCRIPT TO UPDATE COMPUTER DESCRIPTION TO USERNAME 1. Open Active …
Synchronize a new Active Directory domain with an existing Office 365 tenant
This tutorial will walk an individual through the process of transferring the five major, necessary Active Directory Roles, commonly referred to as the FSMO roles to another domain controller. Log onto the new domain controller with a user account t…
This tutorial will walk an individual through the process of configuring their Windows Server 2012 domain controller to synchronize its time with a trusted, external resource. Use Google, Bing, or other preferred search engine to locate trusted NTP …

763 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

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now