Exchange 2010 Useful Mailbox Commands

These exchange 2010 mailbox commands are primary for my records because I tend to forget things pretty fast, but I work with exchange a lot, and keeping these commands at hand is useful.   Get Mailbox Statistics about specific user and export those records to a text file. Get-MailboxStatistics “nelson” | Format-List StorageLimitStatus,TotalItemSize,TotalDeletedItemSize,ItemCount,DeletedItemCount > c:nelsonmailboxstats.txt   Get mailbox size quota […]

Read more

How To Export \ Import Single Mailbox Folder To PST File Exchange Server 2010 / 2013 /2016

This article will show you how to export a single folder from an entire mailbox to a PST file on Exchange Server 2010, 2013 and 2016. To start the process open EMS and type the command below (change mailbox and source folder path). New-MailboxExportRequest -mailbox adminu -SourceRootFolder “Inbox/folder” -filepath \\exchange\C$\Source\adminu.pst   Example: ( New-MailboxExportRequest -mailbox “Matt Heitman” –FilePath \\ltivw-p-mbx03\pst$\mheitman2.pst )    You can import it to another mailbox […]

Read more

PowerShell Code: Get Mailboxes with Size Greater Than X

Today, I’ll show you another classic PowerShell Code for Exchange Server that will let you search for users with a mailbox size of X and above. I came across the need to do this when I had to rebalance mailboxes on Exchange Server and wanted to know which users have mailboxes over 5GB. The code below. Will show you all […]

Read more

Exchange Powershell – Find Mailbox size of users in a Distribution List

Say that I have a Distribution List called “Finance Team“. At first I will have to find out the members of the Distribution List so then I can individually find their mailbox sizes. $GroupName = Read-Host “Kindly provide the name of the Distribution Group” Get-DistributionGroupMember $GroupName | Select Name | Export-Csv c:\Members.csv -NoTypeInformation Let us see what did we do […]

Read more

Access Exchange Online via PowerShell

After recently deploying a hybrid configuration for Office 365, many email settings that were easily configurable within Office 365 portal could not be changed as these settings were being managed by on-premise Active Directory servers. To get past this restriction, the next best option is to access the Exchange Online via PowerShell. Note: PowerShell 3.0 is required. For Windows Server […]

Read more

User’s Receive a Message Stating that “User” Has Forwarded Your Meeting Request to Additional Recipients

I recently ran into a problem where some user’s were beginning to receive email messages from Exchange, informing them that their Meeting Request’s were being forwarded to additional recipients. See below for the fix.   Exchange 2007 Verify the setting is turned on or off: Get-MailboxCalendarSettings user | fl  Remove the setting: Set-MailboxCalendarSettings rscherer –RemoveForwardedMeetingNotificiations:$true        Exchange 2010/ […]

Read more

How to Delete Emails from Mailboxes in Exchange 2010 Using Search-Mailbox

Quick post today.  If you have an criteria of emails that you want to delete from all mailbox’s you can use Search-Mailbox to delete the message from users mailbox.  For example, you get hit with a virus email that has the subject “I am a virus” from the user virussender@virus.com. The below search goes through all mailbox’s and deletes any […]

Read more
1 2 3 4 9