-
Notifications
You must be signed in to change notification settings - Fork 26
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Namespace Settings #3
Comments
I am not sure, but maybe what you need could be found in libwmiclient? https://github.com/kanzure/libwmiclient |
Hello, Thanks for the response, will test it, but does it still the python wrapper? I see that it imports wmi-1.3.14.tar.bz2, so my question is it still a python wrapper. In short, the documentation includes the following option: http://www.aldeid.com/wiki/Wmic-linux I don't quite understand the extensive library, and however I'm simply trying to include more options in my wmic:
Looking into the code, wrapper.py there is section which includes additional params. However, I'm not a develoepr and do not know how to include this: def _setup_params(self): Thanks in advance JS |
I got same error while using. do we need to edit the file to add namespace? |
Is this resolved? |
Well, this whole project is unmaintained. Volunteers welcome! |
Not sure if anyone cares, but putting this comment here for sake of someone finding this via a search. On line 22, change it to the following (default namespace is still root\CIMV2, add an extra \ for obvious reasons) :
To pass the parameter, the only issue is the syntax needs to be a little different. For OP (5 years ago, I get it), root/MicrosoftIISv2 will be passed in as: Lastly, not sure if it matters, but I deleted the pyc file once the change was made and recompile it. |
Hello,
Sweet little wrapper, just did not see any documentation for changing the namespace to which it connects.
Is there a way to change the name space? Example, I would like to connect to the namespace root/MicrosoftIISv2 instead of the default root/cimv2
Thanks
JS
The text was updated successfully, but these errors were encountered: