Forum Discussion
PRIME_FIRE
Apr 13, 2021Copper Contributor
Get-SMBShareAccess
Hi Everyone, I am now to Powershell and just joined this Page today Excuse me for my questions if they don't make any Sense I am here to learn. I was trying to use this Powershell " Get-SmbShareAcce...
- Apr 14, 2021
Thank you. I kept on digging and found now to use to separate commands in one go.
Get.SmbShare I Get-SmbshareAccess >> c:/ sambshare.TXT
It gave me all what I wanted.
Thankyou.
AndySvints
Apr 13, 2021Iron Contributor
Hello PRIME_FIRE,
From what I understand, first you need to get list of shares on the server using Get-FileShare cmdlet and then use Get-SMBShareAccess to get list of permissions.
Hope that helps.
- PRIME_FIREApr 14, 2021Copper Contributor
Thank you. I kept on digging and found now to use to separate commands in one go.
Get.SmbShare I Get-SmbshareAccess >> c:/ sambshare.TXT
It gave me all what I wanted.
Thankyou.