< Back
Connect-EXO
Post
NAME Connect-EXO
SYNOPSIS
Connects to Exchange Online using MFA
SYNTAX
Connect-EXO [[-UserPrincipalName] <String>] [<CommonParameters>]
DESCRIPTION
This function let's the user connect to Exchange Online with MFA.
It checks for existing sessions and if present removes them and the imported Exchange Module.
This function requires the installation of the Exchange Online Remote PowerShell Module (see link below)
PARAMETERS
-UserPrincipalName <String>
Specify the UPN of the admin user
Required? false
Position? 1
Default value test@contoso.com
Accept pipeline input? false
Accept wildcard characters? false
<CommonParameters>
This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer, PipelineVariable, and OutVariable. For more information, see
about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).
INPUTS
OUTPUTS
-------------------------- EXAMPLE 1 --------------------------
C:\\PS>Connect-EXO
This command provides a popup and let's the user pass in credentials for Exchange Online.
-------------------------- EXAMPLE 2 --------------------------
C:\\PS>Connect-EXO -UPN test@avanade.com
This command connects to Exchange Online for the user with UPN test@avanade.com.
RELATED LINKS
https://go.microsoft.com/fwlink/p/?linkid=837645
SYNOPSIS
Connects to Exchange Online using MFA
SYNTAX
Connect-EXO [[-UserPrincipalName] <String>] [<CommonParameters>]
DESCRIPTION
This function let's the user connect to Exchange Online with MFA.
It checks for existing sessions and if present removes them and the imported Exchange Module.
This function requires the installation of the Exchange Online Remote PowerShell Module (see link below)
PARAMETERS
-UserPrincipalName <String>
Specify the UPN of the admin user
Required? false
Position? 1
Default value test@contoso.com
Accept pipeline input? false
Accept wildcard characters? false
<CommonParameters>
This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer, PipelineVariable, and OutVariable. For more information, see
about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).
INPUTS
OUTPUTS
-------------------------- EXAMPLE 1 --------------------------
C:\\PS>Connect-EXO
This command provides a popup and let's the user pass in credentials for Exchange Online.
-------------------------- EXAMPLE 2 --------------------------
C:\\PS>Connect-EXO -UPN test@avanade.com
This command connects to Exchange Online for the user with UPN test@avanade.com.
RELATED LINKS
https://go.microsoft.com/fwlink/p/?linkid=837645