Add-LocalGroupMember
Add-LocalGroupMember
Use this command to add new members to a local group. You can use this command to add both objects from the domain and local objects to existing local groups on the systems running the command. This makes it possible, for example, to form a group of "workstation administrators" who are not also domain administrators.
Settings:
- Group
The name of the group to which the objects are to be added. Select a group using the "..." button or enter the name of the group.
- Members
Names of the objects to be added to the group. Domain objects are referenced according to the scheme <DOMAIN>\<Object>, local objects only with their names. The "Add..." button allows you to display existing objects via a selection dialog.
You can make the following object types members:
- User accounts of the local system
- User accounts of the domain
- Computer accounts of the domain
- Global groups of the local domain
- Global groups from trusted domains
The command works language independent for the well known security identifiers and uses the SIDs of the objects internally.
Example:
The "Workstation-Admins" group of the SOLYS domain is added to the Local Administrators group.
Corresponds to DSM eScript commands:
- LocalGroupAddMembers
See also: