[python-win32] disable network interface

2010-06-10 Thread pacopyc pacopyc
Excuse me, I'd like to disable network interface of a remote host. I'm thinking to use Win32_NetworkAdapter. What do you think? How can I do? Is it possible disable network interface? Can you help me? I found in Internet this code: import wmi; c = wmi.WMI() o = c.query(select * from

Re: [python-win32] disable network interface

2010-06-10 Thread Tim Golden
On 10/06/2010 07:51, pacopyc pacopyc wrote: Excuse me, I'd like to disable network interface of a remote host. I'm thinking to use Win32_NetworkAdapter. Isn't that rather like sawing off the branch you're sitting on? What do you think? How can I do? Is it possible disable network interface?

Re: [python-win32] disable network interface

2010-06-10 Thread pacopyc pacopyc
Ok, thank you. But I'd like to block network access to a remote host while it is working ... without execute shutdown. Is it possible? I want that it could continue working but without network access. ___ python-win32 mailing list python-win32@python.org