Using Powershell to Archive Mailboxes to PST based upon the AD lastLogonTime in Exchange 2007…

A little while ago I ran into a neat little freeware tool for Powershell called the Inactive Users Tracker PowerShell Cmdlet by a company called Netwrix. This cmdlet in essence provided a nice, simple to use wrapper for consolidated last logon information for accounts in Active Directory (as you may be aware the lastlogon attribute […]

Read More

Quick Tip– Error Occurred in step: Moving Messages – MAPI or an unspecified service provider – ID no: 00000000-0000-00000000, error code:–1056749164…

Linked to my previous post here after I had solved one issue I was immediately faced with another. Even though I was now past the “Approving Object” error – I now had a “Moving Messages” error as per the log file below: [10/11/2011 14:22:54] [0] Executing Command: 'Export-Mailbox ana.hayes -PSTFolderPath X:\psts -ReportFile x:\test.txt' [10/11/2011 14:22:54] […]

Read More

Quick Tip– Error –2147221219 Occurred in Step: Approving Object during Exchange 2007 Export-Mailbox Session…

Whilst writing a script for a larger post today I came across the above error. In essence, every time that I tried to use the Export-Mailbox cmdlet it would terminate and not finish the export operation. Reviewing the log file (which is located in <Exchange Binary Root>\Logging\MigrationLogs) I would see the following information: [10/11/2011 14:18:33] […]

Read More

Quick Tip–Add a member account to all Distribution Groups in your Environment

Today I had the need to add a single user to all the Distribution Groups (around 120) within my Exchange Environment. Thankfully doing this task via Powershell this is a very simple "one liner". All you need to do is open an Exchange Management Shell Window and Type in the following command: Get-DistributionGroup | Add-DistributionGroupMember […]

Read More