windows下使用命令行(cmd)获取系统信息

使用  systeminfo 可以系统的一些信息,利用这个命令还可以得到远程机器的系统信息,

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

Description:
    This command line tool enables an administrator to query for basic
    system configuration information.

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/usage.

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

如下是我机器执行的结果:

Host Name:                 XXX
OS Name:                   Microsoft Windows XP Professional
OS Version:                5.1.2600 Service Pack 3 Build 2600
OS Manufacturer:           Microsoft Corporation
OS Configuration:          Standalone Workstation
OS Build Type:             Multiprocessor Free
Registered Owner:          XXX
Registered Organization:   XXX
Product ID:                76487-OEM-0011903-00102
Original Install Date:     6/18/2008, 8:49:10 AM
System Up Time:            0 Days, 1 Hours, 5 Minutes, 29 Seconds
System Manufacturer:       Dell Inc.                
System Model:              OptiPlex 745                 
System type:               X86-based PC
Processor(s):              1 Processor(s) Installed.
                           [01]: x86 Family 6 Model 15 Stepping 2 GenuineIntel ~2128 Mhz
BIOS Version:              DELL   – 14
Windows Directory:         C:WINDOWS
System Directory:          C:WINDOWSsystem32
Boot Device:               DeviceHarddiskVolume1
System Locale:             zh-cn;Chinese (China)
Input Locale:              en-us;English (United States)
Time Zone:                 (GMT+08:00) Beijing, Chongqing, Hong Kong, Urumqi
Total Physical Memory:     3,070 MB
Available Physical Memory: 1,946 MB
Virtual Memory: Max Size:  2,048 MB
Virtual Memory: Available: 1,995 MB
Virtual Memory: In Use:    53 MB
Page File Location(s):     C:pagefile.sys
Domain:                    WORKGROUP
Logon Server:              \HLY
Hotfix(s):                 444 Hotfix(s) Installed.
                           [01]: File 1
                           [02]: File 1
                           [03]: File 1
                           [04]: File 1
                           [05]: File 1
                           [06]: File 1
                           [07]: File 1
                           [08]: File 1
                           [09]: File 1
                           [10]: File 1
                           [11]: File 1
                           [12]: File 1
                           [13]: File 1
                           [14]: File 1
                           [15]: File 1
                           [16]: File 1
                           [17]: File 1
                           [18]: File 1
                           [19]: File 1
                           [20]: File 1
                           [21]: File 1
                           [22]: File 1
                           [23]: File 1
                           [24]: File 1
                           [25]: File 1
                           [26]: File 1
                           [27]: File 1
                           [28]: File 1
                           [29]: File 1
                           [30]: File 1
                           [31]: File 1
                           [32]: File 1
                           [33]: File 1
                           [34]: File 1
                           [35]: File 1
                           [36]: File 1
                           [37]: File 1
                           [38]: File 1
                           [39]: File 1
                           [40]: File 1
                           [41]: File 1
                           [42]: File 1
                           [43]: File 1
                           [44]: File 1
                           [45]: File 1
                           [46]: File 1
                           [47]: File 1
                           [48]: File 1
                           [49]: File 1
                           [50]: File 1
                           [51]: File 1
                           [52]: File 1
                           [53]: File 1
                           [54]: File 1
                           [55]: File 1
                           [56]: File 1
                           [57]: File 1
                           [58]: File 1
                           [59]: File 1
                           [60]: File 1
                           [61]: File 1
                           [62]: File 1
                           [63]: File 1
                           [64]: File 1
                           [65]: File 1
                           [66]: File 1
                           [67]: File 1
                           [68]: File 1
                           [69]: File 1
                           [70]: File 1
                           [71]: File 1
                           [72]: File 1
                           [73]: File 1
                           [74]: File 1
                           [75]: File 1
                           [76]: File 1
                           [77]: File 1
                           [78]: File 1
                           [79]: File 1
                           [80]: File 1
                           [81]: File 1
                           [82]: File 1
                           [83]: File 1
                           [84]: File 1
                           [85]: File 1
                           [86]: File 1
                           [87]: File 1
                           [88]: File 1
                           [89]: File 1
                           [90]: File 1
                           [91]: File 1
                           [92]: File 1
                           [93]: File 1
                           [94]: File 1
                           [95]: File 1
                           [96]: File 1
                           [97]: File 1
                           [98]: File 1
                           [99]: File 1
                           [100]: File 1
                           [101]: File 1
                           [102]: File 1
                           [103]: File 1
                           [104]: File 1
                           [105]: File 1
                           [106]: File 1
                           [107]: File 1
                           [108]: File 1
                           [109]: File 1
                           [110]: File 1
                           [111]: File 1
                           [112]: File 1
                           [113]: File 1
                           [114]: File 1
                           [115]: File 1
                           [116]: File 1
                           [117]: File 1
                           [118]: File 1
                           [119]: File 1
                           [120]: File 1
                           [121]: File 1
                           [122]: File 1
                           [123]: File 1
                           [124]: File 1
                           [125]: File 1
                           [126]: File 1
                           [127]: File 1
                           [128]: File 1
                           [129]: File 1
                           [130]: File 1
                           [131]: File 1
                           [132]: File 1
                           [133]: File 1
                           [134]: File 1
                           [135]: File 1
                           [136]: File 1
                           [137]: File 1
                           [138]: File 1
                           [139]: File 1
                           [140]: File 1
                           [141]: File 1
                           [142]: File 1
                           [143]: File 1
                           [144]: File 1
                           [145]: File 1
                           [146]: File 1
                           [147]: File 1
                           [148]: File 1
                           [149]: File 1
                           [150]: File 1
                           [151]: File 1
                           [152]: File 1
                           [153]: File 1
                           [154]: File 1
                           [155]: File 1
                           [156]: File 1
                           [157]: File 1
                           [158]: File 1
                           [159]: File 1
                           [160]: File 1
                           [161]: File 1
                           [162]: File 1
                           [163]: File 1
                           [164]: File 1
                           [165]: File 1
                           [166]: File 1
                           [167]: File 1
                           [168]: File 1
                           [169]: File 1
                           [170]: File 1
                           [171]: File 1
                           [172]: File 1
                           [173]: File 1
                           [174]: File 1
                           [175]: File 1
                           [176]: File 1
                           [177]: File 1
                           [178]: File 1
                           [179]: File 1
                           [180]: File 1
                           [181]: File 1
                           [182]: File 1
                           [183]: File 1
                           [184]: File 1
                           [185]: File 1
                           [186]: File 1
                           [187]: File 1
                           [188]: File 1
                           [189]: File 1
                           [190]: File 1
                           [191]: File 1
                           [192]: File 1
                           [193]: File 1
                           [194]: File 1
                           [195]: File 1
                           [196]: File 1
                           [197]: File 1
                           [198]: File 1
                           [199]: File 1
                           [200]: File 1
                           [201]: File 1
                           [202]: File 1
                           [203]: File 1
                           [204]: File 1
                           [205]: Q147222
                           [206]: M2416447 – Update
                           [207]: M979906 – Update
                           [208]: S867460 – Update
                           [209]: KB926601 – Update
                           [210]: KB937061 – Update
                           [211]: KB971023 – Update
                           [212]: KB971090 – Update
                           [213]: KB973673 – Update
                           [214]: Q936181
                           [215]: Q954430
                           [216]: Q973688
                           [217]: M828734 – Update
                           [218]: IDNMitigationAPIs – Update
                           [219]: NLSDownlevelMapping – Update
                           [220]: KB2447961_WM9L
                           [221]: KB954156_WM9L
                           [222]: KB979332_WM9L
                           [223]: KB929399
                           [224]: KB2378111_WM9
                           [225]: KB952069_WM9
                           [226]: KB954155_WM9
                           [227]: KB968816_WM9
                           [228]: KB973540_WM9
                           [229]: KB975558_WM8
                           [230]: KB978695_WM9
                           [231]: KB936782_WMP11
                           [232]: KB939683
                           [233]: KB954154_WM11
                           [234]: KB959772_WM11
                           [235]: KB925398_WMP64
                           [236]: KB936782_WMP9
                           [237]: KB941569
                           [238]: KB2183461-IE8 – Update
                           [239]: KB2360131-IE8 – Update
                           [240]: KB2416400-IE8 – Update
                           [241]: KB2482017-IE8 – Update
                           [242]: KB2497640-IE8 – Update
                           [243]: KB2510531-IE8 – Update
                           [244]: KB2530548-IE8 – Update
                           [245]: KB2544521-IE8 – Update
                           [246]: KB938127-IE7 – Update
                           [247]: KB950759-IE7 – Update
                           [248]: KB953838-IE7 – Update
                           [249]: KB956390-IE7 – Update
                           [250]: KB958215-IE7 – Update
                           [251]: KB960714-IE7 – Update
                           [252]: KB961260-IE7 – Update
                           [253]: KB963027-IE7 – Update
                           [254]: KB969897-IE8 – Update
                           [255]: KB971180-IE8 – Update
                           [256]: KB971961-IE8 – Update
                           [257]: KB972260-IE8 – Update
                           [258]: KB9744
                                                      
NetWork Card(s):           1 NIC(s) Installed.
                           [01]: Broadcom NetXtreme 57xx Gigabit Controller
                                 Connection Name: Local Area Connection
                                 DHCP Enabled:    Yes
                                 DHCP Server:     192.168.200.10
                                 IP address(es)
                                 [01]: 192.168.200.111

版权所有,禁止转载. 如需转载,请先征得博主的同意,并且表明文章出处,否则按侵权处理.

    分享到:

1 thought on “windows下使用命令行(cmd)获取系统信息

Leave a Reply

Your email address will not be published. Required fields are marked *