Exchange 2007 introduced “Exchange Management Shell (EMS),” built on Windows PowerShell, as a way to automate routine tasks and bulk operations. Shell uses a fairly simple syntax, and helps you perform tasks by using easy-to-understand cmdlets. Exchange 2010 takes it further with many more capabilities, including ability to manage Exchange 2010 servers from a remote computer using Remote Shell. More details in Overview of Exchange Management Shell in Exchange 2010 documentation. In this post, we'll look at how transport rules can be created and managed in Exchange 2007, and how it's been simplified in Exchange 2010. For creating one-off or a small number of transport rules, transport rules wizard in EMC provides an easy-to-use interface. Shell can help you easily automate the process, and consistently create, test and implement transport rules. You can use the tool that best meets your needs.
Full Article: Playing Shell Dojo with Transport Rules