Create Exchange 2016 DAG using PowerShell
| | | | |

Create Exchange 2016 DAG using PowerShell

Create Exchange 2016 DAG using PowerShell   What is a Database Availability Group  (DAG) ? A database availability group (DAG) is a set of up to 16 Microsoft Exchange Server 2016 Mailbox servers that provide automatic database-level recovery from a database, server, or network failure. When a Mailbox server is added to a DAG, it works…

Overview of The Exchange 2016 Transport pipeline services
| | | | |

Overview of The Exchange 2016 Transport pipeline services

Overview of The Exchange 2016 Transport pipeline services: Front End Transport service on Mailbox servers   This service acts as a stateless proxy for all inbound and (optionally) outbound external SMTP traffic for the Exchange 2016 organization. The Front End Transport service doesn’t inspect message content, doesn’t communicate with the Mailbox Transport service, and doesn’t queue any…

Exchange 2016 message throttling settings
| | | | |

Exchange 2016 message throttling settings

View Default Exchange 2016 message throttling settings Message throttling refers to a group of limits that are set on the number of messages and connections that can be processed by an Exchange server. These limits include message processing rates, SMTP connection rates, and SMTP session timeout values. These limits work together to protect an Exchange server…

Bulk add users to Distribution Group
| | | | | | | | |

Bulk add users to Distribution Group

Bulk add users to Distribution Group I was ask recently to simplify a task for support staff to bulk add users to a distribution group. So i created the following script to add user from csv. The script will ‘prompt’ for ‘Distribution Group’ name and will add users accordingly. The script has the ‘WhatIf’ added…

Bulk export Mailbox to .PST using PowerShell
| | |

Bulk export Mailbox to .PST using PowerShell

Bulk export Mailbox to .PST using PowerShell I recently received a request to bulk export mailboxes to .pst , to help mysef i have created this small script to import from csv and then kick off the export request. file can be downloaded Here Code: #Created By: Shaun Hardneck #http://thatlazyadmin.com #Freebies 🙂 Add-PSSnapin Microsoft.Exchange.Management.PowerShell.SnapIn; Import-Csv…

Set UPN Suffix using PowerShell
| | | | | | |

Set UPN Suffix using PowerShell

To Prepare for Office 365 Migration you need to add the missing ‘UPN Suffixes’. The following example demonstrates how to create a new UPN suffix for the users in the ThatLazyAdmin forest: Lets Start by running: Import-Module ActiveDirectory   Then run : Get-AdForest | Set-ADForest -UPNSuffixes @{Add=”ThatLazyAdmin.com”}   Lets verify the new UPN in Active Directory…

Set Exhange 2010 /2013 OWA ‘LogonFormat’ using PowerShell
| | | | | |

Set Exhange 2010 /2013 OWA ‘LogonFormat’ using PowerShell

Set Exhange 2010 /2013 OWA ‘LogonFormat’ using PowerShell   Quick look at the curent setting using the ‘GUI’. Exchange Admin Center – Servers – Virtual Directory select OWA virtual directory.     Now lets change the LogonFormat to ‘User name only’ using PowerShell   Set-OwaVirtualDirectory -LogonFormat ‘UserName’ -DefaultDomain ‘ThatLazyAdmin.local’ -Identity ‘LazyEX-01\owa (Default Web Site)’  …

Get all Failed Move-Requests (Exchange 2013)
| | | |

Get all Failed Move-Requests (Exchange 2013)

To quickly get all ‘Failed Move-Requests’ you can run the following one liner. Get-MoveRequest | Where-Object {$_.Status -eq “failed”} To Remove all ‘Failed Move-Requests’ you can run the following:   Get-MoveRequest | Where-Object {$_.Status -eq “failed”} | Remove-MoveRequest   #ThatLazyAdmin    

Express installation of Azure AD Connect
| | | | | |

Express installation of Azure AD Connect

Express installation of Azure AD Connect Tool Can be downloaded from Here Sign in as a local administrator to the server you wish to install Azure AD Connect on. You should do this on the server you wish to be the sync server. Navigate to and double-click AzureADConnect.msi. On the Welcome screen, select the box agreeing…

Installing Exchange 2016
| | | | |

Installing Exchange 2016

Windows Server 2012 and Windows Server 2012 R2 prerequisites The prerequisites that are needed to install Exchange 2016 on computers running Windows Server 2012 or Windows Server 2012 R2 depends on which Exchange role you want to install. Read the section below that matches the role you want to install. Role: Mailbox server role. Let’s…

A Transport database operation has encountered a fatal error. The Transport service is shutting down.
| | |

A Transport database operation has encountered a fatal error. The Transport service is shutting down.

A Transport database operation has encountered a fatal error. The Transport service is shutting down. Exchange Transport Service Keeps shutting down. To resolve this issue you can simple recreate the Transport Queue Database on the needed Exchange server. To delete the specified database and corresponding transaction logs, follow these steps: Verify that the Microsoft Exchange…

Get and Connect a Disconnected Mailbox Using PowerShell
| | | |

Get and Connect a Disconnected Mailbox Using PowerShell

Get and Connect a Disconnected Mailbox Using PowerShell   To quickly find all disconnected Mailboxes in your Exchange environment launch EMC and run the following one liner. Get-MailboxStatistics -Server ThaLazyExMBX01| where { $_.DisconnectDate -ne $null } | select DisplayName,MailboxGuid,Database,DisconnectDate The Results will look as follow: Now that we have the results lets refine the search…