Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Exchange/Office365 automatic processing script: environmental preparation (1)

2025-01-25 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/03 Report--

I. Server Requirements

Operating System: Windows Server 2008/2012 R2

Network requirements:

Join Domain Allow access to office365 related URLs Open to Exchange/Skype ports 443, 5985, 5986

Software requirements: Install Office 2016, Active Directory Remote Management Module Microsoft. NET Framework 3.5 and above

Install Office365 Remote Administration Assistant and Modules

How to connect to Office 365 PowerShell

Powershell version 5.0 and above, use $PSVersionTable.PSVersion to check version.

Powershell 5.0 Installation Package Download Links

PS C:\Users\yanhaiyan> $PSVersionTable.PSVersionMajor Minor Build Revision----- ----- ----- --------5 1 14409 1005

Powershell settings:

PS C:\Users\yanhaiyan> Set-ExecutionPolicy RemoteSignedExecution Policy ChangeThe execution policy helps protect you from scripts that you do not trust. Changing the execution policy might exposeyou to the security risks described in the about_Execution_Policies help topic athttp://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. Enable PSRemoting

PS C:\Users\yanhaiyan> Enable-PSRemoting -Force WinRM is set up on this computer to receive requests. WinWinRM has been updated for remote administration. Create a WinRM listener on HTTP://* to accept WS-Man requests for any IP on this machine.

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report