Search This Blog

Thursday, July 9, 2015

New-SPContentDatabase creates database with guid instead of name

Hello if you are trying to create a content DB with a name, but instead SP creates name with GUID - make sure that SQL database is deleted from Management studio, but also that files in the disk also deleted (mdf and log). If files will still be there, powershell will not create DB with that name.