Office 365 Powershell 连接命令
2017-04-08 21:31
351 查看
国内版
第一步:
Import-Module msonline
Connect-MsolService
输入用户名密码
第二步:
Get-MsolUser”
第三步:
Set-ExecutionPolicy unrestricted
$cred = Get-Credential
$session = New-PSSession -ConfigurationName Microsoft.Exchange -ConnectionUri https://partner.outlook.cn/PowerShell -Credential $cred -Authentication Basic -AllowRedirection
Import-PSSession $session
国际版
第一步:
Import-Module msonline
Connect-MsolService
输入用户名密码
第二步:
Get-MsolUser”
第三步:
Set-ExecutionPolicy unrestricted
$cred = Get-Credential
$session = New-PSSession -ConfigurationName Microsoft.Exchange -ConnectionUri “https://outlook.office365.com/powershell-liveid/" -Credential $cred -Authentication Basic -AllowRedirection
Import-PSSession $session
第一步:
Import-Module msonline
Connect-MsolService
输入用户名密码
第二步:
Get-MsolUser”
第三步:
Set-ExecutionPolicy unrestricted
$cred = Get-Credential
$session = New-PSSession -ConfigurationName Microsoft.Exchange -ConnectionUri https://partner.outlook.cn/PowerShell -Credential $cred -Authentication Basic -AllowRedirection
Import-PSSession $session
国际版
第一步:
Import-Module msonline
Connect-MsolService
输入用户名密码
第二步:
Get-MsolUser”
第三步:
Set-ExecutionPolicy unrestricted
$cred = Get-Credential
$session = New-PSSession -ConfigurationName Microsoft.Exchange -ConnectionUri “https://outlook.office365.com/powershell-liveid/" -Credential $cred -Authentication Basic -AllowRedirection
Import-PSSession $session
相关文章推荐
- Office 365 Powershell 连接命令
- 使用PowerShell连接到世纪互联Office 365
- 使用PowerShell 连接管理Office 365前准备要求
- 如何使用Powershell验证是否支持Exchange与Office 365混合部署
- 易宝典文章——玩转Office 365中的Exchange Online服务 之五 怎样利用PSl连接Exchange Online实现管理
- 使用 Office 365 PowerShell 管理用户帐户和许可证
- 使用 Office 365 PowerShell 管理用户帐户和许可证(五)Assign roles to user accounts with Office 365 PowerShell
- 使用 Office 365 PowerShell 管理用户帐户和许可证(四)查看服务的许可信息
- 打开office出现错误:向程序发送命令时出现问题 无法更改 中注册的office 加载项的连接状态 解决办法
- 使用 Office 365 PowerShell 管理用户帐户和许可证(九)使用 Office 365 PowerShell 删除和还原用户账户
- 在Office 365 的如何给管理员赋予查看所有人邮箱的权限的Powershell
- 使用 Office 365 PowerShell 管理用户帐户和许可证(七) Office 365 许可和 Windows PowerShell:删除许可证
- Office 365系列之十五:配置Outlook MAPI方式连接Exchange Online
- Office 365 IT Professional——如何用PowerShell创建Site Collection?
- Office 365 IT Professional——利用PowerShell设置Reset Password
- 在Office 365 的如何给管理员赋予查看所有人邮箱的权限的Powershell
- 用 PHP 连接上 Office 365 REST API 进行操作入门
- Office 365 IT Professional——利用PowerShell设置Password 永不过期
- Office 365 - Windows PowerShell for SharePoint Online
- 使用 Office 365 PowerShell 管理用户帐户和许可证(二)使用 Office 365 PowerShell 查看授权和未授权的用户