Partager via


Remove-AdminPowerAppEnvironment

Deletes the specified environment. This operation can take some time depending on how many resources are stored in the environment. When the operation returns with a 404 NotFound, then the environment is successfully deleted.

Syntax

Remove-AdminPowerAppEnvironment
      -EnvironmentName <String>
      [-ApiVersion <String>]
      [<CommonParameters>]

Description

The Remove-AdminPowerAppEnvironment cmdlet deletes an environment. Use Get-Help Remove-AdminPowerAppEnvironment -Examples for more detail.

Examples

EXAMPLE 1

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

Deletes 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:2018-01-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