Dec-14-2018, 02:16 PM
(This post was last modified: Dec-14-2018, 02:21 PM by jeanMichelBain.)
My understanding of wmi is you cannot use it on linux, because it's a wrapper on a windows dll.
One way I see is to install cygwin, by this way you will have a linux emulation on your windows pc, et so you could be able to run a ssh server and eventually run python. Dirty, heavy, long, if it works.
May be openssh will give you a way to start a ssh server, good luck also to test it.
Another way, probably the best, is to start a python server process on windows (for instance, see : https://docs.python.org/fr/3/library/wsg...le-wsgiref), which can start other processes. It can be done by many ways, it depends of what you want. Tell us more.
Apologize, some package claims they are able to do wmi from linux.
But I didn't see them in the official packages, so take care of what they are and what they do exactly...
I wouldn't test it on own pc...
One way I see is to install cygwin, by this way you will have a linux emulation on your windows pc, et so you could be able to run a ssh server and eventually run python. Dirty, heavy, long, if it works.
May be openssh will give you a way to start a ssh server, good luck also to test it.
Another way, probably the best, is to start a python server process on windows (for instance, see : https://docs.python.org/fr/3/library/wsg...le-wsgiref), which can start other processes. It can be done by many ways, it depends of what you want. Tell us more.
Apologize, some package claims they are able to do wmi from linux.
But I didn't see them in the official packages, so take care of what they are and what they do exactly...
I wouldn't test it on own pc...