CmdID / PowerShell / Cmdlets / Get
Get-SmbShare
Retrieves the SMB shares on the computer. Windows Server PowerShell reference
From the Windows Server PowerShell reference 22 parameters Its page in the reference
Parameters
Show its 22 parameters
-AsJobRuns the cmdlet as a background job.-AvailabilityTypeSpecifies the cluster type of the shares being enumerated.-CachingModeSpecifies the caching mode of the offline files for the SMB share.-CATimeoutSpecifies the continuous availability time-out of the SMB share.-CimSession, -SessionRuns the cmdlet in a remote session or on a remote computer.-CompressDataIndicates that the shares being enumerated should request compression from clients.-ConcurrentUserLimitSpecifies the concurrent user limit of the shares being enumerated.-ContinuouslyAvailableIndicates that the shares being enumerated should be continuously available.-EncryptDataIndicates that the shares being enumerated should be encrypted.-FolderEnumerationModeSpecifies the folder enumeration mode of the shares being enumerated.-IncludeHiddenIndicates that shares that are created and used internally are also enumerated.-IsolatedTransportTreats this share to be a distinct file server instance.-LeasingModeSpecifies SMB leasing and oplock behaviors for application compatibility.-NameSpecifies one or more SMB shares by share name.-QoSFlowScopeSpecifies the Quality of Service (QoS) flow scope for the SMB share.-QoSPolicyIdSpecifies the QoS policy ID for the SMB share.-ScopeNameSpecifies the scope of the share by name.-ScopedIndicates that the shares to be numerated should be scoped.-ShareStateSpecifies the state of the shares being enumerated.-SmbInstanceSpecifies the SMB share instance type.-SpecialIndicates that the shares to be numerated should be special.-ThrottleLimitSpecifies the maximum number of concurrent operations that can be established to run the cmdlet.