< Back

Get-DDynamicGroup

Mon Jan 13, 2020 6:38 pm

NAME Get-DDynamicGroup



SYNOPSIS

Gets one or multiple dynamic groups from Delegate365.





SYNTAX

Get-DDynamicGroup [-All <SwitchParameter>] [-Identity <string>] [-OU <string>] [-UnAssigned <SwitchParameter>]

[<CommonParameters>]





DESCRIPTION

Get-DDynamicGroup returns a list of dynamic groups from Delegate365. Dynamic groups allow to specify rules for

adding members dynamically based on user properties. Parameters allow to get all dynamic groups or one specific

dynamic group. Filter for one dynamic group by using the -Identity Parameter and the full name or the ID. The

output shows the most essential properties for each dynamic group.





PARAMETERS

-UnAssigned <SwitchParameter>

Delivers all dynamic groups that are not assigned to an OU.



Required? false

Position? named

Default value False

Accept pipeline input? false

Accept wildcard characters? false



-All <SwitchParameter>

Delivers all dynamic groups (and not only the first 100 items).



Required? false

Position? named

Default value False

Accept pipeline input? false

Accept wildcard characters? false



-Identity <string>

Filter for one specific dynamic group. Wildcards are not supported, use the full name or the ID.



Required? false

Position? named

Default value

Accept pipeline input? false

Accept wildcard characters? false



-OU <string>

Filter by the name of an OU.



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



OUTPUTS

Delegate365.Api.Core.Models.DynamicGroup[]





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



Get-DDynamicGroup



By default, the command returns the first 100 assigned dynamic groups.

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



Get-DDynamicGroup -All



Add -All to get all dynamic groups.

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



Get-DDynamicGroup -Unassigned -All



Add -Unassigned to get dynamic groups that are NOT assigned to an OU (can be combined with -All).

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



Get-DDynamicGroup -OU Seattle



Add -OU to get dynamic groups that are assigned to a specific OU.

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



Get-DDynamicGroup -Identity hr-department@delegate365.com



Get one specific dynamic group by name or by ID.



RELATED LINKS

Delegate365 support https://support.delegate365.com/