Get-​Azure​Rm​Traffic​Manager​Profile

Gets a Traffic Manager profile.

Syntax

Get-AzureRmTrafficManagerProfile
   [-Name <String>]
   [-ResourceGroupName <String>]
   [<CommonParameters>]

Description

The Get-AzureRmTrafficManagerProfile cmdlet gets an Azure Traffic Manager profile, and returns an object that represents that profile. Specify a profile by its name and resource group name.

You can modify this object locally, and then apply changes to the profile by using the Set-AzureRmTrafficManagerProfile cmdlet.

Examples

Example 1: Get a profile

PS C:\>Get-AzureRmTrafficManagerProfile -Name "ContosoProfile" -ResourceGroupName "ResourceGroup11"

This command gets the profile named ContosoProfile in ResourceGroup11.

Optional Parameters

-Name

Specifies the name of the Traffic Manager profile that this cmdlet gets.

Type:String
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-ResourceGroupName

Specifies the name of a resource group that contains the Traffic Manager profile that this cmdlet gets.

Type:String
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False

Outputs

Microsoft.Azure.Commands.Network.TrafficManagerProfile