ConnectionUri 參數會指定遠端Exchange Online PowerShell 會話的連線端點。 支援下列Exchange Online PowerShell 環境和相關值: Microsoft 365 或 Microsoft 365 GCC:請勿使用此參數。 必要的值是 https://outlook.office365.com/powershell-liveid/ ,但這也是預設值,因此您不需要使用此參數。 Office 365德國:https:...
ConnectionUri 参数指定远程Exchange Online PowerShell 会话的连接终结点。 支持以下Exchange Online PowerShell 环境和相关值: Microsoft 365 或 Microsoft 365 GCC:请勿使用此参数。 所需的值为 https://outlook.office365.com/powershell-liveid/,但这也是默认值,因此无需使用此参数。 Office 365德国:https://out...
PowerShell Connect-ExchangeOnline-UserPrincipalNamenavin@contoso.onmicrosoft.com-InlineCredential In PowerShell 7 for accounts with or without MFA, this example uses another computer to authenticate and complete the connection. Typically, you use this method on computers that don't have web browsers (...
PowerShell Connect-ExchangeOnline-UserPrincipalNamenavin@contoso.onmicrosoft.com-InlineCredential In PowerShell 7 for accounts with or without MFA, this example uses another computer to authenticate and complete the connection. Typically, you use this method on computers that don't have web browsers (...
PowerShell Kopiuj Connect-ExchangeOnline -Device The connection command waits at following output: To sign in, use a web browser to open the page https://microsoft.com/devicelogin and enter the code <XXXXXXXXX> to authenticate. Note the <XXXXXXXXX> code value. On any other device with ...
PowerShell Connect-ExchangeOnline-UserPrincipalNamenavin@contoso.onmicrosoft.com-InlineCredential In PowerShell 7 for accounts with or without MFA, this example uses another computer to authenticate and complete the connection. Typically, you use this method on computers that don't have web browsers (...
PowerShell Connect-ExchangeOnline-UserPrincipalNamenavin@contoso.onmicrosoft.com-InlineCredential In PowerShell 7 for accounts with or without MFA, this example uses another computer to authenticate and complete the connection. Typically, you use this method on computers that don't have web browsers (...
5、运行命令” $Session = New-PSSession -ConfigurationName Microsoft.Exchange -ConnectionUri https://partner.outlook.cn/powershell-liveid/ -Credential $O365Cred -Authentication Basic -AllowRedirection “ 连接至Exchange Online. 注:以上命令中的 https://partner.outlook.cn/powershell-liveid/ 指的就是...
$Session = New-PSSession -ConfigurationName Microsoft.Exchange -ConnectionUrihttps://partner.outlook.cn/PowerShell-Credential $UserCredential -Authentication Basic -AllowRedirection 4、输入并运行以下命令: Import-PSSession $Session 运行后会创建隐式远程处理模块。
5、运行命令” $Session = New-PSSession -ConfigurationName Microsoft.Exchange -ConnectionUri https://partner.outlook.cn/powershell-liveid/ -Credential $O365Cred -Authentication Basic -AllowRedirection “ 连接至Exchange Online. 注:以上命令中的 https://partner.outlook.cn/powershell-liveid/ 指的就是...