Exchange/Office365 自动处理脚本:环境准备篇(一)

发布时间:2020-05-18 20:35:53 作者:haiyanzi2005
来源:网络 阅读:370

一、服务器要求
操作系统:Windows Server 2008/2012 R2
网络要求:

  1. 加入域
  2. 允许访问office365相关网址
  3. 开通到Exchange/Skype 的端口443,5985,5986
    软件要求:
  4. 安装Office2016,Active Directory远程管理模块
  5. Microsoft.NET Framework 3.5及以上
  6. 安装Office365远程管理助手和模块

    如何连接到 Office 365 PowerShell

  7. Powershell版本要求5.0及以上,使用$PSVersionTable.PSVersion可检查版本。

Powershell 5.0安装包下载链接

PS C:\Users\yanhaiyan> $PSVersionTable.PSVersion

Major  Minor  Build  Revision
-----  -----  -----  --------
5      1      14409  1005

Powershell设定:

  1. 设置执行脚本策略
PS C:\Users\yanhaiyan> Set-ExecutionPolicy RemoteSigned

Execution Policy Change
The execution policy helps protect you from scripts that you do not trust. Changing the execution policy might expose
you to the security risks described in the about_Execution_Policies help topic at
http://go.microsoft.com/fwlink/?LinkID=135170. Do you want to change the execution policy?
[Y] Yes  [A] Yes to All  [N] No  [L] No to All  [S] Suspend  [?] Help (default is "N"): y

2.启用PSRemoting

PS C:\Users\yanhaiyan> Enable-PSRemoting -Force
在此计算机上设置了 WinRM 以接收请求。
WinRM 已经进行了更新,以用于远程管理。
在 HTTP://* 上创建 WinRM 侦听程序接受 WS-Man 对此机器上任意 IP 的请求。
推荐阅读:
  1. winpcap的使用
  2. 华为dot1x认证测试配置

免责声明:本站发布的内容(图片、视频和文字)以原创、转载和分享为主,文章观点不代表本网站立场,如果涉及侵权请联系站长邮箱:is@yisu.com进行举报,并提供相关证据,一经查实,将立刻删除涉嫌侵权内容。

office365 exchange2013 skype

上一篇:linux/centos oracle10g控制连接IP地址

下一篇:3分钟掌握MongoDB中的regex几种用法

相关阅读

您好,登录后才能下订单哦!

密码登录
登录注册
其他方式登录
点击 登录注册 即表示同意《亿速云用户服务条款》