Partager via


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

Comments

  • Anonymous
    January 01, 2003
    Good...looking forward :)

  • Anonymous
    June 20, 2012
    Good approach to have all the scripts at the single place - handy for admins

  • Anonymous
    June 20, 2012
    Good to share the Scipting information of Exchange 2010. Good start.

  • Anonymous
    June 21, 2012
    Very good man..liked it

  • Anonymous
    June 22, 2012
    Splendid way to organize commands, keep up the good work ;-) Looking forward to see more from your hand.

  • Anonymous
    June 22, 2012
    Hey as is said earlier my friend...! Let it Flow...! it is to good...!

  • Anonymous
    June 22, 2012
    Good one...Keep up the good work!

  • Anonymous
    June 26, 2012
    Nice thinking, keep moving

  • Anonymous
    June 28, 2012
    Good one!