Compartilhar via


Clear-AdminPowerAppAsHero

Removes the specified app as a hero application.

Syntax

Clear-AdminPowerAppAsHero
     -AppName <String>
     [-ApiVersion <String>]
     [<CommonParameters>]
Clear-AdminPowerAppAsHero
     [-ApiVersion <String>]
     [-ForceLease <Boolean>]
     [<CommonParameters>]

Description

The Clear-AdminPowerAppAsHero changes the isHero flag of an app in Power Apps to false. Use Get-Help Clear-AdminPowerAppAsHero -Examples for more detail.

Examples

EXAMPLE 1

Clear-AdminPowerAppAsHero -PowerAppName c3dba9c8-0f42-4c88-8110-04b582f20735

Updates the specified app to no longer be identified as the hero app.

Parameters

-ApiVersion

PowerApps Api version date, defaults to "2017-05-01."

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

-AppName

App ID of the app to operate on.

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

-ForceLease

Forces the lease when overwriting the app fields. Defaults to false if no input is provided.

Type:Boolean
Position:Named
Default value:False
Required:False
Accept pipeline input:False
Accept wildcard characters:False