有没有一种方法可以在不使用 PowerShell 或 CIM Studio 的情况下查询 WMI?

发布于 2024-08-28 01:25:34 字数 82 浏览 4 评论 0原文

我想查询 WMI 以获取 WCF 服务信息,但我不想使用 PowerShell 或 CIM Studio。还有其他工具可以执行此操作(命令行也很酷)?

I'd like to query WMI for WCF service information, but I'd rather not use PowerShell or the CIM Studio. Any other tools for doing this (command-line is cool too)?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(3

爱*していゐ 2024-09-04 01:25:34

C:\Windows\System32\wbem\wbemtest.exe

在命令提示符或“开始”菜单中键入 wbemtest 以启动此 GUI 工具。

编辑:抱歉 - 没有注意到你特别提到了命令行。也许仍然有用。

C:\Windows\System32\wbem\wbemtest.exe

Type wbemtest in to a command prompt or the Start Menu to launch this GUI tool.

Edit: Sorry - didn't notice you said command-line specifically. Maybe useful none the less.

空心空情空意 2024-09-04 01:25:34

您可以尝试wmic。它对于交互式使用来说效果很好,但我更喜欢使用 vbscript 来编写脚本。

You could try wmic. It works well enough for interactive use, but I prefer to use vbscript for, well, scripts.

雪若未夕 2024-09-04 01:25:34

您可以使用 VBScript,但我不会推荐它,除非您已经非常熟悉它。

可以通过 PowerShell 和 VBScript 使用 WMI 的一些示例 此处

You could use VBScript, but I would not recommend it unless you are already quite familiar with it.

Some examples of using WMI via both PowerShell and VBScript can be found here.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文