API Reference
Command
Get-CxSmbShare
Returns SMB share inventory for a computer.
Examples
Example 1: Lists local SMB shares.
PS>
Get-CxSmbShare
Example 2: Queries a file server and filters out the hidden administrative shares.
PS>
Get-CxSmbShare -ComputerName FS01 | Where-Object Name -notlike '*$'
Common Parameters
This command supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable.
For more information, see about_CommonParameters.