Test-PartnerDomainAvailability
Tests if the specified domain name is available for creating a new tenant.
Синтаксис
Default (по умолчанию)
Test-PartnerDomainAvailability
[-Domain] <String>
[<CommonParameters>]
Описание
The Test-PartnerDomainAvailability cmdlet tests to see if the specified domain name is available for creating a new tenant.
Примеры
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.
Параметры
-Domain
A string that identifies the domain to check, e.g. "contoso.onmicrosoft.com". The domain prefix cannot be longer than 27 characters.
Свойства параметра
Тип: | String |
Default value: | None |
Поддерживаются подстановочные знаки: | False |
DontShow: | False |
Наборы параметров
(All)
Position: | 0 |
Обязательно: | True |
Значение из конвейера: | False |
Значение из конвейера по имени свойства: | False |
Значение из оставшихся аргументов: | 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.