Hi all, using powershell I can get info about any locked out users with
Get-WmiObject win32_useraccount -Filter "Lockout=True"
I'm having trouble figuring out how to translate this into Zabbix friendly terms, and today is the first I've heard of wmi namespaces unfortunately.
wmi.get[win32_useraccount,-filter "lockout=True] as a key doesn't work for me.
Does it need to be more like
http://www.powertheshell.com/referen...2_UserAccount/ is my reference
Get-WmiObject win32_useraccount -Filter "Lockout=True"
I'm having trouble figuring out how to translate this into Zabbix friendly terms, and today is the first I've heard of wmi namespaces unfortunately.
wmi.get[win32_useraccount,-filter "lockout=True] as a key doesn't work for me.
Does it need to be more like
wmi.get[root\cimv2,select Name from Win32_UserAccount where Lockout=$True] ?
Agent is running and giving me other data from the host.
Item is a nonactive type per the manual.
Agent is running and giving me other data from the host.
Item is a nonactive type per the manual.
http://www.powertheshell.com/referen...2_UserAccount/ is my reference