If you have multiple Management Groups, this can be handy to switch between them while in the same Command Shell session. Always be aware of which Management Group you’re connected to while in the Command Shell!
This example assumes your session is currently connected to MG1, and you want to establish a session to MG2.
Connect to MG2
Switch back to MG1