Today I show you a new script I tested a few days ago with win32com and Win32_LogonSession class, see the documentation. The Win32_LogonSession WMI class describes the logon session or sessions associated with a user logged on to a computer system running Windows. Let's see the script: import win32com.client from win32com.client import gencache strComputer = "." objWMIService =
from Planet Python
via read more
No comments:
Post a Comment