Managing Exchange Server 2010 – A PowerShell Approach (Part 1)

Managing Exchange Server 2010 – A PowerShell Approach (Part 1)

Main challenges faced by most of the Exchange Administrators are to keep a track of Exchange Management Shell Commands and its usability. And a Best way I found is to go through them by keeping Exchange Management Console as a reference. And another thumb rule is, One can only learn or understand PowerShell by consistent practice and for practice I will try to make use of our Microsoft Virtual Labs wherever possible and thus making it easier to all to follow with no extra overhead.

So let’s first start with Organizational Level for each role.

And to start with Lets take Mailbox Server Role, and following are the actions possible.

 Organization Configuration --> Mailbox

  1. Database Management
  2. Database Availability Groups
  3. Sharing Policies
  4. Offline Address Book
  5. Retention Policies
  6. Retention Policy Tags
  7. Address Lists

 So, Let’s take each in detail

1) Database Management

Commands as well as Scripts that are available for Database Management are as follows:

Commands

Get-MailboxDatabase
Get-PublicFolderDatabase
Set-MailboxDatabase
Set-PublicFolderDatabase
New-MailboxDatabase
Remove-MailboxDatabase
New-PublicFolderDatabase
New-PublicFolderDatabaseRepairRequest
Mount-Database
Dismount-Database
Clean-MailboxDatabase
Move-DatabasePath

Scripts

GetDatabaseForSearchIndex.ps1
GetSearchIndexForDatabase.ps1
Troubleshoot-DatabaseLatency.ps1
Troubleshoot-DatabaseSpace.ps1

Let’s take a closer look on each in the coming parts.

Stay tuned!

Managing Exchange Server 2010 – A PowerShell Approach (Part 2)
https://blogs.technet.com/b/ashwinexchange/archive/2012/06/21/managing-exchange-server-2010-a-powershell-approach-part-2.aspx