Add-WssMsoGroup

Adds a security group and assigns it to a user group.

Syntax

Add-WssMsoGroup
   [-WssGroupName] <String>
   [[-MsoGroupName] <String>]
   [<CommonParameters>]

Description

The Add-WssMsoGroup cmdlet adds a aad_1 security group, and assigns that group to a Windows Server Essentials user group.

Examples

Example 1: Create a security 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.

Parameters

-MsoGroupName

Specifies a name for the security group.

Type:String
Position:1
Default value:None
Required:False
Accept pipeline input:True
Accept wildcard characters:False

-WssGroupName

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

Inputs

String

WssGroupName Type: System.String Description: local network account name of user group