Share 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

Default (Default)

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.

Parameter properties

Type:String
Default value:2018-01-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

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.