50010623 发表于 2018-7-6 07:32:40

简重定向Exchange 2010 中的OWA-Legendfu

  有没有什么好的工具,当然有了。今天介绍的这个脚本就可以简化重定向OWA。这个是我在网络上找到的一个非常实用的脚本。它是使用powershell写的。
  工具使用方法:
  .|set-exchange2010redirectSSL.ps1 –url “https://mail.yourdomain.com/owa”
  上面的命令就把访问定向到正确的OWA页面。
  如果你没有指派ForceSSL参数,脚本会自动的设置相关的虚拟目录的安全访问方式。如果要覆盖这个设置,使用如下的参数:
  .|set-exchange2010redirectSSL.ps1 –url “https://mail.yourdomain.com/owa”ForceSSL $false
  如果你没有在IIS里面添加重定向web-http-redirect功能,脚本会自动为你添加。还是比较人性化的。脚本会备份当前的IIS设置,然后做出相关修改,然后再重置一下IIS。
  执行有误?那就看看你的Powershell执行策略吧。如果是有限制的,那就用set-executionpolicy unrestricted 来解除这个限制。
  如果还不明白:运行一下 get-help .|set-exchange2010redirectSSL.ps1看看
  工具地址:http://www.ucblogs.net/files/folders/powershell/entry173.aspx
  原文地址:http://www.ucblogs.net/blogs/exchange/archive/2010/04/28/Redirecting-the-root-web-site-to-_2F00_owa-and-forcing-SSL-in-Exchange-2010.aspx
页: [1]
查看完整版本: 简重定向Exchange 2010 中的OWA-Legendfu