🖥️ Batch (CMD)
Get Local User Accounts Report (Batch)
Uses wmic to list Local User Accounts (Win32_UserAccount) straight from the command line.
GetUserAccountReport.bat
@echo off
:: ============================================================
:: GetUserAccountReport.bat
::
:: Reports Local User Accounts via WMI (Win32_UserAccount).
:: ============================================================
wmic path Win32_UserAccount get Name,FullName,Disabled,Lockout,LocalAccount /format:table
pause