Exchange 2010 Powershell Scripting Resources

Exchange 2010 Powershell Scripting Resources


Use of the Exchange Management Shell can simplify your day to day administration tasks and allow you to automate complex procedures on Exchange 2010. When you begin using Powershell, it may seem daunting, but after learning the basics, you will soon grow to appreciate the flexibility Powershell provides and how you can help ensure routine tasks are always accomplished in a consistent way.


 


Getting Started


Before beginning with Exchange Management Shell scripting, it's worth getting a little bit of an introduction into Powershell so you can understand the basics about how to use it, and why it will be useful to you both for command-line administration and scripting. The TechEd Europe 2010 session "Windows Powershell for Beginners" is a fantastic introduction to Powershell in general, aimed at Windows administrators who've never used it before:

Windows Powershell for Beginners

After gaining a basic understanding of Powershell, the next step is to understand a little about the Exchange Management Shell and the cmdlets available:
After gaining both an understanding of Powershell and the Exchange Management commands available you should now be ready to start managing your Exchange environment using the Exchange Management Shell. As you get started, you may find it easier to example the Completion page when performing tasks in the Exchange Management Console GUI. The Completion page will show you the command used to perform the action, which you can then use examples to perform the same tasks on the shell.

Once you're confident managing some aspects of Exchange using the Management Shell, you are probably ready to start writing your first scripts. Although you can use Notepad, you may find dedicated Powershell editors far better to write scripts with:
Finally, to learn how to run scripts, or schedule them to run automatically, check out the TechNet article Scripting with the Exchange Management Shell.


Script Repositories and Blogs


Don't re-invent the wheel when it comes to automating your Exchange environment with scripts. If you're doing something fairly common, then there's a good chance someone has already done it before. Even if you're doing something a little more unusual, you may find existing scripts that point you in the right direction, accomplish a part of what you are trying to do, or simply teach you a better way of accomplishing something.

And if you've written a script you think might be useful for someone else, share it with the world!

Exchange 2010 Specific Script Repositories

General Powershell Script Repositories

Exchange Blogs Featuring Powershell Scripts


Getting Help


If you're struggling to find out what an error message means, or are unsure about whether something can be accomplished (or the best way to approach it), you'll find help available on the Technet Forums:

See Also


To learn more about Powershell in general, check out the Windows PowerShell Survival Guide wiki page. The survival guide provides comprehensive links to assist with getting started and learning more about Powershell technologies.
Leave a Comment
  • Please add 1 and 5 and type the answer here:
  • Post
Wiki - Revision Comment List(Revision Comment)
Sort by: Published Date | Most Recent | Most Useful
Comments
  • Richard Mueller edited Revision 13. Comment: Fixed zeros in <a name> tag in heading so TOC works properly, added tags

  • Richard Mueller edited Revision 12. Comment: Added TOC

  • Richard Mueller edited Revision 11. Comment: Removed (en-US) from title

  • Craig Lussier edited Revision 9. Comment: added en-US to tags and title

  • [MT] edited Revision 8. Comment: Fix link

  • Henrik Walther edited Revision 4. Comment: Fixed misc. formatting and inserted Exchange logo

Page 1 of 1 (6 items)
Wikis - Comment List
Sort by: Published Date | Most Recent | Most Useful
Posting comments is temporarily disabled until 10:00am PST on Saturday, December 14th. Thank you for your patience.
Comments
  • Henrik Walther edited Revision 4. Comment: Fixed misc. formatting and inserted Exchange logo

  • [MT] edited Revision 8. Comment: Fix link

  • Craig Lussier edited Revision 9. Comment: added en-US to tags and title

  • Good reference !

  • Richard Mueller edited Revision 11. Comment: Removed (en-US) from title

  • Richard Mueller edited Revision 12. Comment: Added TOC

  • Richard Mueller edited Revision 13. Comment: Fixed zeros in <a name> tag in heading so TOC works properly, added tags

Page 1 of 1 (7 items)