Category: Exchange Server 2007

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 […]

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 […]

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 […]

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  […]

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 […]

Read More »

How to View Disconnected Mailbox’s and Purge Disconnected Mailboxes from Exchange 2010

To view disconnected mailbox’s, essentially mailboxes that have been deleted from their user accounts, you need to first ensure that Exchange has gone through and cleaned the database.  This is done to ensure that it marks that mailbox as deleted.  If your database is MDB36, run the following command: Clean-MailboxDatabase MDB36 Exchange gives no result […]

Read More »

How to Apply Permissions to Public Folder and All Sub Folders in Exchange 2007/2010 Using Exchange Management Shell

If you have a public folder that your working on, and you need to apply permissions to it using the Exchange Management Shell, its pretty easy.  The command is: Add-PublicFolderClientPermission –Identity “Foldername” –user UserName –AccessRights PublishingEditor For instance, to add the user pponzeka to the folder IT with the Publishing Editor permission, the command would […]

Read More »

Remove All Emails from a specific sender

1.  Connect to Exchange On-line From the PowerShell console on an Exchange 2010 server: $Cred = Get-Credential $s = New-PSSession -ConfigurationName Microsoft.Exchange -ConnectionUri https://ps.outlook.com/powershell -Credential $cred -Authentication Basic –AllowRedirection Import-PSSession $s Type in your ada credentials with username of <username>@domain.com Type in your domain admin credentials with username of domain\<username>   Run this command in […]

Read More »

O365 to Exchange on-prem migration error

When you attempt to migrate an O365 user back to Exchange 2010 on-prem you may receive this error:   “You shouldn’t migrate mailbox ‘Paul Demmer’ to Exchange 2010 or an earlier version while the user’s Instant Messaging contact list is stored in Exchange. If you do, the user could permanently lose access to their Instant […]

Read More »

Copy members from one Distribution Group to another Distribution Group in PowerShell

As an Exchange and Active Directory administrator you may be asked at some point to make a new distribution group from one or more other distribution groups. Exchange 2010 and PowerShell make this a very easy task. So to get started log in to your exchange server and open your Exchange Management Console.     Now […]

Read More »

FashionBuzz © 2015 | All Rights Reserved Theme by Flythemes