Tests to see if the specified onmicrosoft.com is available to be used for a new tenant.
Get-PCDomainAvailability [-Domain] <String> [[-SaToken] <String>] [<CommonParameters>]
The Get-PCDomainAvailability cmdlet tests to see if the specified tenant domain (onmicrosoft.com) is available to create a new tenant.
Specifies an onmicrosoft.com domain to check as to whether is available for use for a new tenant.
Required? true
Position? 1
Default value
Accept pipeline input? false
Accept wildcard characters? false
Specifies a security token for authenticating and executing the cmdlet.
Required? false
Position? 2
Default value $GlobalToken
Accept pipeline input? false
Accept wildcard characters? false
Test to see if contoso.onmicrosoft.com is available for a new tenant.
PS C:\>Get-PCDomainAvailabilty -Domain contoso.onmicrosoft.com