1
A
回答
4
您可以運行systeminfo
命令和輸出重定向到一個文件:
systeminfo > %computername%-systeminfo.txt.
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 domain\user /P password /FO TABLE
SYSTEMINFO /S system /FO LIST
SYSTEMINFO /S system /FO CSV /NH
相關問題
- 1. 如何使用Windows批處理文件獲取Python位置?
- 2. 如何使用windows批處理文件獲取UTC時間
- 3. Windows批處理文件匹配
- 4. 如何從另一個批處理文件調用Windows批處理文件
- 5. 在Windows批處理文件中捕獲響應
- 6. 如何編寫Windows批處理文件
- 7. 如何在Windows批處理文件
- 8. 如何從批處理文件中調用批處理文件?
- 9. 如何從批處理文件調用批處理文件
- 10. 批處理文件的Windows
- 11. Windows批處理文件
- 12. 如何使用批處理文件獲取可用硬盤空間?
- 13. 如何使用lftp批處理文件獲取特定文件
- 14. 批處理文件的IP配置
- 15. Windows批處理文件處理 - 循環
- 16. 如何使用批處理文件中的標誌調用批處理文件
- 17. 如何使用批處理文件
- 18. 如何使用批處理文件
- 19. 如何使用批處理文件
- 20. 如何使用批處理文件
- 21. 如何使用批處理文件
- 22. 如何在java中捕獲批處理文件錯誤
- 23. 如何使用批處理腳本從文本文件捕獲變量?
- 24. 如何在Windows批處理文件的命令行中捕獲'n'輸入?
- 25. 使用批處理文件通配符在Windows
- 26. 如何設置批處理文件
- 27. 如何使用批處理文件打開多個批處理文件
- 28. 使用批處理文件
- 29. 使用批處理文件
- 30. 使用批處理文件
你能比「硬件配置」更具體嗎?你想記錄什麼? – 2011-01-20 06:36:30