< Back

Get-DResource

Mon Jan 13, 2020 6:40 pm

NAME Get-DResource



SYNOPSIS

Gets one or multiple resources from Delegate365.





SYNTAX

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

[<CommonParameters>]





DESCRIPTION

Get-DResource returns a list of resources from Delegate365. Mailbox of type 'resource' are used to store

information about equipment and rooms. Parameters allow to get all resources or one specific resource. Filter for

one resource by using the -Identity Parameter and the full name or the ID. The output shows the most essential

properties for each resource.





PARAMETERS

-UnAssigned <SwitchParameter>

Delivers all resources 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 resources (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 resource. 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.ResourceMailBox[]





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



Get-DResource



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

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



Get-DResource -All



Add -All to get all resources.

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



Get-DResource -Unassigned -All



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

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



Get-DResource -OU Seattle



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

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



Get-DResource -Identity ConfRoomCrystal@delegate365.com



Get one specific resource by name or by ID.



RELATED LINKS

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