Test-PartnerDomainAvailability

Tests if the specified domain name is available for creating a new tenant.

Sintassi

Default (impostazione predefinita).

Test-PartnerDomainAvailability
    [-Domain] <String>
    [<CommonParameters>]

Descrizione

The Test-PartnerDomainAvailability cmdlet tests to see if the specified domain name is available for creating a new tenant.

Esempio

Example 1

PS C:\> Test-PartnerDomainAvailability -Domain 'contoso.onmicrosoft.com'

Tests if the domain contoso.onmicrosoft.com is available. Returns true if yes, false otherwise.

Parametri

-Domain

A string that identifies the domain to check, e.g. "contoso.onmicrosoft.com". The domain prefix cannot be longer than 27 characters.

Proprietà dei parametri

Tipo:String
Valore predefinito:None
Supporta i caratteri jolly:False
DontShow:False

Set di parametri

(All)
Posizione:0
Obbligatorio:True
Valore dalla pipeline:False
Valore dalla pipeline in base al nome della proprietà:False
Valore dagli argomenti rimanenti:False

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable, -ProgressAction, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.

Input

None

Output

System.Boolean