Skip to content

Latest commit

 

History

History
40 lines (34 loc) · 1.92 KB

Get-CIPPGroups.md

File metadata and controls

40 lines (34 loc) · 1.92 KB

Get-CIPPGroups

SYNOPSIS

Retrieves information about CIPP groups.

DESCRIPTION

The Get-CIPPGroups function retrieves information about CIPP groups based on the provided parameters. It can retrieve all groups for a specific tenant, group details for a specific group, group members for a specific group, or group owners for a specific group.

PARAMETERS

-CustomerTenantID

Foo Foo
Specifies the ID of the customer tenant for which to retrieve the groups.

-GroupID

Foo Foo
Specifies the ID of the group for which to retrieve the information. If not provided, all groups for the specified tenant will be retrieved.

-Members

Foo Foo Foo
Switch parameter. If specified, retrieves the members of the specified group.

-Owners

Foo Foo Foo
Switch parameter. If specified, retrieves the owners of the specified group.

EXAMPLE 1

PS > Get-CIPPGroups -CustomerTenantID "7ced1621-b8f7-4231-868c-bc6b1a2f1778"

EXAMPLE 2

PS > Get-CIPPGroups -CustomerTenantID "7ced1621-b8f7-4231-868c-bc6b1a2f1778" -GroupID "abcdefg"

EXAMPLE 3

PS > Get-CIPPGroups -CustomerTenantID "7ced1621-b8f7-4231-868c-bc6b1a2f1778" -GroupID "abcdefg" -Members

EXAMPLE 4

PS > Get-CIPPGroups -CustomerTenantID "7ced1621-b8f7-4231-868c-bc6b1a2f1778" -GroupID "abcdefg" -Owners