The transition to NetApp MS Azure AD B2C is complete. If you missed the pre-registration, you will be invited to reigister at next log in.
Please note that access to your NetApp data may take up to 1 hour.
To learn more, read the FAQ and watch the video.
Need assistance? Complete this form and select “Registration Issue” as the Feedback Category.

Microsoft Virtualization Discussions

How to add the local controller "Power Users" group to every share on the same controller?

GeorgeZuggNC

How do I go about using powershell to add the local controller "Power Users" group to every share on the same controller?  I can do a single share like this {Set-NaCifsShareAcl -Share sharename -User "Power Users" -AccessRights Read} but I want to touch every share on this single controller.

2 REPLIES 2

GeorgeZuggNC

Is there a way to add the same user to every share on the same controller using powershell if I am the administrator or logged in as root?

markweber

get-nacifsshare | %{Set-NaCifsShareAcl -Share $_.sharename -User "Power Users" -AccessRights Read}

 

i don't have any 7-mode left to test that on, so ymmv

Announcements
NetApp on Discord Image

We're on Discord, are you?

Live Chat, Watch Parties, and More!

Explore Banner

Meet Explore, NetApp’s digital sales platform

Engage digitally throughout the sales process, from product discovery to configuration, and handle all your post-purchase needs.

NetApp Insights to Action
I2A Banner
Public