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 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)’  …

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…

Exchange 2010 Mail User still Associated with a Move Request
| | | | | |

Exchange 2010 Mail User still Associated with a Move Request

Exchange 2010 Mail User still Associated with a Move Request Mail User Object in Exchange still showing as if it is listed to a Move Request To verify if we have any Move requests currently in progress or completed we can start by Opening the Exchange Shell. Once the EMS is open type the following…

Exchange 2010 MessageTrackingLog:  Failed to write log..Error Access Denied
| | | | | |

Exchange 2010 MessageTrackingLog: Failed to write log..Error Access Denied

Exchange 2010 MessageTrackingLog: Error Access Denied Message Tracking in Exchange 2010 Stopped and you received the following Error in EventViewer. “MessageTrackingLogs: Failed to write logs because of the error: Access to the path ‘MSGTRK20170329-8.LOG’ is denied..” Let’s Start by reviewing the Current configuration for Message Tracking. Get-TranSportServer |ft Name,MessageTrackingLogEnabled,MessageTrackingLogPath,MessageTrackingLogMaxAge,MessageTrackingLogMaxDirectorySize, MessageTrackingLogMaxFileSize,MessageTrackingLogSubjectLoggingEnabled Now that you have your…

Exchange Deployment Assistant Quick Overview
| | | | | | | | |

Exchange Deployment Assistant Quick Overview

Exchange Deployment Assistant Quick Overview Exchange deployment tool creates a custom step by step checklist to help you deploy Exchange in different types of scenarios. The tool can be found Here. Click on Launch the Deployment Assistant. From the next screen you will have 3 different options to choose from On-Premises ,Hybrid ,Cloud Only. Details…

User Account has been Disabled :Exchange 2010 OWA
| |

User Account has been Disabled :Exchange 2010 OWA

Exchange 2010 OWA : User Account has been Disabled. After a users account has been disabled for some time and re-enabled , they might be faced with the below error in Outlook and OWA. Outlook Error OWA Error To resolved this issue you can open ‘Exchange PowerShell’ and the the following #OneLiner Get-MailboxDatabase -Identity ‘DataBase01’…

Bulk Enable ActiveSync Exchange PowerShell
| |

Bulk Enable ActiveSync Exchange PowerShell

Bulk Enable ActiveSync using Exchange PowerShell Lets Start by search for all Mailboxes with ActiveSync Disabled. Open Exchange Powershell and Type the following. Get-CASMailbox -Resultsize Unlimited | Where-Object {$_.ActiveSyncEnabled -eq $false} Now that we have a list of Users with ‘ActiveSyncEnabled’ set to ‘false’ , lets change this and Enable ActiveSync for these Users. Get-CASMailbox…

Find Exchange Mailboxes with Automatic Email Address Policy set to $False
| |

Find Exchange Mailboxes with Automatic Email Address Policy set to $False

How to Find all User Mailboxes with Auto Email Address Policy Removed. Let’s have a look at what the settings in Exchange Management Console looks like. Let’s start by running a quick one liner to search for all these users. Get-Mailbox -ResultSize Unlimited | Where {$_.EmailAddressPolicyEnabled -eq $False} Next we can see the results output…

Creating new users in an Office 365/Exchange 2010 Hybrid Deployment
| | |

Creating new users in an Office 365/Exchange 2010 Hybrid Deployment

I got asked a question the other day on how to handle new User Mailbox creation in a Hybrid Deployment. I have seen some users go the wrong way and create the AD object and add the Attributes but they forget about the Exchange portion and then focus on adding the license in Office 365….