Set-WssMsoGroupAssignment
Assigns a security group to a user group.
Syntax
Set-WssMsoGroupAssignment
[-WssGroupName] <String>
[-MsoId] <String>
[<CommonParameters>]
Description
The Set-WssMsoGroupAssignment cmdlet assigns a aad_1 security group to a Windows Server Essentials user group.
Examples
Example 1: Assign a security group
PS C:\> Set-WssMSOAssignedGroup -WssGroupName "Admins" -MsoId "d77e9419-2e1f-4080-ae7c-9b97c6caa681"
This command assigns the specified security group to the user group named Admins.
1:
PS C:\>
Parameters
-MsoId
Specifies an ID for a security group. The cmdlet assign the security group that you specify to a Windows Server Essentials user group.
Type: | String |
Position: | 1 |
Default value: | None |
Required: | True |
Accept pipeline input: | True |
Accept wildcard characters: | False |
-WssGroupName
Specifies the name of a Windows Server Essentials user group. The cmdlet assigns a security group to the gets the user group that you specify.
Type: | String |
Position: | 0 |
Default value: | None |
Required: | True |
Accept pipeline input: | True |
Accept wildcard characters: | False |
Inputs
WssGroupName Type: System.String Description: local network account name of group
Related Links
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for