Adds a list of emails to a target group
Add-GSGroupMember [-Identity] <String> [-Member] <String> [-Role <String>] [<CommonParameters>]
Adds a list of emails to a target group. Designed for parity with Add-ADGroupMember
Adds 2 users to the group "[email protected]"
The email or GroupID of the target group to add members to
Type: String Parameter Sets: (All) Aliases: GroupEmail, Group, Email Required: True Position: 1 Default value: None Accept pipeline input: True (ByPropertyName, ByValue) Accept wildcard characters: False
The list of user and/or group emails that you would like to add to the target group
Type: String Parameter Sets: (All) Aliases: PrimaryEmail, UserKey, Mail, User, UserEmail, Members Required: True Position: 2 Default value: None Accept pipeline input: True (ByPropertyName) Accept wildcard characters: False
The role that you would like to add the members as
Defaults to "MEMBER"
Type: String Parameter Sets: (All) Aliases: Required: False Position: Named Default value: MEMBER Accept pipeline input: False Accept wildcard characters: False
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.