🖥️ Batch (CMD)

Get Network Shares Report (Batch)

Uses wmic to list Network Shares (Win32_Share) straight from the command line.

By WindowsScripting.com · 286 B
GetShareReport.bat
@echo off
:: ============================================================
:: GetShareReport.bat
::
:: Reports Network Shares via WMI (Win32_Share).
:: ============================================================

wmic path Win32_Share get Name,Path,Description,Type /format:table

pause