< Back

Get-AzureRmTrafficManagerProfile

Tue Jan 29, 2019 10:11 pm

NAME Get-AzureRmTrafficManagerProfile



SYNOPSIS

Gets a Traffic Manager profile.





SYNTAX

Get-AzureRmTrafficManagerProfile [-DefaultProfile <IAzureContextContainer>] [-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.





PARAMETERS

-DefaultProfile <IAzureContextContainer>

The credentials, account, tenant, and subscription used for communication with azure.



Required? false

Position? named

Default value None

Accept pipeline input? False

Accept wildcard characters? false



-Name <String>

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



Required? false

Position? named

Default value None

Accept pipeline input? False

Accept wildcard characters? false



-ResourceGroupName <String>

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



Required? false

Position? named

Default value None

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 (http://go.microsoft.com/fwlink/?LinkID=113216).



INPUTS

None

This cmdlet does not accept any input.





OUTPUTS

Microsoft.Azure.Commands.Network.TrafficManagerProfile

This cmdlet returns a TrafficManagerProfile object. You can modify this object, and then apply changes to Traffic Manager by using

Set-AzureRmTrafficManagerProfile .





NOTES









Example 1: Get a profile



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



This command gets the profile named ContosoProfile in ResourceGroup11.







RELATED LINKS

Online Version: https://docs.microsoft.com/en-us/powers ... gerprofile

Disable-AzureRmTrafficManagerProfile

Enable-AzureRmTrafficManagerProfile

New-AzureRmTrafficManagerProfile

Remove-AzureRmTrafficManagerProfile

Set-AzureRmTrafficManagerProfile