Share via


Set-AdminPowerAppEnvironmentDisplayName

Updates the environment display name.

Syntax

Default (Default)

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.

Parameter properties

Type:String
Default value:2021-04-01
Supports wildcards:False
DontShow:False

Parameter sets

(All)
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-EnvironmentName

The environment ID.

Parameter properties

Type:String
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

(All)
Position:Named
Mandatory:True
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-NewDisplayName

The new display name of the environment.

Parameter properties

Type:String
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

(All)
Position:Named
Mandatory:True
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable, -ProgressAction, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.