This one-liner will get the Access Control List for each SMB share on the computer. If you wanted to do this for a list of computers, you could wrap this in an Invoke-Command.
Get-SmbShare | foreach {Get-SmbShareAccess -Name $_.Name}
This one-liner will get the Access Control List for each SMB share on the computer. If you wanted to do this for a list of computers, you could wrap this in an Invoke-Command.
Get-SmbShare | foreach {Get-SmbShareAccess -Name $_.Name}