Cmdlets to provide and manage SQL servers for tests.
Returns connection parameter for a SQL server.
New-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.
New-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.