< Back

Get-Groups_OwnersReferences

Sat Jan 18, 2020 12:01 pm

NAME Get-Groups_OwnersReferences



SYNOPSIS

Retrieves "microsoft.graph.directoryObject" object references.





SYNTAX

Get-Groups_OwnersReferences -directoryObjectId <string> -groupId <string> [-Expand <string[]>] [-Select

<string[]>] [<CommonParameters>]



Get-Groups_OwnersReferences -groupId <string> [-Expand <string[]>] [-Filter <string>] [-MaxPageSize <int>]

[-OrderBy <string[]>] [-Search <string>] [-Select <string[]>] [-Skip <int>] [-Top <int>] [<CommonParameters>]





DESCRIPTION

Retrieves "microsoft.graph.directoryObject" object references in the "owners" collection.



Graph call: GET ~/groups/{groupId}/owners/$ref





PARAMETERS

-groupId <string>

A required ID for referencing a "microsoft.graph.group" object in the "groups" collection.



Required? true

Position? named

Default value

Accept pipeline input? true (ByPropertyName)

Accept wildcard characters? false



-directoryObjectId <string>

The ID for a "microsoft.graph.directoryObject" object in the "owners" collection.



Required? true

Position? named

Default value

Accept pipeline input? true (ByPropertyName)

Accept wildcard characters? false



-Filter <string>

The "$filter" query option value.



Required? false

Position? named

Default value

Accept pipeline input? false

Accept wildcard characters? false



-Search <string>

The "$search" query option value.



Required? false

Position? named

Default value

Accept pipeline input? false

Accept wildcard characters? false



-Skip <int>

The "$skip" query option value.



Required? false

Position? named

Default value

Accept pipeline input? false

Accept wildcard characters? false



-Top <int>

The "$top" query option value.



Required? false

Position? named

Default value

Accept pipeline input? false

Accept wildcard characters? false



-First <int>

The "$top" query option value.



This is an alias of the Top parameter.



Required? false

Position? named

Default value

Accept pipeline input? false

Accept wildcard characters? false



-MaxPageSize <int>

The "Prefer: odata.maxpagesize" header value.



Required? false

Position? named

Default value

Accept pipeline input? false

Accept wildcard characters? false



-Select <string[]>



Required? false

Position? named

Default value

Accept pipeline input? false

Accept wildcard characters? false



-Expand <string[]>



Required? false

Position? named

Default value

Accept pipeline input? false

Accept wildcard characters? false



-OrderBy <string[]>



Required? false

Position? named

Default value

Accept pipeline input? false

Accept wildcard characters? false



<CommonParameters>

This cmdlet supports the common parameters: Verbose, Debug,

ErrorAction, ErrorVariable, WarningAction, WarningVariable,

OutBuffer, PipelineVariable, and OutVariable. For more information, see

about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).



INPUTS

System.String

A required ID for referencing a "microsoft.graph.group" object in the "groups" collection.



System.String

The ID for a "microsoft.graph.directoryObject" object in the "owners" collection.





OUTPUTS





RELATED LINKS

GitHub Repository https://github.com/Microsoft/Intune-PowerShell-SDK