BASH
Configurare email
Configurare software
Hardware
Linux
Linux Mint
Pentru tonti
Securitate
VMWARE
Windows
windows :: lista userilor logati
CAMSCAPE SERVICES Cristian M. |
Title | Lista userilor logati |
Tags | microsoft,user,log in | |
Desc. | Cine s-a logat si cand pe un server Microsoft | |
Code | KBWIN0003 v1.0 | |
Date | 13 decembrie 2013 |
Creati un fisier list.vbs cu urmatorul continut:
Set objWMIService = GetObject("winmgmts:\\.\root\cimv2")
Set colItems = objWMIService.ExecQuery("Select * from Win32_NetworkLoginProfile")
For Each objItem in colItems
if (objItem.UserType = "Normal Account") then
Wscript.Echo objItem.Name & " " & objItem.LastLogon
end if
Next
si rulati:
cscript.exe list.vbs