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

Initial Configuration of Exchange 2010 with PowerShell

Please refer to the following PowerShell Script on how to configure some basic settings for Fresh installed Exchange 2010 Server (Single Server enviroment) Rename the Mailbox Database Get-MailboxDatabase | Set-Mailbox -Name LOCAL #Rename Mailbox Database Add Accepted Domain and set it as default New-AcceptedDomain -DomainName AventisLab.com -DomainType Authoritative -Name AventisLab.com Set-AcceptedDomain -Identity AventisLab.com -MakeDefault $true …

Read moreInitial Configuration of Exchange 2010 with PowerShell

NetScaler VPX as Reverse Proxy for Exchange 2016

Please refer to the steps below on how to configure Citrix NetScaler VPX (NS12.0: Build 57.19.nc) located in DMZ as Reverse Proxy for Microsoft Exchange 2016 Server located in LAN Information of IP Addresses 1. NetScaler VPX – 172.16.1.2 (NS IP) 2. NetScaler VPX – 172.16.1.3 (Subnet IP) 3. NetScaler VPX – 172.16.1.10 (Virtual IP …

Read moreNetScaler VPX as Reverse Proxy for Exchange 2016

Import PFX Certificate to NetScaler VPX

Please refer to the step below on how to import PFX Certificate to NetScaler VPX Preparation of SSL Certificate Download LetEncrypt Root & Intermediate Certificate and save it as LetsEncryptRoot.cer & LetsEncryptIntermediate.cer Exported AventisLab.pfx from Windows Server Upload the SSL Certificate to NetScaler VPX to /nsconfig/ssl with SCP scp AventisLab.pfx nsroot@121.121.43.51:/nsconfig/ssl scp LetsEncryptIntermediate.cernsroot@121.121.43.51:/nsconfig/ssl scp LetsEncryptRoot.cer …

Read moreImport PFX Certificate to NetScaler VPX

Silent Installation of SQL 2014 with INI file with gMSA Service Account

Group Managed Service Accounts (gMSA) – New in Windows 2012 1. Password for gMSAs are generated and maintained by the Key Distribution Service (KDS). This allows multiple hosts to use the gMSA. Member servers that wish to use the gMSA, simply query the DC for the current password. 2. Password will be changed on every …

Read moreSilent Installation of SQL 2014 with INI file with gMSA Service Account

PowerShell Remoting to Windows 2012R2

Please refer to the steps below on how to PowerShell Remoting to Windows 2012R2 Server Configuration on Windows 2012R2 Server 1. The WinRM service is running (By Default) 2. Enable PowerShell Remoting with Enable-PSRemoting -force Configuration on Windows 10 Machines (Non-Domain Joined) 1. Start WinRM Service Get-Service WinRM | Start-Service Allow Windows 10 to access …

Read morePowerShell Remoting to Windows 2012R2

Exchange 2016 – Powershell for Message Tracking

You will need to use Get-MessageTrackingLog to trace those Email delivered to Distribution Group since the Delivery Report in Exchange EAC seem like cannot be used to archive the goal. You can change the (Get-Date).AddDays(-1) to search for Email for past -X days Get-MessageTrackingLog -ResultSize Unlimited -Start (Get-Date).AddDays(-1) -Recipient "admin@benalec.com.my" | Format-List Sender, Recipients, MessageSubject, …

Read moreExchange 2016 – Powershell for Message Tracking