共用方式為


Get-AppQuarantineState

Retrieves the app quarantine state.

Syntax

Get-AppQuarantineState
   [-EnvironmentName] <String>
   [-AppName] <String>
   [[-ApiVersion] <String>]
   [<CommonParameters>]

Description

The Get-AppQuarantineState cmdlet retrieves the quarantine state for the specified app.

Examples

EXAMPLE 1

Get-AppQuarantineState -EnvironmentName a5675ce2-99a8-4b25-9272-6abaf37660fe -AppName c3dba9c8-0f42-4c88-8110-04b582f20735

Return: Quarantined

Parameters

-ApiVersion

PowerApps api version date, defaults to "2021-02-01".

Type:String
Position:3
Default value:2021-02-01
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-AppName

App ID of the app to operate on.

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

-EnvironmentName

Environment ID of the environment.

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