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.