WMI Class for NTFS Shares Permissions

Does anyone know the WMI Class that can get NTFS Shares and permissions on a computer where I can run the script on?  I know the Win32_Share class will get me all the shares, but it doesn't pick up the permissions on that share.

Who is Participating?
ansa45Connect With a Mentor Author Commented:

Thanks for the information.  Unfortunetly, that class didn't work.  However, I did find some other .Net classes I could use my in my application that worked.  I'm still using the WMI class Win32_Share to get my shared, but .Net classes to get the permissions.

Thank you though.
Bob LearnedCommented:
I believe that should be Win32_SecurityDescriptor.


Create Share and setup Share Permissions
Bob LearnedCommented:
It would be nice to know how you got it solved.
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.