Add-LocalGroupMember
PackageDeployment Module Help |
Package Deployment Module |
Add-LocalGroupMember Cmdlet |
Version 4.0.0.5 |
Add-LocalGroupMember
Synopsis
Add Members to Local Group
Syntax
Add-LocalGroupMember [-Group] <String> [-Member] <String[]> [[-Context] <String>] [-ContinueOnError] [<CommonParameters>]
Description
Use this command to add members to a local group.
Using this command local groups can be defined by adding domain objects. Thus it is possible to create a group of workstation admins who are not domain admins at the same time.
Parameters
-Context <String> |
||||||
User: Execution under user account; logging in HKEY_CURRENT_USER, i.e. for the user. |
||||||
|
-ContinueOnError <SwitchParameter> |
||||||
Continues script execution in spite of errors in the respective command. |
||||||
|
-Group <String> |
||||||
Local group. |
||||||
|
-Member <String[]> |
||||||
Objects to add. |
||||||
|
<CommonParameters> |
For more information about common parameters, type "Get-Help about_CommonParameters". |