Add export parameter to Initialize-EPiDatabase

Vote:
 

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.

#140770
Oct 29, 2015 16:17
Vote:
 

I found where the sql script are stored:

[ProjectPath]\packages\EPiServer.CMS.Core.9.1.0\tools\EPiServer.Cms.Core.sql

But I still think it would be a great ide'a to be able to export (copy that file) with an export parameter

#140846
Nov 02, 2015 8:18
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.