Tag: users
66 script(s) tagged “users”
Win32_Group: Discovering Available Properties (Get-CimClass)
Uses Get-CimClass to list every real property and method Win32_Group exposes on the current system, instead of guessing…
Get Local User Accounts Report (Batch)
Uses wmic to list Local User Accounts (Win32_UserAccount) straight from the command line.
Get Local Groups Report (C#)
Queries Win32_Group via WMI (System.Management) and prints Local Groups to the console.
Get Network Login Profiles Report (VBScript)
Queries Win32_NetworkLoginProfile via WMI and prints Network Login Profiles to the console — no PowerShell required.
Win32_NetworkLoginProfile: Filtering Network Login Profiles (WQL WHERE)
Shows the WQL WHERE clause syntax against Win32_NetworkLoginProfile, starting from a LIKE '%' wildcard you customize wi…
Win32_NetworkLoginProfile: Discovering Available Properties (Get-CimClass)
Uses Get-CimClass to list every real property and method Win32_NetworkLoginProfile exposes on the current system, inste…
Get Local Groups Report (Python)
Uses wmic under the hood to report Local Groups (Win32_Group) — no third-party packages required.
Win32_Group: Sorting Local Groups (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…
Win32_Group: Event-Driven Monitoring (WQL __InstanceCreationEvent)
Subscribes to WMI's __InstanceCreationEvent for Win32_Group via Register-CimIndicationEvent — real WQL event query synt…
Get Local User Accounts Report
Queries Win32_UserAccount via WMI and reports Local User Accounts in a formatted table, with an optional CSV export.
Get Local Groups Report
Queries Win32_Group via WMI and reports Local Groups in a formatted table, with an optional CSV export.
Load Local User Accounts into Excel via WMI
Queries Win32_UserAccount via GetObject("winmgmts:") and dumps every Local User Accounts row straight onto the active w…