Get‑SqlDscInstalledInstance - dsccommunity/SqlServerDsc GitHub Wiki
Returns the installed instances on the current node.
Get-SqlDscInstalledInstance [[-InstanceName] <String>] [[-ServiceType] <String[]>]
[<CommonParameters>]
Returns the installed instances on the current node.
Get-SqlDscInstalledInstance
Returns all installed instances.
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
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
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.