WMI Python, writing remotely and retrieving env variables values

Thierry Lam lamthierry at gmail.com
Fri Jan 12 16:38:45 EST 2007


I'm using the WMI library for python and I was able to connect to
another computer on the network with the following line:

c = wmi.WMI(computer="the-network-computer", user="hello",
password="hello")

Is there a way to write information to a file on that computer?

How do I read environment variables, for example SystemDrive?

Thierry




More information about the Python-list mailing list