Public/Disconnect-CustomerExchange.ps1
function Disconnect-CustomerExchange { process { try { Disconnect-ExchangeOnline -Confirm:$false } catch { Write-Error "Failed to disconnect from Exchange Online: $_" } } } |
function Disconnect-CustomerExchange { process { try { Disconnect-ExchangeOnline -Confirm:$false } catch { Write-Error "Failed to disconnect from Exchange Online: $_" } } } |