Disconnect-ExchangeOnlineNonMFA

Module: Exchange_AddIn
Applies to: Exchange online

Use the Disconnect-EaiExchangeOnlineNonMFA function to disconnect from a remote PowerShell session from an Exchange online tenant, that was connected using the Connect-EaiExchangeOnlineNonMFA function.

Disconnect-ExchangeOnlineNonMFA

SYNOPSIS

Disconnects a PSSession from Exchange Online.

SYNTAX

Disconnect-ExchangeOnlineNonMFA [<CommonParameters>]

DESCRIPTION

This cmdlet disconnects the sign-in session to an Exchange online tenant.

EXAMPLES

EXAMPLE 1

Disconnect-ExchangeOnlineNonMFA

PARAMETERS

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.