Get SMB Shares

Description

Lists properties of mapped shares on the specified systems.

Overview

Discovers shares by querying the target computers using WMI.

Arguments

Parameter Type Description
Targets string[] A comma-separated list of domain names, IPs, or IP ranges to query for SMB shares.

Example Output

DESKTOP-LMCH70V Name   Path       Status Description
--------------- ----   ----       ------ -----------
                ADMIN$ C:\Windows OK     Remote Admin
                C$     C:\        OK     Default share
                IPC$              OK     Remote IPC
Scroll to Top