WMI - invalid syntax error?
py
codecraig at gmail.com
Fri Dec 30 10:38:14 EST 2005
Tim Golden wrote:
> <code>
> import wmi
> wmi._DEBUG = True
>
> c = wmi.WMI ()
> # This will print a moniker looking something like this:
> #
> winmgmts:{impersonationLevel=Impersonate,authenticationLevel=Default}/ro
> ot/cimv2
> </code>
>
> and let me know what comes out.
I ran it twice, first it worked, second time it didnt...
winmgmts:{impersonationLevel=Impersonate,authenticationLevel=Default}/root/cimv2
winmgmts:{impersonationLevel=Impersonate,authenticationLevel=Default}/root/cimv2
..but same moniker. Something must be happening somewhere causing it
to get fouled up. I'm gonna try on a different PC.
More information about the Python-list
mailing list