Update Rollup 5-v2 for Exchange Server 2010 Service Pack 2 (KB2785908)

Today 12/11/2012 Microsoft released Rollup 5-v2 for Exchange Server 2010 SP2

After you install this Rollup 5-v2 you will update Exchange Server 2010 SP2 version number to 14.2.328.10

This update resolves issues that were found in Exchange Server 2010 Service Pack 2 since the software was released.

As you remember last version of Rollup 5 for Exchange 2010 SP2 caused problems with DAG, we wrote about this here:

Exchange 2010 SP2 Error after upgrading to Rollup 5

 

Continue reading

Search-Mailbox delete emails sent to Distribution Group

 

When someone will send email to wrong distribution group you can easly delete this email using Search-Mailbox CMDlet.

All you need it’s to get distribution group members and run for each of them search-mailbox.

Below you can find example how to remove email sent to distribution group Important_DL     with subject Confidential Report.

Get-DistributiongroupMember Important_DL | Search-Mailbox -SearchQuery subject:"Confidential Report" -DeleteContent -Force:$TRUE

 

Above command will delete email with subject Confidential Report from users mailboxes which are members of Important_DL distribution group.

You can also use others attribute to define email properties to delete.

Below you can find more properties which you can use:

Continue reading

Search-Mailbox kind Advanced Query Syntax AQS

 

While you are using Search-Mailbox to find, delete or to copy items from mailbox you can use Advanced Query Syntax parameter to define what kind of items you are looking for.

Advanced Query Syntax  helps users to better define and narrow their searches.

Following AQS parameters we can use to narrow search:

  • File kinds: folders, documents, presentations, pictures and so on.
  • File stores: specific databases and locations.
  • File properties: size, date, title and so on.
  • File contents: keywords like “project deliverables,” “AQS,” “blue suede shoes,” and so on.

 

For Exchange Search-Mailbox CMDlet we can easily use following parameters from File kinds:

File Type:   Example 
 Contacts kind:contacts
 E-mail kind:email
 Instant Messenger conversations kind:im
 Meetings kind:meetings
 Tasks kind:tasks
 Notes kind:notes

Continue reading

Windows Server 2012 (RTM Edition) free ebook

Mitch Tulloch has updated his very popular free ebook on Windows Server 2012 based on the RTM version: Introducing Windows Server 2012 (RTM Edition)

You can download this ebook for free with formats: PDF, MOBI, EPUB.

Introducing Windows Server 2012 (RTM Edition) contains 5 sections which describing:

  • Virtualization and cloud solutions
  • Availability
  • Provisioning and storage management
  • Security and scalability
  • Infrastructure options
  • Server configuration and administration

use links below to download one or all of the available formats.

PDF – Introducing Windows Server 2012 RTM Edition – PDF ebook

EPUB – Introducing Windows Server 2012 RTM Edition – ePub format

MOBI – Introducing Windows Server 2012 RTM Edition – MOBI format (for Kindle)

Exchange Server Tools

 

Very often we are looking for some tools to make Microsoft Exchange Server administration easier for as.
If you don’t know where to find useful tools for Microsoft Exchange Server check this Microsoft Wiki site:

Exchange Server Tools

You can find there many tools to help you designing, planning, managing and reporting with yours Exchange Servers.

Below you can find few of this tools:

 

Exchange Server 2010 mass export mailboxes to pst file

Last time we wrote how to export mailbox from Exchange 2010 to pst file and import items from pst file to Exchange 2010 mailbox.

Exchange 2010 export import mailboxes

Now we will explain how to export few mailboxes at once from Exchange 2010.

When you want to export few mailboxes at once to .pst files you have to get aliases of those mailboxes and then run New-MailboxExportRequest in ForEach loop.

Below we present few examples how to export mailboxes with specified conditions:

To export mailboxes from specified mailbox database use:

ForEach ($mbx in (Get-Mailbox -Database DatabaseName)) {
 New-MailboxExportRequest -Mailbox $mbx -FilePath "\\server\share_pst\${$mbx.Alias).pst" 
}

Continue reading

Exchange 2010 export import mailboxes

 

Service Pack 1 for Exchange 2010 changed mailboxes import export to .pst file.

After you install Service Pack 1 for Exchange Server 2010 you need to use new CMDlet’s to import or export mailboxes:

  • New-MailboxExportRequest - to export mailbox
  • New-MailboxImportRequest - to import mailbox

To be able to export or import mailbox you need to meet following requirements:

  • have Export Import RBAC rights
  • have network share where you will export mailbox to .pst file

 

Assigning needed rights to export import mailbox from Exchange 2010:

When you write New-MailboxExportRequest in EMS (Exchange Management Console) and you will receive error that this command is not recognized, it means you don’t have adequate permissions.

You have to add Mailbox Import Export role for specified user or security group.

This security group should be universal.

Below command will add necessary permissions for security group MBX_imp_exp:

New-ManagementRoleAssignment -Name "Import Export Mailbox Admins" -SecurityGroup "MBX_imp_exp" -Role "Mailbox Import Export"

Continue reading

Exchange 2010 last logon time to mailbox

 

Sometimes we need to find when user logged to mailbox for the last time.

To achieve this we need to use  Get-MailboxStatistics CMDlet

Below command will display LastLogonTime for mailbox JSmith:

Get-MailboxStatistics JSmith | select DisplayName, LastLogonTime

 

If we are using shared mailboxes we also should display user account which were used to log to mailbox.
This command will display mailbox name, LastLogonTime and user account used to logon:

Get-MailboxStatistics JSmith | select DisplayName, LastLogonTime, LastLoggedOnUserAccount

 

When we want to get logon time information for all mailboxes in database or in mailbox server MX01, we need to use Get-Mailbox CMDlet, and pipe result to Get-MailboxStatistics

Continue reading