Install-Module PsDac -AllowClobber
Import-Module PsDac -Prefix Dac
Connect-DacService 'server=(local);trusted_connection=true'
$dacpac = Import-DacPackage test.dacpac
Install-DacPackage $dacpac -DatabaseName Test
- Install-DacPackage: Unable to determine the existence of database 'Test'. You must have a user with the same password in master or database 'Test'.