list all shared folders a user has acces to

celmajj
celmajj used Ask the Experts™
on
Dear All,

I have shared folders on my server and a couple of users have access to the shared folders. I need, from a username to get a list of all shared folder the user have access to?.
I would like to do that with powershell, any help?

Thks

JJC
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
If you log into the server with each username - Go to network and click on the server - you will see the shares.

Author

Commented:
Thks. But this is not the answer I was expecting. I need to do this via a powershell script.
IT Infrastructure Architect
Commented:
You can use the script from TechNet to list shared folder permissions, and filter based on user name.

https://gallery.technet.microsoft.com/scriptcenter/Lists-all-the-shared-5ebb395a

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial