Access WMI via Python from Linux

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了Access WMI via Python from Linux相关的知识,希望对你有一定的参考价值。

 

 

You can use Impacket (https://github.com/CoreSecurity/impacket) that has WMI implemented in Python.

There are two examples that might be useful:

1) https://github.com/CoreSecurity/impacket/blob/master/examples/wmiquery.py: It allows to issue WQL queries and get description of the objects

2) https://github.com/CoreSecurity/impacket/blob/master/examples/wmiexec.py: A similar approach to psexec but executing commands through WMI

以上是关于Access WMI via Python from Linux的主要内容,如果未能解决你的问题,请参考以下文章

MS Access 对 Oracle VIA ODBC 的直通查询

ranger kafka - Authorizing Kafka access over non-authenticated channel via Ranger

myeclispe2014启动后报错 Subclipse talks to Subversion via a Java API that requires access to native libra

Python WMI

python_way ,day25 wmi

Python用WMI模块获取windowns系统信息