Add-WssMsoGroup
Add-WssMsoGroup
Adds a security group and assigns it to a user group.
Sintaxis
Parameter Set: Default
Add-WssMsoGroup [-WssGroupName] <String> [[-MsoGroupName] <String> ] [ <CommonParameters>]
Descripción detallada
The Add-WssMsoGroup cmdlet adds a security group, and assigns that group to a Windows Server Essentials user group.
Parámetros
-MsoGroupName<String>
Specifies a name for the security group.
Alias |
ninguno |
¿Requerido? |
false |
¿Posición? |
2 |
Valor predeterminado |
ninguno |
¿Aceptar canalización? |
True (ByPropertyName) |
¿Aceptar caracteres comodín? |
false |
-WssGroupName<String>
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.
Alias |
ninguno |
¿Requerido? |
true |
¿Posición? |
1 |
Valor predeterminado |
ninguno |
¿Aceptar canalización? |
True (ByValue, ByPropertyName) |
¿Aceptar caracteres comodín? |
false |
<CommonParameters>
Este cmdlet admite los siguientes parámetros comunes: -Verbose, -Debug, -ErrorAction, -ErrorVariable, -OutBuffer y -OutVariable. Para obtener más información, consulte about_CommonParameters (https://go.microsoft.com/fwlink/p/?LinkID=113216).
Entradas
El tipo de entrada es el tipo de los objetos que se pueden canalizar al cmdlet.
System.String
WssGroupName
Type: System.String
Description: local network account name of user group
Salidas
El tipo de resultado es el tipo de objetos que emite el cmdlet.
Ejemplos
Example 1: Create a security group
This command creates a security group named Network Admins and associates it to the local network user group named Local Network Admins.
PS C:\> Add-WssMSOGroup - WssGroupName "Local Network Admins" -MsoGroupName "Network Admins"