Provision a Single Exchange 2016 with PowerShell

Steps to provision a Single Exchange 2016 with PowerShell Prepare a Windows 2016 Standard Server with Servicing stack update 2018-11 Cumulative Update-KB4467691 – Download the latest Cumulative from Microsoft Unified Communications Managed API 4.0 Runtime Visual C++ Redistributable Packages x64 Exchange 2016 CU9 Enable PreRequisite #Install PreRequisite Install-WindowsFeature NET-Framework-45-Features, RPC-over-HTTP-proxy, RSAT-Clustering, RSAT-Clustering-CmdInterface, RSAT-Clustering-Mgmt, ` RSAT-Clustering-PowerShell, …

Read moreProvision a Single Exchange 2016 with PowerShell

Scheduled PowerShell Script to Clean Up Disk Space in Exchange 2016

We had prepared a scheduled PowerShell Script to clean up disk space in Exchange 2016 to prevent the generated logs file from filling up C or D Drive PowerShell Script to delete .log, .blg, and .etl files older than 14 days in D:\program files\microsoft\exchange server\V15\Logging and save it to C:\Scripts\ClearIISLogs.ps1 #Remove .log, .blg and .etl …

Read moreScheduled PowerShell Script to Clean Up Disk Space in Exchange 2016

Exchange 2016 – 4.7.0 Temporary server error. Please try again later. PRX2

One of our client called saying that all thier Email went to Draft Folder in OWA and cannot Send & Receive Email via Exchange 2016 Server. We do not see any error message in Event Viewer until we perform SMTP Telnet test on the Exchange Server 4.7.0 Temporary server error. Please try again later. PRX2 …

Read moreExchange 2016 – 4.7.0 Temporary server error. Please try again later. PRX2

Disabled ESMTP in Exchange 2016 for PCI DSS Compliance

We got a request from client to disable ESMTP in Exchange 2016 for PCI DSS Compliance This is the default Exchange 2016 response for EHLO Based on the documentation from Microsoft on Exchange 2016 Receiver #Variable $Receiver1=”Default Frontend MYLAB-EX16″ $Server1 = “MYLAB-EX16” $Banner = “220 mail.aventistech.info” #MUST start with 220 $FQDN = “mail.mail.aventistech.info” #Disable Default …

Read moreDisabled ESMTP in Exchange 2016 for PCI DSS Compliance

PowerShell – Provisioning of Exchange 2013 Server

Please refer to the following steps on how to provision Exchange 2013 Server in my lab Pre-Requisite Installation Item 2 to 4 prior execute the PowerShell Script 1. Windows 2012 R2 Standard Server with latest patches installed 2. Microsoft Office 2010 Filter Packs 3. Service Pack 1 for Microsoft Office 2010 Filter Packs 4. Unified …

Read morePowerShell – Provisioning of Exchange 2013 Server

Exchange 2013 – 2 Nodes DAG Fail Over & Fallback

Please refer to the following Simulation Result for 2 x Exchange 2013 DAG Nodes Fail-Over & Fallback within a Single AD Sites for one of our client 1 x Exchange 2013 Server installed on each Building and being connected using 1Gbps Fiber Connection File Share Witness (FSW) Server installed in each site Pre-Fail-Over Stage Exchange …

Read moreExchange 2013 – 2 Nodes DAG Fail Over & Fallback

Exchange 2013 : Move User to Different Mailbox Database

Please refer to the following steps on how to move user to different mailbox database using PowerShell Connecting to Exchange Remote¬†PowerShell $ExchangeURL = "http://mail.aventis.local/PowerShell/" $Session = New-PSSession -ConfigurationName Microsoft.Exchange -ConnectionUri $ExchangeURL -Authentication Kerberos Import-PSSession $Session Check which mailbox database the user’s mailbox is located get-mailbox -Identity m3test | Select Name, DisplayName, Database Prepare a UserMailbox.csv …

Read moreExchange 2013 : Move User to Different Mailbox Database

Exchange2016-Allow Users to Send Email to Whitelisted Domains

We got a requirement from one of our client recently to prevent a group of users from sending Email to Internet, but allow to send to selected White Listed Domains only Please refer to the following steps on how we configure the Transport Rule in Exchange 2016 Prepare two (2) csv files – users.csv & …

Read moreExchange2016-Allow Users to Send Email to Whitelisted Domains

Exchange 2016 – ClusterNetwork Current State is ‘Partitioned’

We receive a case from client saying that it show the following error message when they run “Test-ReplicationHealth” in their Exchange 2016 Server We tried to ping the IP Address of both Exchange 2016 Servers, and obviously the IP is reachable and Exchange 2016 Servers are running fine without any issue However, it return the …

Read moreExchange 2016 – ClusterNetwork Current State is ‘Partitioned’

Powershell Remote to Exchange 2010 Server

Please refer to the steps below on how to connect to Exchange 2010 Server via PowerShell from Internet Please enable Basic Authentication in IIS Save your password to .txt file “XXXXXXX” | ConvertTo-SecureString -AsPlainText -Force | ConvertFrom-SecureString | Out-File "C:\scripts\AventisLab.txt” Connect to Exchange 2010 if you are using public trusted SSL Certificate #PowerShell Remote to …

Read morePowershell Remote to Exchange 2010 Server