Get-CsOnlineDirectoryTenant

 

Topic Last Modified: 2015-06-30

Use the Get-CsOnlineDirectoryTenant cmdlet to retrieve a tenant and associated parameters from the Business Voice Directory.

Get-CsOnlineDirectoryTenant [-Confirm [<SwitchParameter>]] [-DomainController <Fqdn>] [-Force <SwitchParameter>] [-Tenant <Guid>] [-WhatIf [<SwitchParameter>]]

This example returns the tenant specified by GUID.

Get-CsOnlineDirectoryTenant -Tenant 7a205197-8e59-487d-b9fa-3fc1b108f1e5

The following is an example of the Get-CsOnlineDirectoryTenant cmdlet's console output.

Get-CsOnlineDirectoryTenant

RunspaceId    : 8fa40044-7bcf-465b-b7c8-76e54f124c8d
Id            : 7a205197-8e59-487d-b9fa-3fc1b108f1e5
DefaultBridge : 00000000-0000-0000-0000-000000000000
Numbers       : {13479167372, 13479167375, 13479167377, 13479167386...}
Bridges       : {Id = [5bc815ae-d9e9-4fb6-af74-cf4fa73ceaa6], Name = [Conference Bridge], DefaultServiceNumber = [],
                IsDefaultBridge = [False]}

 

Parameter Required Type Description

Confirm

Optional

System.Management.Automation.SwitchParameter

The Confirm switch causes the command to pause processing, and requires confirmation to proceed.

DomainController

Optional

Microsoft.Rtc.Management.Deploy.Fqdn

Specifies the domain controller that's used by the cmdlet to read or write the specified data. Valid inputs for this parameter are either the fully qualified domain name (FQDN) or the computer name.

Force

Optional

System.Management.Automation.SwitchParameter

The Force switch specifies whether to suppress warning and confirmation messages. It can be useful in scripting to suppress interactive prompts. If the Force switch isn't provided in the command, you're prompted for administrative input if required.

Tenant

Optional

System.Guid

Specifies the globally unique identifier (GUID) of your Skype for Business Online tenant account. For example: -Tenant "38aad667-af54-4397-aaa7-e94c79ec2308". You can find your tenant ID by running this command: Get-CsTenant | Select-Object DisplayName, TenantID

WhatIf

Optional

System.Management.Automation.SwitchParameter

The WhatIf switch causes the command to simulate its results. By using this switch, you can view what changes would occur without having to commit those changes.

The cmdlet returns an instance, or an array of the Deserialized.Microsoft.Rtc.Management.Hosted.Bvd.Types.LacTenant objects.

 
Show: