Exchange Server

Retrieve Microsoft Exchange Message Tracking Log with PowerShell

Please refer to the steps below on how to retrieve Microsoft Exchange Message Tracking Log with PowerShell Default Configuration of Message Tracking Log – Retention of 30 Days with Max file size of 10MB and MAX folder size of 1GB. The message tracking log will be generated hourly Get-TransportService | Select MessageTrackingLogEnabled, MessageTrackingLogMaxAge, MessageTrackingLogMaxDirectorySize, MessageTrackingLogMaxFileSize, …

Retrieve Microsoft Exchange Message Tracking Log with PowerShell Read More »

Renew SSL Certificate for Exchange 2007

Please refer to the following steps on how to Generate SSL Certficate for Exchange 2007 Exchange 2007 1. Open Exchange Management Shell New-ExchangeCertificate -DomainName mail.aventistech.info, autodiscover.aventistech.info -Friendlyname "SSL For AventisTech.info" -generaterequest:$true -keysize 2048 -path C:\CertRequest.req -privatekeyexportable:$true -subjectname "c=MY, o=AventisTech, cn=mail.aventistech.info"" Exchange 2016 (Updated) 1. Open Exchange Management Shell New-ExchangeCertificate -DomainName *.aventistech.info -Friendlyname "Internal SSL Cert" …

Renew SSL Certificate for Exchange 2007 Read More »

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, …

Provision a Single Exchange 2016 with PowerShell Read More »

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 …

Scheduled PowerShell Script to Clean Up Disk Space in Exchange 2016 Read More »

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 …

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

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 …

Disabled ESMTP in Exchange 2016 for PCI DSS Compliance Read More »

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 …

Exchange 2013 : Move User to Different Mailbox Database Read More »

Scroll to Top