🖥️ Batch (CMD)

Get Local Groups Report (Batch)

Uses wmic to list Local Groups (Win32_Group) straight from the command line.

By WindowsScripting.com · 281 B
GetGroupReport.bat
@echo off
:: ============================================================
:: GetGroupReport.bat
::
:: Reports Local Groups via WMI (Win32_Group).
:: ============================================================

wmic path Win32_Group get Name,Description,Domain /format:table

pause