需要Test-MigrationServerAvailability
以下参考它,但从未说明在哪里下载
http://office.microsoft.com/client/15/help/preview?AssetId=HA102908370&lcid=1033&NS=O365PROADMIN&Version=15&CTT=5&origin=HA103169067 http://technet.microsoft.com/en-us/library/jj874015(v=exchg.150).aspx
PS C:\Users\user> Test-MigrationServerAvailability
Test-MigrationServerAvailability : The term 'Test-MigrationServerAvailability' is not recognized as the name of a
cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify
that the path is correct and try again.
At line:1 char:1
+ Test-MigrationServerAvailability
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : ObjectNotFound: (Test-MigrationServerAvailability:String) [], CommandNotFoundException
+ FullyQualifiedErrorId : CommandNotFoundException
答案 0 :(得分:1)
使用Bing代替Google,答案随时可用。
答案 1 :(得分:0)
您必须连接到 Exchange 服务器。
Install-Module -Name ExchangeOnlineManagement -RoquiredVersion 2.0.3
Get-ExecutionPolicy -List
Set-ExecutionPolicy -ExecutionPolicy RemoteSigned
Import-Module ExchangeOnlineManagement
Connect-ExchangeOnline -UserprincipalName admin@company.com -showprogress $ True
Disconnect-ExchangeOnline