Cmdlets

Choose a cmdlet from the list on the left or search for a specific cmdlet. Choose a cmdlet from the list or search for a specific cmdlet.
About Help  Providers
 

Test-AzureTrafficManagerDomainName

Test-AzureTrafficManagerDomainName

microsoft.windowsazure.commands.trafficmanager.dll

Synopsis

Checks whether a domain name is available as a Traffic Manager profile.

Syntax

Test-AzureTrafficManagerDomainName [-DomainName] [<CommonParameters>]

Detailed Description

The Test-AzureTrafficManagerDomainName cmdlet checks whether a domain name is available as a Microsoft Azure Traffic Manager profile. If the domain name is available, this cmdlet returns a value of $True.

Parameters

-DomainName <String>

Specifies the domain name to test. You must include the following string: .trafficmanager.net

Aliases

None

Required?

true

Position

0

Default value

none

Accept pipeline input?

false

Accept wildcard characters?

false

Input Type


Return Type

System.Boolean

Notes

Examples

-------------------------- Example 1: Check whether a domain name is available --------------------------

This command checks whether the domain name ContosoApp.trafficmanager.net is available as a Traffic Manager profile.

PS C:\>Test-AzureTrafficManagerDomainName -DomainName "ContosoApp.trafficmanager.net"
$True

Online Version