Tooling note (2024–2026): The legacy MSOnline and AzureAD PowerShell modules are deprecated and retired (MSOnline retired ~May 2025; AzureAD retired Q3 2025). Use the Microsoft Graph PowerShell SDK ...
[switch]$noupdate = $false, ## if -noupdate used then module will not be checked for more recent version ...