方法一
将下载得到的exchangeonlinemanagement.3.1.0.nupkg文件保存到D盘

Install-Package ExchangeOnlineManagement -Source D:\

方法二

#Install-Module 离线安装
$parameters = @{
  Name = "Repo"
  SourceLocation = "D:\software"
  PublishLocation = "D:\software"
  InstallationPolicy = 'Trusted'
}
Register-PSRepository @parameters
Get-PSRepository

Install-Module -Name ExchangeOnlineManagement -RequiredVersion 3.1.0 -Repository Repo

[参考]
PowerShell Install-Module 离线安装 .nupkg包

留待后查,同时方便他人