Edit

Share via


Get-EntraEnvironment

Gets global public Environments.

Syntax

GetQuery (Default)

Get-EntraEnvironment

    [<CommonParameters>]

GetByName

Get-EntraEnvironment

    -Name <String>
    [<CommonParameters>]

Description

When you use Connect-Entra, you can choose to target other environments. By default, Connect-Entra targets the global public cloud.

Parameters

-Name

Specifies the name of an environment

Parameter properties

Type:

undefined

Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

(All)
Position:Named
Mandatory:False
Value from pipeline:True
Value from pipeline by property name:True
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.