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 more

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 "[email protected]" | Format-List Sender, Recipients, MessageSubject, … Read more

Veeam-MS Exchange Writer Retryable Error

It is very common to encounter the following error message in Veeam Backup when backuping Microsoft Exchange Server 6/18/2018 8:37:38 PM :: VSS: Backup job failed. Cannot notify writers about the ‘BACKUP FINISH’ event. A VSS critical writer has failed. Writer name: [Microsoft Exchange Writer]. Class ID: [{76fe1ac4-15f7-4bcd-987e-8e1acb462fb7}]. Instance ID: [{5e2cc993-8c98-4f33-98b6-9697ceaecbaf}]. Writer’s state: [VSS_WS_FAILED_AT_BACKUP_COMPLETE]. Error … Read more

PowerShell to Generate Exchange Mailbox Usage Report

You can run the PowerShell Scirpt below on Exchange 2010 SP3 server to export Mailbox Usage Report to CSV File #Connect to Exchange – PowerShell ISE – Exchange 2010 . ‘C:\Program Files\Microsoft\Exchange Server\V14\bin\RemoteExchange.ps1’ Connect-ExchangeServer -auto $Results = @() #Declare Array for all results $Mailboxes = Get-Mailbox -ResultSize Unlimited -RecipientType UserMailbox #$Mailboxes = Get-Mailbox -identity group2 … Read more