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
 

Enable-AzureTrafficManagerProfile

Enable-AzureTrafficManagerProfile

microsoft.windowsazure.commands.trafficmanager.dll

Synopsis

Enables a Traffic Manager profile.

Syntax

Enable-AzureTrafficManagerProfile [-Name] [-PassThru] [<CommonParameters>]

Detailed Description

The Enable-AzureTrafficManagerProfile cmdlet enables a Microsoft Azure Traffic Manager profile. Specify the PassThru parameter to display whether the operation succeeds.

Parameters

-Name <String>

Specifies the name of the Traffic Manager profile to enable.

Aliases

None

Required?

true

Position

0

Default value

none

Accept pipeline input?

true (ByPropertyName)

Accept wildcard characters?

false

-PassThru <SwitchParameter>

Returns $True if the operation succeeded; otherwise, $False. By default, this cmdlet does not generate any output.

Aliases

None

Required?

false

Position

named

Default value

none

Accept pipeline input?

false

Accept wildcard characters?

false

Input Type


Return Type

System.Boolean

Notes

Examples

-------------------------- Example 1: Enable a Traffic Manager profile --------------------------

This command enables the Traffic Manager profile named MyProfile.

PS C:\>Enable-AzureTrafficManagerProfile -Name "MyProfile"

-------------------------- Example 2: Enable a Traffic Manager profile and display the results --------------------------

This command enables the Traffic Manager profile named MyProfile and displays whether the command succeeded.

PS C:\>Enable-AzureTrafficManagerProfile -Name "MyProfile" -PassThru
True

Online Version
Disable-AzureTrafficManagerProfile
Get-AzureTrafficManagerProfile
New-AzureTrafficManagerProfile
Remove-AzureTrafficManagerProfile
Set-AzureTrafficManagerProfile