Tag: users
66 script(s) tagged “users”
Win32_UserAccount: Filtering Local User Accounts (WQL WHERE)
Shows the WQL WHERE clause syntax against Win32_UserAccount, starting from a LIKE '%' wildcard you customize with a rea…
Export Local User Accounts to CSV via WMI (VBA)
Queries Win32_UserAccount via WMI and writes every Local User Accounts row straight to a CSV file in Documents, using p…
Win32_NetworkLoginProfile: Event-Driven Monitoring (WQL __InstanceCreationEvent)
Subscribes to WMI's __InstanceCreationEvent for Win32_NetworkLoginProfile via Register-CimIndicationEvent — real WQL ev…
Backup Local Groups to JSON (Python)
Snapshots Local Groups (Win32_Group) to a timestamped JSON file for later comparison or auditing.
Get Local Groups Report (Batch)
Uses wmic to list Local Groups (Win32_Group) straight from the command line.
Win32_UserAccount: Local User Accounts (WQL)
A minimal WQL reference query against Win32_UserAccount — the raw SELECT statement plus a one-line runner, useful for l…
Win32_UserAccount: Event-Driven Monitoring (WQL __InstanceCreationEvent)
Subscribes to WMI's __InstanceCreationEvent for Win32_UserAccount via Register-CimIndicationEvent — real WQL event quer…
Backup Local User Accounts List to JSON
Snapshots Local User Accounts from Win32_UserAccount to a timestamped JSON file for later comparison or auditing.
Backup Network Login Profiles to JSON (C#)
Snapshots Network Login Profiles (Win32_NetworkLoginProfile) to a timestamped JSON file via System.Management and Syste…
Backup Network Login Profiles List to JSON
Snapshots Network Login Profiles from Win32_NetworkLoginProfile to a timestamped JSON file for later comparison or audi…
Win32_UserAccount: Sorting Local User Accounts (WQL has no ORDER BY)
WQL has no ORDER BY clause — this shows the standard workaround of piping Get-CimInstance results through Sort-Object o…
Load Network Login Profiles into Excel via WMI
Queries Win32_NetworkLoginProfile via GetObject("winmgmts:") and dumps every Network Login Profiles row straight onto t…