Tag: users
66 script(s) tagged “users”
Win32_NetworkLoginProfile: Sorting Network Login Profiles (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…
Get Local Groups Report to File (VBScript)
Queries Win32_Group via WMI and writes Local Groups to a timestamped text file, handy for scheduled logon/logoff script…
Export Network Login Profiles to CSV (Batch)
Uses wmic to export Network Login Profiles (Win32_NetworkLoginProfile) to a timestamped CSV file.
Export Local Groups to CSV (Batch)
Uses wmic to export Local Groups (Win32_Group) to a timestamped CSV file.
Win32_Group: Local Groups (WQL)
A minimal WQL reference query against Win32_Group — the raw SELECT statement plus a one-line runner, useful for learnin…
Get Network Login Profiles Report (C#)
Queries Win32_NetworkLoginProfile via WMI (System.Management) and prints Network Login Profiles to the console.
Win32_Group: Finding Associated Objects (WQL ASSOCIATORS OF)
Demonstrates Get-CimAssociatedInstance, the modern CIM equivalent of WQL's ASSOCIATORS OF syntax, against a Win32_Group…
Get Network Login Profiles Report
Queries Win32_NetworkLoginProfile via WMI and reports Network Login Profiles in a formatted table, with an optional CSV…
Export Local User Accounts to CSV (Python)
Exports Local User Accounts (Win32_UserAccount) to a timestamped CSV file via wmic.
Win32_NetworkLoginProfile: Finding Associated Objects (WQL ASSOCIATORS OF)
Demonstrates Get-CimAssociatedInstance, the modern CIM equivalent of WQL's ASSOCIATORS OF syntax, against a Win32_Netwo…
Win32_UserAccount: Discovering Available Properties (Get-CimClass)
Uses Get-CimClass to list every real property and method Win32_UserAccount exposes on the current system, instead of gu…
Get Network Login Profiles Report to File (VBScript)
Queries Win32_NetworkLoginProfile via WMI and writes Network Login Profiles to a timestamped text file, handy for sched…