Compartir a través de


Set-AdminPowerAppEnvironmentDisplayName

Updates the environment display name.

Syntax

Set-AdminPowerAppEnvironmentDisplayName
   -EnvironmentName <String>
   -NewDisplayName <String>
   [-ApiVersion <String>]
   [<CommonParameters>]

Description

The Set-EnvironmentDisplayName cmdlet updates the display name field of the specified environment. Use Get-Help Set-EnvironmentDisplayName -Examples for more detail.

Examples

EXAMPLE 1

Set-EnvironmentDisplayName -EnvironmentName 8d996ece-8558-4c4e-b459-a51b3beafdb4 -NewDisplayName Applications

Updates the display name of environment '8d996ece-8558-4c4e-b459-a51b3beafdb4' to be called 'Applications.'

EXAMPLE 2

Set-EnvironmentDisplayName -EnvironmentName 8d996ece-8558-4c4e-b459-a51b3beafdb4 -NewDisplayName 'Main Organization Apps'

Updates the display name to be 'Main Organization Apps.'

Parameters

-ApiVersion

Specifies the Api version that is called.

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

-EnvironmentName

The environment ID.

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

-NewDisplayName

The new display name of the environment.

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