CmdID

CmdID / PowerShell / Cmdlets / Set

Set-TeamsEnvironmentConfig

Sets environment-specific configurations on the local machine and is used to connect to the right environment when running Connect-MicrosoftTeams. Microsoft Teams PowerShell reference

From the Microsoft Teams PowerShell reference 4 parameters Its page in the reference

Opens CmdID with your command, read as PowerShell. It is read in your browser and sent nowhere.

Parameters

4 in the Microsoft Teams PowerShell reference
-Confirm, -cfPrompts you for confirmation before running the cmdlet.
-EndpointUrisProvides custom endpoints.
-TeamsEnvironmentNameProvides a Teams environment to connect to, for example, Teams GCCH or Teams DoD.
-WhatIf, -wiShows what would happen if the cmdlet runs.