< Back
Test-PartnerDomainAvailability
Post
NAME Test-PartnerDomainAvailability
SYNOPSIS
Tests if the specified domain name is available for creating a new tenant.
SYNTAX
Test-PartnerDomainAvailability [-Domain] <String> [<CommonParameters>]
DESCRIPTION
The Test-PartnerDomainAvailability cmdlet tests to see if the specified domain name is available for creating a
new tenant.
PARAMETERS
-Domain <String>
A string that identifies the domain to check, e.g. "contoso.onmicrosoft.com". The domain prefix cannot be
longer than 27 characters.
Required? true
Position? 0
Default value None
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
None
OUTPUTS
System.Boolean
NOTES
-------------------------- 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.
RELATED LINKS
Online Version: https://docs.microsoft.com/powershell/m ... ailability
SYNOPSIS
Tests if the specified domain name is available for creating a new tenant.
SYNTAX
Test-PartnerDomainAvailability [-Domain] <String> [<CommonParameters>]
DESCRIPTION
The Test-PartnerDomainAvailability cmdlet tests to see if the specified domain name is available for creating a
new tenant.
PARAMETERS
-Domain <String>
A string that identifies the domain to check, e.g. "contoso.onmicrosoft.com". The domain prefix cannot be
longer than 27 characters.
Required? true
Position? 0
Default value None
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
None
OUTPUTS
System.Boolean
NOTES
-------------------------- 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.
RELATED LINKS
Online Version: https://docs.microsoft.com/powershell/m ... ailability