Get-SmbShare
SafeList/create SMB shares
Get-SmbShare
Lists shares; New-SmbShare creates them; Get-SmbSession shows who's connected.
Examples
Get-SmbShare | ft Name,PathShares with their paths
Syntax
Get-SmbShare / New-SmbShare -Name n -Path p -FullAccess g
Before you run it
Listing is safe; design ACLs when creating.
The same reference, with no signal at all
Every command and flow from this site, held on your device and searchable with no connection. Free to install, no ads.
Get it free on the App Store