< Back
Connect-EXOPSSession
Post
NAME Connect-EXOPSSession
SYNOPSIS
To connect in other Office 365 offerings, use the following settings:
- Office 365 operated by 21Vianet: -ConnectionURI https://partner.outlook.cn/PowerShell-LiveID
-AzureADAuthorizationEndpointUri https://login.chinacloudapi.cn/common
- Office 365 Germany: -ConnectionURI https://outlook.office.de/PowerShell-LiveID -AzureADAuthorizationEndpointUri
https://login.microsoftonline.de/common
- PSSessionOption accept object created using New-PSSessionOption
SYNTAX
Connect-EXOPSSession [[-ConnectionUri] <String>] [[-AzureADAuthorizationEndpointUri] <String>]
[[-UserPrincipalName] <String>] [[-PSSessionOption] <PSSessionOption>] [[-Credential] <PSCredential>]
[<CommonParameters>]
DESCRIPTION
This PowerShell module allows you to connect to Exchange Online service
PARAMETERS
-ConnectionUri <String>
Connection Uri for the Remote PowerShell endpoint
Required? false
Position? 1
Default value https://outlook.office365.com/PowerShell-LiveId
Accept pipeline input? false
Accept wildcard characters? false
-AzureADAuthorizationEndpointUri <String>
Azure AD Authorization endpoint Uri that can issue the OAuth2 access tokens
Required? false
Position? 2
Default value https://login.windows.net/common
Accept pipeline input? false
Accept wildcard characters? false
-UserPrincipalName <String>
User Principal Name or email address of the user
Required? false
Position? 3
Default value
Accept pipeline input? false
Accept wildcard characters? false
-PSSessionOption <PSSessionOption>
PowerShell session options to be used when opening the Remote PowerShell session
Required? false
Position? 4
Default value
Accept pipeline input? false
Accept wildcard characters? false
-Credential <PSCredential>
User Credential to Logon
Required? false
Position? 5
Default value
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
RELATED LINKS
https://go.microsoft.com/fwlink/p/?linkid=837645
SYNOPSIS
To connect in other Office 365 offerings, use the following settings:
- Office 365 operated by 21Vianet: -ConnectionURI https://partner.outlook.cn/PowerShell-LiveID
-AzureADAuthorizationEndpointUri https://login.chinacloudapi.cn/common
- Office 365 Germany: -ConnectionURI https://outlook.office.de/PowerShell-LiveID -AzureADAuthorizationEndpointUri
https://login.microsoftonline.de/common
- PSSessionOption accept object created using New-PSSessionOption
SYNTAX
Connect-EXOPSSession [[-ConnectionUri] <String>] [[-AzureADAuthorizationEndpointUri] <String>]
[[-UserPrincipalName] <String>] [[-PSSessionOption] <PSSessionOption>] [[-Credential] <PSCredential>]
[<CommonParameters>]
DESCRIPTION
This PowerShell module allows you to connect to Exchange Online service
PARAMETERS
-ConnectionUri <String>
Connection Uri for the Remote PowerShell endpoint
Required? false
Position? 1
Default value https://outlook.office365.com/PowerShell-LiveId
Accept pipeline input? false
Accept wildcard characters? false
-AzureADAuthorizationEndpointUri <String>
Azure AD Authorization endpoint Uri that can issue the OAuth2 access tokens
Required? false
Position? 2
Default value https://login.windows.net/common
Accept pipeline input? false
Accept wildcard characters? false
-UserPrincipalName <String>
User Principal Name or email address of the user
Required? false
Position? 3
Default value
Accept pipeline input? false
Accept wildcard characters? false
-PSSessionOption <PSSessionOption>
PowerShell session options to be used when opening the Remote PowerShell session
Required? false
Position? 4
Default value
Accept pipeline input? false
Accept wildcard characters? false
-Credential <PSCredential>
User Credential to Logon
Required? false
Position? 5
Default value
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
RELATED LINKS
https://go.microsoft.com/fwlink/p/?linkid=837645