SQL Server scripts
Idera have published a set of PowerShell example scripts for working with SQL Server. They can be downloaded (free) from www.idera.com Check the bottom of the products menu for PowerShell scripts.
They give a good introduction to working with Powershell and SQL Server – recommended.
Read the complete post at http://richardsiddaway.spaces.live.com/Blog/cns!43CFA46A74CF3E96!1991.entry