I ended up in a situation today where I needed to initialize a new EPiServer database in a enviroment where I did have access to it through RDP but not directly to the SQL server so I was not able to run Initialize-EPiDatabase to the newly created database.
So, I am wondering if there is possible to add a feature to this command that instead of running the script against a database export the script to a user defined place.
This would have made it possible to ge the script through Initialize-EPiDatabase and then running the sql script by myself through the RDP.
I found where the sql script are stored:
But I still think it would be a great ide'a to be able to export (copy that file) with an export parameter