Cmdlets to provide and manage SQL servers for tests.
Returns connection parameter for a SQL server.
Get-SqlTestInstance [<CommonParameters>]
Checks different versions of local db or creates a Docker container with a SQL server installed. Returns a object with the properties DataSource and ConnectionString.
Get-SqlTestInstance
ConnectionString DataSource
---------------- ----------
Data Source=(LocalDb)\MSSQLLocalDB;Integrated Security=True (LocalDb)\MSSQLLocalDB
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.