如何执行本地Mof文件以获取远程详细信息 [英] How to execute a local mof file to get remote details

查看:60
本文介绍了如何执行本地Mof文件以获取远程详细信息的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我的本​​地系统中有sample.mof文件.我可以在任何远程系统中执行相同的sample.mof文件并获取结果.

I have sample.mof file in my local system. Can I execute this same sample.mof file in any remote system and get the results.

推荐答案

不,您不能.它没有任何意义.首先,没有什么可以执行"的. MOF文件是带有CIM存储库中类描述的文本文件.它们可以由MOFComp.exe编译,而不执行.您的"sample.mof"文件可能与远程系统无关,尤其是与任何远程系统"无关.
这应该使您基本了解工作原理: http://en.wikipedia.org/wiki/Windows_Management_Instrumentation#WMI_tools [^ ].

—SA
No, you cannot. It does not make sense. First, there is nothing to "execute". MOF files are text files with description of the classes in CIM repository. They can be compiled by MOFComp.exe, not executed. You "sample.mof" file probably has nothing to do with remote system, especially with "any remote system".
This should give you basic idea how things work: http://en.wikipedia.org/wiki/Windows_Management_Instrumentation#WMI_tools[^].

—SA


这篇关于如何执行本地Mof文件以获取远程详细信息的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆