共用方式為


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

Get-AdminPowerAppSoftDeletedEnvironment
   [[-Filter] <String[]>]
   [-ApiVersion <String>]
   [<CommonParameters>]
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.

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

-Filter

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

Type:String[]
Position:1
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False