Share via


Get-AdminPowerAppSoftDeletedEnvironment

Returns information about one or more Power Platform environments that are soft-deleted. If the calling user is a tenant admin, all soft-deleted environments within the tenant are returned.

Syntax

Filter (Default)

Get-AdminPowerAppSoftDeletedEnvironment
    [[-Filter] <String[]>]
    [-ApiVersion <String>]
    [<CommonParameters>]

Name

Get-AdminPowerAppSoftDeletedEnvironment
    [-ApiVersion <String>]
    [<CommonParameters>]

Description

The Get-AdminPowerAppSoftDeletedEnvironment cmdlet looks up information about one or more soft-deleted environments depending on parameters. Use Get-Help Get-AdminPowerAppSoftDeletedEnvironment -Examples for more detail.

Examples

EXAMPLE 1

Get-AdminPowerAppSoftDeletedEnvironment

Finds all soft-deleted environments within the tenant where the user is a tenant admin.

EXAMPLE 2

Get-AdminPowerAppSoftDeletedEnvironment *Test*

Finds all soft-deleted environments that contain the string "Test" in their display name where the user is a tenant admin.

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

-Filter

Finds soft-deleted environments matching the specified filter (wildcards supported).

Parameter properties

Type:

String[]

Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

Filter
Position:1
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.