![“Windows wmic”和“Windows 注册表”有什么区别?](https://linux22.com/image/1284360/%E2%80%9CWindows%20wmic%E2%80%9D%E5%92%8C%E2%80%9CWindows%20%E6%B3%A8%E5%86%8C%E8%A1%A8%E2%80%9D%E6%9C%89%E4%BB%80%E4%B9%88%E5%8C%BA%E5%88%AB%EF%BC%9F.png)
通过 Windows 管理规范命令行 (wmic) 提供的所有信息是否也可以通过 Windows 注册表 (regedit) 提供?
它们之间主要有什么区别?
答案1
答案2
注册表是所有 Windows 设置的数据库。
WMIC 是控制 Windows 管理规范的命令行界面。
“WMI 是 Microsoft 对分布式管理任务组 (DMTF) 的基于 Web 的企业管理 (WBEM) 和通用信息模型 (CIM) 标准的实现。”
由于这也相关:
Key features of WBEM technology include:
remote management of applications
management of several instances of an application as a single unit
standard interface for remote application management across different applications
decoupling of application management from the client
"publishing" of key information about an application to other applications.
换句话说,它在功能上与 SNMP 非常相似:网络管理。
http://en.wikipedia.org/wiki/Windows_Registry
http://en.wikipedia.org/wiki/Windows_Management_Instrumentation
http://en.wikipedia.org/wiki/Web-Based_Enterprise_Management