Jaa


Backup-PowerAppEnvironment

Backup an environment.

Syntax

Backup-PowerAppEnvironment
      [-EnvironmentName] <String>
      [-BackupRequestDefinition] <Object>
      [[-ApiVersion] <String>]
      [<CommonParameters>]

Description

The Backup-PowerAppEnvironment cmdlet backs up the specified environment. Use Get-Help Backup-PowerAppEnvironment -Examples for more detail.

Examples

EXAMPLE 1

Backup-PowerAppEnvironment -EnvironmentName 0fc02431-15fb-4563-a5ab-8211beb2a86f -BackupRequestDefinition $backupRequest

Backup environment 0fc02431-15fb-4563-a5ab-8211beb2a86f. $backupRequest = [pscustomobject]@{ Label = "this is a label" Notes = "this is a note" }

Parameters

-ApiVersion

The api version to call with. Default 2018-01-01.

Type:String
Position:3
Default value:2019-05-01
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-BackupRequestDefinition

The backup request definition object.

Type:Object
Position:2
Default value:None
Required:True
Accept pipeline input:True
Accept wildcard characters:False

-EnvironmentName

The target environment ID.

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