Disconnect-ExchangeOnlineNonMFA

Module: MO_Module
Applies to: Exchange online

Use the Disconnect-ExchangeOnlineNonMFA function to disconnect from a remote PowerShell session from an Exchange online tenant, that was connected using the Connect-ExchangeOnlineNonMFA 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.