Set-WssMsoGroupAssignment
Assigns a security group to a user group.
PowerShell
Set-WssMsoGroupAssignment
[-WssGroupName] <String>
[-MsoId] <String>
[<CommonParameters>]
The Set-WssMsoGroupAssignment cmdlet assigns a aad_1 security group to a Windows Server Essentials user group.
PowerShell
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.
PowerShell
PS C:\>
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 |
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 |
WssGroupName Type: System.String Description: local network account name of group