Thanks for sharing. Cmdlets for encryption, sql agent and error log consumption are most welcome.
It would be nice if msdb.dbo.restorehistory was also exposed through a cmdlet to get the last restore known restore date of a database. Also hope to someday replace my rather ugly PS Functions for replication administration, using a combination of RMO and Invoke-Sqlcmd, w/ some slick cmdlets.
Not sure if this one makes sense but would like to see some sort of Set-DatabaseOption function that serves as an alias for ALTER DATABASE .. SET operations. So something like Set-DatabaseOption -Database "happyDB" -Broker "Enabled" -Trustworthy "On" -Read_Commited_Snapshot "On" -PendingTransactions "Wait" (or Fail or -Force rollback)