< Back

Get-DUsageLocation

Mon Jan 13, 2020 6:41 pm

NAME Get-DUsageLocation



SYNOPSIS

Gets one or multiple items of the usage locations.





SYNTAX

Get-DUsageLocation [-All <SwitchParameter>] [-Identity <string>] [<CommonParameters>]





DESCRIPTION

Get-DUsageLocation returns a list of usage locations from Delegate365. Usage locations are required to set an

Office 365 license to a user and can be managed in Delegate365. Parameters allow to get all items or one specific

item. The output shows the Id and the name of existing usage locations.





PARAMETERS

-All <SwitchParameter>

Delivers all items (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 item. 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



<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.UsageLocation[]





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



Get-DUsageLocation



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

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



Get-DUsageLocation -All



Add -All to get all items.

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



Get-DUsageLocation -Identity 'Switzerland'



Get one specific item by name or by ID.



RELATED LINKS

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