共用方式為


Recover-AdminPowerAppEnvironment

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

Syntax

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.

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

-EnvironmentName

The environment ID.

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

-WaitUntilFinished

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

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