Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Gets a security group assigned to a user group.
Parameter Set: Default
Get-WssMsoAssignedGroup [[-WssGroupName] <String> ] [ <CommonParameters>]
The Get-WssMsoAssignedGroup cmdlet gets a security group that is assigned to a Windows Server Essentials user group. If you do not specify a user group, the cmdlet gets all the security groups. To get security groups that are not assigned to a user group, use the Get-WssMsoGroup cmdlet.
Specifies the name of a Windows Server Essentials user group. The cmdlet gets the security group that is assigned to the user group that you specify.
Aliases |
none |
Required? |
false |
Position? |
1 |
Default Value |
none |
Accept Pipeline Input? |
True (ByValue, ByPropertyName) |
Accept Wildcard Characters? |
false |
This cmdlet supports the common parameters: -Verbose, -Debug, -ErrorAction, -ErrorVariable, -OutBuffer, and -OutVariable. For more information, see about_CommonParameters (https://go.microsoft.com/fwlink/p/?LinkID=113216).
The input type is the type of the objects that you can pipe to the cmdlet.
System.String
WssGroupName
Type: System.String
Description: local network account name of group
The output type is the type of the objects that the cmdlet emits.
- MSOSecurityGroup[]
This command gets all the security groups.
PS C:\> Get-WssMsoAssignedGroup
This command gets the security group assigned to the user group named named Admins.
PS C:\> Get-WssMsoAssignedGroup -WssGroupName "Admins"
PS C:\>