Skip to content

Latest commit

 

History

History
83 lines (60 loc) · 1.73 KB

Get-PnPUnifiedGroup.md

File metadata and controls

83 lines (60 loc) · 1.73 KB
external help file applicable schema
SharePoint Online
2.0.0

Get-PnPUnifiedGroup

SYNOPSIS

Gets one Office 365 Group (aka Unified Group) or a list of Office 365 Groups

SYNTAX

Get-PnPUnifiedGroup [-Identity <UnifiedGroupPipeBind>]
                    [-ExcludeSiteUrl [<SwitchParameter>]]

EXAMPLES

------------------EXAMPLE 1------------------

PS:> Get-PnPUnifiedGroup

Retrieves all the Office 365 Groups

------------------EXAMPLE 2------------------

PS:> Get-PnPUnifiedGroup -Identity $groupId

Retrieves a specific Office 365 Group based on its ID

------------------EXAMPLE 3------------------

PS:> Get-PnPUnifiedGroup -Identity $groupDisplayName

Retrieves a specific or list of Office 365 Groups that start with the given DisplayName

------------------EXAMPLE 4------------------

PS:> Get-PnPUnifiedGroup -Identity $groupSiteMailNickName

Retrieves a specific or list of Office 365 Groups for which the email starts with the provided mail nickName

------------------EXAMPLE 5------------------

PS:> Get-PnPUnifiedGroup -Identity $group

Retrieves a specific Office 365 Group based on its object instance

PARAMETERS

-ExcludeSiteUrl

Exclude fetching the site URL for Office 365 Groups. This speeds up large listings.

Type: SwitchParameter
Parameter Sets: (All)

Required: False
Position: Named
Accept pipeline input: False

-Identity

The Identity of the Office 365 Group.

Type: UnifiedGroupPipeBind
Parameter Sets: (All)

Required: False
Position: Named
Accept pipeline input: False

RELATED LINKS

SharePoint Developer Patterns and Practices