Forum Discussion

PRIME_FIRE's avatar
PRIME_FIRE
Copper Contributor
Apr 13, 2021
Solved

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-SmbShareAccess". My objective is to fetch all sms share an a server But this Permissions on it.

this cmdlets gives me Particular share Permission But I want All shares with All permission on it. I tried googling But didnot find anything.

 

Can anybody help me with that?

 

Thanks in Advance.

 

  • AndySvints 

    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.

2 Replies

    • PRIME_FIRE's avatar
      PRIME_FIRE
      Copper Contributor

      AndySvints 

      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.

Resources