Create a new SharePoint content database from PowerShell
If you still don’t have a content database to move site collection, you need to create it. You can do it via SharePoint Central Administration or via PowerShell. Your account must be at least dbcreator role (better db_owner).
New-SPContentDatabase -Name ContentDbName -WebApplication WebApplicationName
For example
New-SPContentDatabase -Name SPDEVContentDBTest -WebApplication "SharePoint10 - 80"
To see a list of Web Applications of you SharePoint, use command:
Get-SPWebApplication
To see a list of Site Collections in your SharePoint Web Applications, use this code:
$url = http://sp10dev $webapp = "SharePoint10 - 80" Get-SPWebApplication $webapp | Get-SPSite | select id, url

A Hidden Visual Studio Trick: Execute Selected Code with double Ctrl+E
What do to with Zone.Identifier files after importing a WSL machine and copying data
Support for SharePoint Server 2019 ends on Tuesday, July 14, 2026