Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page
powershell equivalent to: "vserver cifs users-and-groups update-names"
2020-12-04
04:18 AM
2,378 Views
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
