PsSqlLocalDb

PowerShell Wrapper for SqlLocalDB Utility.

View the Project on GitHub abbgrade/PsSqlLocalDb

Get-LocalDbInstance

SYNOPSIS

Returns connection parameters to a available localDb.

SYNTAX

All (Default)

Get-LocalDbInstance [<CommonParameters>]

Single

Get-LocalDbInstance [-Name <String>] [<CommonParameters>]

DESCRIPTION

Uses [SqlLocalDB Utility](https://docs.microsoft.com/en-us/sql/tools/sqllocaldb-utility?view=sql-server-ver15) to get info about the available local db.

EXAMPLES

EXAMPLE 1

Get-LocalDbInstance

[PSCustomObject]

Name Value —- —– Name MSSQLLocalDB Version v11.0

PARAMETERS

-Name

Specifies the name of the instance.

Type: String
Parameter Sets: Single
Aliases:

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.

INPUTS

OUTPUTS

NOTES