winrm命令运行事件WQL查询 [英] winrm command to run an event WQL query

查看:214
本文介绍了winrm命令运行事件WQL查询的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我使用wbemtest工具的通知查询来订阅CIM指示,例如 - 从xxxx_AlertIndication选择*。

I use wbemtest tool's notification query  to subscribe to CIM indications, for example - Select * from xxxx_AlertIndication.

我想使用命令行执行相同操作。我无法找到相应的winrm命令。

I want to do the same using a command-line. I am not able to find equivalent winrm command for that.

您能否提供一些输入来查找非PowerShell命令来订阅/收听CIM指示?

Can you please provide some inputs to find a non-PowerShell command to subscribe/listen to CIM indications ?

谢谢

Vibha

推荐答案

您好Vibha,

Hi Vibha,

感谢您在此发帖。

>>" 您能提供一些输入来查找非-PowerShell命令订阅/收听CIM指示"

>>" Can you please provide some inputs to find a non-PowerShell command to subscribe/listen to CIM indications "

根据我的搜索,我找不到解决问题的好方法。也许power shell很好。

Based on my search, I cannot find a good way to solve it. Maybe power shell is good.

据我所知,从Windows PowerShell 3.0开始,Microsoft引入了CIM cmdlet来处理支持基于标准的管理的设备。在早期版本的PowerShell中,WMI cmdlet用于从
WMI类访问管理信息;但是,WMI cmdlet使用旧版DCOM进行远程过程调用(RPC)。因此,这些cmdlet不能用于管理非Windows系统,并且不适合防火墙。借助CIM cmdlet,Microsoft添加了对基于WS-Management的
通信的支持。使用CIM cmdlet,现在可以管理符合CIM的Windows和非Windows系统。

As far as I know that Starting with Windows PowerShell 3.0, Microsoft introduced CIM cmdlets to work with devices that support standards-based management. In the earlier versions of PowerShell, WMI cmdlets were used to access the management information from WMI classes; however, the WMI cmdlets used legacy DCOM for Remote Procedure Calls (RPC). Therefore, these cmdlets could not be used to manage non-Windows systems and are not firewall-friendly. With CIM cmdlets, Microsoft added support for WS-Management-based communication. Using the CIM cmdlets, it is now possible to manage both Windows and non-Windows systems that are CIM-compliant.

最好的问候,

Hart


这篇关于winrm命令运行事件WQL查询的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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