Get-WssMsoAssignedGroup
Get-WssMsoAssignedGroup
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.
매개 변수
-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.
별칭 |
없음 |
필수 여부 |
false |
위치 |
1 |
기본값 |
없음 |
파이프라인 입력 적용 여부 |
True (ByValue, ByPropertyName) |
와일드카드 문자 허용 여부 |
false |
<CommonParameters>
이 cmdlet은 일반 매개 변수 -Verbose, -Debug, -ErrorAction, -ErrorVariable, -OutBuffer 및 -OutVariable을 지원합니다. 자세한 내용은 다음을 참조하세요. about_CommonParameters(https://go.microsoft.com/fwlink/p/?LinkID=113216).
입력
입력 유형은 cmdlet에 파이프할 수 있는 개체의 유형입니다.
System.String
WssGroupName
Type: System.String
Description: local network account name of group
출력
출력 유형은 cmdlet이 내보내는 개체의 유형입니다.
- MSOSecurityGroup[]
예제
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:\>