Win10客户端使用Powershell连接到O365


 首选使用get-module 命令查看我的本机电脑是否安装了相关模块,上图发现并没有安装相关模块

Install-Module -Name MSOnline   (安装相应的模块)