Get-OrganizationSegment
이 cmdlet은 보안 및 준수 PowerShell에서만 사용할 수 있습니다. 자세한 내용은 보안 및 준수 PowerShell을 참조하세요.
Get-OrganizationSegment cmdlet을 사용하여 Microsoft Purview 규정 준수 포털 organization 세그먼트를 볼 수 있습니다.
아래 구문 섹션에 있는 매개 변수 집합에 대한 자세한 내용은 Exchange cmdlet 구문을 참조하십시오.
구문
OrganizationSegmentsDefault (기본값)
Get-OrganizationSegment
[<CommonParameters>]
Identity
Get-OrganizationSegment
[[-Identity] <PolicyIdParameter>]
[<CommonParameters>]
Description
세그먼트는 Microsoft Entra ID 특정 특성을 사용하여 정의됩니다.
이 cmdlet을 사용하려면 보안 및 준수 PowerShell에서 사용 권한을 할당받아야 합니다. 자세한 내용은 Microsoft Purview 규정 준수 포털의 사용 권한을 참조하세요.
예제
예 1
Get-OrganizationSegment | Format-List Name,UserGroupFilter
이 예제에서는 모든 organization 세그먼트의 요약 목록을 반환합니다.
예 2
Get-OrganizationSegment -Identity "Engineering Group"
이 예제에서는 엔지니어링 그룹이라는 organization 세그먼트에 대한 자세한 정보를 반환합니다.
매개 변수
-Identity
적용 가능: 보안 & 규정 준수
Identity 매개 변수는 보려는 organization 세그먼트를 지정합니다. 세그먼트를 고유하게 식별하는 값을 사용할 수 있습니다. 예시:
- 이름
- DN(고유 이름)
- ExchangeObjectId(ExoSegmentId 아님)
매개 변수 속성
| 형식: | PolicyIdParameter |
| Default value: | None |
| 와일드카드 지원: | False |
| DontShow: | False |
매개 변수 집합
Identity
| Position: | 0 |
| 필수: | False |
| 파이프라인의 값: | True |
| 속성 이름별 파이프라인의 값: | True |
| 나머지 인수의 값: | False |
CommonParameters
이 cmdlet은 일반적인 매개 변수인 -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable, -ProgressAction, -Verbose, -WarningAction 및 -WarningVariable 매개 변수를 지원합니다. 자세한 내용은 about_CommonParameters를 참조하세요.