Powershell切換成遠端模式
Set-ExecutionPolicy RemoteSigned
安裝新版Powershell模組提供者
Install-Module PowershellGet -Force
下載匯入ExchangeOnlineManagement模組
Import-Module ExchangeOnlineManagement
連線到Exchangeonline Powershell
Connect-ExchangeOnline
輸入帳號密碼後,再使用其他指令
https://docs.microsoft.com/zh-tw/powershell/exchange/connect-to-exchange-online-powershell?view=exchange-ps
沒有留言:
張貼留言