細かいですが、PowerShellでの認証情報を渡す変数名が違うと思います。 $Session = New-PSSession -ConfigurationName Microsoft.Exchange -ConnectionUri outlook.office365.com/powershell-liveid -Credential $Cred -Authentication Basic –AllowRedirection
↧