Add-WssMsoGroup
Adds a security group and assigns it to a user group.
Add-WssMsoGroup
[-WssGroupName] <String>
[[-MsoGroupName] <String>]
[<CommonParameters>]
The Add-WssMsoGroup cmdlet adds a aad_1 security group, and assigns that group to a Windows Server Essentials user group.
PS C:\> Add-WssMSOGroup - WssGroupName "Local Network Admins" -MsoGroupName "Network Admins"
This command creates a security group named Network Admins and associates it to the local network user group named Local Network Admins.
Specifies a name for the security group.
Type: | String |
Position: | 1 |
Default value: | None |
Required: | False |
Accept pipeline input: | True |
Accept wildcard characters: | False |
Specifies the name of a user group. The cmdlet assigns the security group to the user group that you specify. If you do not specify a name for the security group by using the MsoGroupName parameter, the cmdlet uses the value that you specify as the name for the security group.
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 user group