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
Parameters
-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.