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