< Back

Get-DContact

Mon Jan 13, 2020 6:37 pm

NAME Get-DContact



SYNOPSIS

Gets one or multiple contacts from Delegate365.





SYNTAX

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

[<CommonParameters>]





DESCRIPTION

Get-DContact returns a list of contacts from Delegate365. Contacts usually store external person's data in the

Office 365 tenant. Parameters allow to get all contacts or one specific contact. Filter for one contact by using

the -Identity Parameter and the full name or the ID. The output shows the most essential properties for each

contact.





PARAMETERS

-UnAssigned <SwitchParameter>

Delivers all contacts 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 contacts (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 contact. 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.Contact[]





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



Get-DContact



By default, the command returns the first 100 assigned contacts.

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



Get-DContact -All



Add -All to get all contacts.

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



Get-DContact -Unassigned -All



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

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



Get-DContact -OU Seattle



Add -OU to get contacts that are assigned to a specific OU.

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



Get-DContact -Identity john.doe@outlook.com



Get one specific contact by name or by ID.



RELATED LINKS

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