Remove-WssMsoGroup
Remove-WssMsoGroup
Removes a security group that is assigned to a user group.
Sintaxis
Parameter Set: Default
Remove-WssMsoGroup [-WssGroupName] <String> [[-Force]] [-Confirm] [-WhatIf] [ <CommonParameters>]
Descripción detallada
The Remove-WssMsoGroup cmdlet removes a Windows security group that is assigned to a Windows Server Essentials user group. This cmdlet removes both the assignment and the security group itself from . To remove just the assignment, use the Remove-WssMsoGroupAssignment cmdlet. If the group that is specified is not assigned to a Windows Server Essentials user group, no error is generated, but nothing is done to the group.
Parámetros
-Force
Fuerza que el comando se ejecute sin pedir confirmación al usuario.
Alias |
ninguno |
¿Requerido? |
false |
¿Posición? |
2 |
Valor predeterminado |
ninguno |
¿Aceptar canalización? |
false |
¿Aceptar caracteres comodín? |
false |
-WssGroupName<String>
Specifies the name of a user group. The cmdlet removes the security group assigned to the user group that you specify.
Alias |
ninguno |
¿Requerido? |
true |
¿Posición? |
1 |
Valor predeterminado |
ninguno |
¿Aceptar canalización? |
True (ByValue, ByPropertyName) |
¿Aceptar caracteres comodín? |
false |
-Confirm
Solicita confirmación antes de ejecutar el cmdlet.
¿Requerido? |
false |
¿Posición? |
named |
Valor predeterminado |
falso |
¿Aceptar canalización? |
false |
¿Aceptar caracteres comodín? |
false |
-WhatIf
Muestra lo que sucedería si se ejecutara el cmdlet. El cmdlet no se ejecuta.
¿Requerido? |
false |
¿Posición? |
named |
Valor predeterminado |
falso |
¿Aceptar canalización? |
false |
¿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 group
Salidas
El tipo de resultado es el tipo de objetos que emite el cmdlet.
Ejemplos
Example 1: Remove a security group
This command removes the security group assigned to the user group named Admins.
PS C:\> Remove-WssMSOGroup -WssGroupName "Admins"
PS C:\>