Microsoft Virtualization Discussions

powershell equivalent to: "vserver cifs users-and-groups update-names"

DidierW

Hi,

Is there a powershell toolkit equivalent to this command:

"vserver cifs users-and-groups update-names"

Thanks a lot for any help!

Didier

2 REPLIES 2

aladd

Hello @DidierW ,

 

Not sure if these are what you're looking for, it may depend on exactly what you are looking to accomplish in the environment.

 

add-NcCifsLocalGroupMember - Add local users or Active Directory users or groups to a local group.

Set-NcCifsLocalUser - Modify a CIFS local user

Set-NcCifsLocalGroup - Modify a CIFS local group

 

Hope this helps!

DidierW

Hi,

Sorry it took me some while to respond.

Thank you for replying!

Actually, I don't need to add/remove users/groups in local groups.

I want to refresh the names of Active Directory users and groups which are regularly out of sync on ACLs.

f.ex. someone changed Group names in ActiveDirectory but on the Netapp CIFS volume, their ACL still contains old names. So I need to run the command via ssh "vserver cifs users-and-groups update-names" to refresh the ontap cache DB, it would be nice if you could do the same via Powershell.

 

Kind regards,

Didier

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