I'm looking for a way to access the WMI (Windows Management Instrumantation) from a Pythonscript remotely from a Linux machine (CentOS 6)
Of course there is the python-wmi package, but it uses the Windows API which isn't available on Linux. I found the wmi-client-wrapper which should do something like that. But there is no documentation and even the example isn't working for me.
The reason why I want to do this, is because I want to get all Useraccounts on the System remotely and store them in a Database. Maybe you have any other tipps how to do that.
Thank you
wmicinstalled on your Linux box? Try runningwmic -U Administrator%password //192.168.1.149 "SELECT * FROM Win32_Processor". (This is the equivalent of the command from the wmi-client-wrapper example)