- $members = "RAdmin"
- Remove-LocalGroupMember -Group "Users" -Member $members
Remove user from usergroup independent of language settings
Forum rules
Do not post any licensing information in this forum.
Any code longer than three lines should be added as code using the 'Select Code' dropdown menu or attached as a file.
This forum is a space to discuss coding in PowerShell, and technical issues related to development.
- Question about a licensed SAPIEN product? Post here: Product Support for Registered Users
- Question about a trial SAPIEN product? Post here: Former and Future Customers - Questions
Do not post any licensing information in this forum.
Any code longer than three lines should be added as code using the 'Select Code' dropdown menu or attached as a file.
This forum is a space to discuss coding in PowerShell, and technical issues related to development.
- Question about a licensed SAPIEN product? Post here: Product Support for Registered Users
- Question about a trial SAPIEN product? Post here: Former and Future Customers - Questions
Remove user from usergroup independent of language settings
Hi all, I want to remove member "RAdmin" from "Users" group and the below code works. Problem is if the language settings on system is in another language than english it does not work, for example if it is "Benutzer" (German) or "Usuarios" (Spanish). Please let me know how to handle this issue.