< Back

Set-AdminPowerAppAsHero

Sat Jan 18, 2020 3:51 pm

NAME Set-AdminPowerAppAsHero



SYNOPSIS

Identifies the input PowerApp as a hero application. The input app must be set as a featured app to be set as a

hero.





SYNTAX

Set-AdminPowerAppAsHero -AppName <String> [-ApiVersion <String>] [<CommonParameters>]



Set-AdminPowerAppAsHero [-ApiVersion <String>] [-ForceLease <Boolean>] [<CommonParameters>]





DESCRIPTION

The Set-AdminPowerAppAsHero changes the isHero flag of a PowerApp to true.

Use Get-Help Set-AdminPowerAppAsHero -Examples for more detail.





PARAMETERS

-AppName <String>

App Id of PowerApp to operate on.



Required? true

Position? named

Default value

Accept pipeline input? true (ByPropertyName)

Accept wildcard characters? false



-ApiVersion <String>

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



Required? false

Position? named

Default value 2017-05-01

Accept pipeline input? false

Accept wildcard characters? false



-ForceLease <Boolean>

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



Required? false

Position? named

Default value False

Accept pipeline input? false

Accept wildcard characters? false



<CommonParameters>

This cmdlet supports the common parameters: Verbose, Debug,

ErrorAction, ErrorVariable, WarningAction, WarningVariable,

OutBuffer, PipelineVariable, and OutVariable. For more information, see

about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).



INPUTS



OUTPUTS



-------------------------- EXAMPLE 1 --------------------------



PS C:\\>Set-AdminPowerAppAsHero -PowerAppName c3dba9c8-0f42-4c88-8110-04b582f20735



Updates the input PowerApp to be the hero application of that tenant.











RELATED LINKS