Through PowerShell Script modules (.psm1) which use the core framework Cmdlets. Interactive login using Username and Password. For terminal-only clients provide the parameter UseDeviceCode the login ...
Copilot doesn't show up in the usual Control Panel "Uninstall Programs" menu. Open the settings app and go to Apps > ...