Current CreateDb function leaves a lot to be desired.
In a real environment, if databases are to be created/maintained using xDatabase then it should support more than just $databaseName. Some optional parameters as per T-SQL CREATE DATABASE / ALTER DATABASE I'd like to add are:
- collation_name
- containment_option
- recovery_option
- filespec for primary data file & log file
- name
- size
- maxsize
- filegrowth
Should I be contributing changes/ using https://github.com/PowerShell/xSQLServer instead?