Add-LocalUserMembership
PackageDeployment Module Help |
Package Deployment Module |
Add-LocalUserMembership Cmdlet |
Version 4.0.0.5 |
Add-LocalUserMembership
Synopsis
Add User Account to Multiple Local Groups
Syntax
Add-LocalUserMembership [-User] <String> [-Group] <String[]> [[-Context] <String>] [-ContinueOnError] [<CommonParameters>]
Description
Use this command to add a user account to multiple local groups.
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[]> |
||||||
Displays the local groups to which you want to add the specified local user. |
||||||
|
-User <String> |
||||||
Enter the local user. |
||||||
|
<CommonParameters> |
For more information about common parameters, type "Get-Help about_CommonParameters". |