Share via


Recover-AdminPowerAppEnvironment

Recovers the specific environment. This operation can take some time depending on how many resources are stored in the environment.

Syntax

Default (Default)

Recover-AdminPowerAppEnvironment
    -EnvironmentName <String>
    [-WaitUntilFinished <Boolean>]
    [-ApiVersion <String>]
    [<CommonParameters>]

Description

The Recover-AdminPowerAppEnvironment cmdlet recovers an environment. Use Get-Help Recover-AdminPowerAppEnvironment -Examples for more detail.

Examples

EXAMPLE 1

Recover-AdminPowerAppEnvironment -EnvironmentName 3c2f7648-ad60-4871-91cb-b77d7ef3c239

Recovers environment 3c2f7648-ad60-4871-91cb-b77d7ef3c239 and all of the environment's resources.

Parameters

-ApiVersion

The api version to call with.

Parameter properties

Type:String
Default value:2019-05-01
Supports wildcards:False
DontShow:False

Parameter sets

(All)
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-EnvironmentName

The environment ID.

Parameter properties

Type:String
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

(All)
Position:Named
Mandatory:True
Value from pipeline:False
Value from pipeline by property name:True
Value from remaining arguments:False

-WaitUntilFinished

Wait until recovery completes. The default setting is false (don't wait).

Parameter properties

Type:Boolean
Default value:False
Supports wildcards:False
DontShow:False

Parameter sets

(All)
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable, -ProgressAction, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.