< Back
Get-MPCDomainAvailability
Post
NAME Get-MPCDomainAvailability
SYNOPSIS
Checks the domain availability for the given onmicrosoft.com domain prefix.
SYNTAX
Get-MPCDomainAvailability [-CustomerDomainPrefix] <String> [-MPCToken] <String> [<CommonParameters>]
DESCRIPTION
Long description
PARAMETERS
-CustomerDomainPrefix <String>
Customer domain prefix for onmicrosoft.com domain
Required? true
Position? 1
Default value
Accept pipeline input? false
Accept wildcard characters? false
-MPCToken <String>
Microsoft Partner Center authentication token
Required? true
Position? 2
Default value
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
OUTPUTS
-------------------------- EXAMPLE 1 --------------------------
PS C:\\>$mpcToken = Get-MPCToken -ApplicationID f5e4f291-6e60-48c0-bc2e-e72e9a3a0464 -Credential (Get-Credential)
Get-MPCDomainAvailability -CustomerDomainPrefix 'mydomain' -MPCToken $mpcToken.access_token
RELATED LINKS
SYNOPSIS
Checks the domain availability for the given onmicrosoft.com domain prefix.
SYNTAX
Get-MPCDomainAvailability [-CustomerDomainPrefix] <String> [-MPCToken] <String> [<CommonParameters>]
DESCRIPTION
Long description
PARAMETERS
-CustomerDomainPrefix <String>
Customer domain prefix for onmicrosoft.com domain
Required? true
Position? 1
Default value
Accept pipeline input? false
Accept wildcard characters? false
-MPCToken <String>
Microsoft Partner Center authentication token
Required? true
Position? 2
Default value
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
OUTPUTS
-------------------------- EXAMPLE 1 --------------------------
PS C:\\>$mpcToken = Get-MPCToken -ApplicationID f5e4f291-6e60-48c0-bc2e-e72e9a3a0464 -Credential (Get-Credential)
Get-MPCDomainAvailability -CustomerDomainPrefix 'mydomain' -MPCToken $mpcToken.access_token
RELATED LINKS