Get-WssMsoAssignedGroup

Get-WssMsoAssignedGroup

Gets a security group assigned to a user group.

Syntax

Parameter Set: Default
Get-WssMsoAssignedGroup [[-WssGroupName] <String> ] [ <CommonParameters>]

Detailed Description

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.

Parameters

-WssGroupName<String>

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

<CommonParameters>

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).

Inputs

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

Outputs

The output type is the type of the objects that the cmdlet emits.

  • MSOSecurityGroup[]

Examples

Example 1: Get all security groups

This command gets all the security groups.

PS C:\> Get-WssMsoAssignedGroup

Example 2: Get a security group by name

This command gets the security group assigned to the user group named named Admins.

PS C:\> Get-WssMsoAssignedGroup -WssGroupName "Admins"
PS C:\> 

Add-WssMsoGroup

Add-WssUserGroup

Get-WssMsoGroup