Hi - this script is awesome!!
I had written similar kind of script to script some objects. however recently I am facing issue while running it on SQL server 2012.
It is not generating desired scripts of db objects. Do you see any issue. of assemblies or anything else.
If i run that in powershell session it runs very fine but problem is from SQL Server.