Skip to content

Get‑SqlDscInstalledInstance

dscbot edited this page Mar 12, 2025 · 1 revision

SYNOPSIS

Returns the installed instances on the current node.

SYNTAX

Get-SqlDscInstalledInstance [[-InstanceName] <String>] [[-ServiceType] <String[]>]
 [<CommonParameters>]

DESCRIPTION

Returns the installed instances on the current node.

EXAMPLES

EXAMPLE 1

Get-SqlDscInstalledInstance

Returns all installed instances.

PARAMETERS

-InstanceName

Specifies the instance name to return instances for.

Type: String
Parameter Sets: (All)
Aliases:

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

-ServiceType

Specifies the service type to filter instances by. Valid values are 'DatabaseEngine', 'AnalysisServices', and 'ReportingServices'.

Type: String[]
Parameter Sets: (All)
Aliases:

Required: False
Position: 2
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

[System.Object[]]

NOTES

RELATED LINKS

Home

Commands

Resources

Usage

Clone this wiki locally