CmdID / PowerShell / Cmdlets / Get
Get-SmbShareAccess
Retrieves the ACL of the SMB share. Windows Server PowerShell reference
From the Windows Server PowerShell reference 9 parameters Its page in the reference
Parameters
-AsJobRuns the cmdlet as a background job.-CimSession, -SessionRuns the cmdlet in a remote session or on a remote computer.-InputObjectSpecifies the input object that is used in a pipeline command.-NameSpecifies the name of the SMB share for which the access rights are retrieved.-ScopeNameSpecifies the scope of the share by name.-SmbInstanceSpecifies the input to this cmdlet.-ThrottleLimitSpecifies the maximum number of concurrent operations that can be established to run the cmdlet.-Confirm, -cfPrompts you for confirmation before running the cmdlet.-WhatIf, -wiShows what would happen if the cmdlet runs.