Save-AzureRmServerManagementGatewayProfile

Downloads the profile for a Server Management gateway and saves it to a local file.

Syntax

Save-AzureRmServerManagementGatewayProfile
    [-OutputFile] <FileInfo>
    [-ResourceGroupName] <String>
    [-GatewayName] <String>
    [-DefaultProfile <IAzureContextContainer>]
    [<CommonParameters>]
Save-AzureRmServerManagementGatewayProfile
    [-OutputFile] <FileInfo>
    [-Gateway] <Gateway>
    [-DefaultProfile <IAzureContextContainer>]
    [<CommonParameters>]

Description

The Save-AzureRmServerManagementGatewayProfile cmdlet downloads the profile for an Azure Server Management gateway and stores it to a local file.

Examples

1:

Required Parameters

-Gateway

Specifies the gateway that this cmdlet gets the profile for.

May be used instead of specifying ResourceGroupName and GatewayName

Type:Microsoft.Azure.Commands.ServerManagement.Model.Gateway
Position:0
Default value:None
Accept pipeline input:True (ByValue)
Accept wildcard characters:False
-GatewayName

Specifies the name of the gateway that this cmdlet gets the profile for.

Type:String
Position:1
Default value:None
Accept pipeline input:True (ByPropertyName)
Accept wildcard characters:False
-OutputFile

Specifies the local file in which to save the profile data.

Type:FileInfo
Position:2
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-ResourceGroupName

Specifies the name of the resource group that the gateway belongs to.

Type:String
Position:0
Default value:None
Accept pipeline input:True (ByPropertyName)
Accept wildcard characters:False

Optional Parameters

-DefaultProfile

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

Type:Microsoft.Azure.Commands.Common.Authentication.Abstractions.IAzureContextContainer
Aliases:AzureRmContext, AzureCredential
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False

Inputs

Gateway

Parameter 'Gateway' accepts value of type 'Gateway' from the pipeline

Outputs

System.IO.FileInfo