I recently mentioned the PowerShell scripts for SQL Server on codeplex - http://richardsiddaway.spaces.live.com/blog/cns!43CFA46A74CF3E96!1602.entry There has been a new release so now you can work with Tables, Stored Procedures, Views, User Defined Data...