dataplat / dbatools

🚀 SQL Server automation and instance migrations have never been safer, faster or freer
https://dbatools.io
MIT License
2.44k stars 796 forks source link

New-DbaDatabase - Containment #9218

Open ksl28 opened 8 months ago

ksl28 commented 8 months ago

Summarize Functionality

New-DbaDatabase supports specifying the recovery model when creating the database, it would be nice if it also supported setting the containment type from the beginning.

Today i have to first create the database, and then alter it afterwards using Invoke-Dbaquery

Is there a command that is similiar or close to what you are looking for?

Yes

Technical Details

No response