Editar

Compartir a través de


Export-AzBotServiceApp

Returns a BotService specified by the parameters.

Syntax

Export-AzBotServiceApp
      [-ResourceGroupName <String>]
      [-Name <String>]
      [-SavePath <String>]
      [-SubscriptionId <String[]>]
      [-DefaultProfile <PSObject>]
      [<CommonParameters>]

Description

Returns a BotService specified by the parameters.

Examples

Example 1: Download the BotService App folder

Export-AzBotServiceApp -ResourceGroupName youriBotTest -name youriechobottest

Parameter $SavePath not provided, defaulting to current working directory.

    Directory: D:\powershell\BotService\azure-powershell\src\BotService

Mode                   LastWriteTime          Length Name
----                   -------------          ------ ----
d----          2020/12/15    1:45 PM                 youriechobottest

Download the BotService App folder

Parameters

-DefaultProfile

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

Type:PSObject
Aliases:AzureRMContext, AzureCredential
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-Name

The name of the Bot resource.

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

-ResourceGroupName

The name of the Bot resource group in the user subscription.

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

-SavePath

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

-SubscriptionId

Azure Subscription ID.

Type:String[]
Position:Named
Default value:(Get-AzContext).Subscription.Id
Required:False
Accept pipeline input:False
Accept wildcard characters:False

Outputs

IBot