CmdID

CmdID / PowerShell / Cmdlets / Remove

Remove-MgEnvironment

Removes Microsoft Graph environment to the settings file Microsoft Graph PowerShell reference

From the Microsoft Graph PowerShell reference 3 parameters Its page in the reference

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

Parameters

3 in the Microsoft Graph PowerShell reference
-Confirm, -cfPrompts you for confirmation before running the cmdlet.
-NameThe environment name.
-WhatIf, -wiShows what would happen if the cmdlet runs.