Skip to content

Test SqlDscIsSupportedFeature

dscbot edited this page Mar 3, 2024 · 2 revisions

Test-SqlDscIsSupportedFeature

SYNOPSIS

Tests that a feature is supported by a Microsoft SQL Server major version.

SYNTAX

Test-SqlDscIsSupportedFeature [-Feature] <String> [-ProductVersion] <String>
 [<CommonParameters>]

DESCRIPTION

Tests that a feature is supported by a Microsoft SQL Server major version.

EXAMPLES

EXAMPLE 1

Test-SqlDscIsSupportedFeature -Feature 'RS' -ProductVersion '13'

Returns $true if the feature is supported.

PARAMETERS

-Feature

Specifies the feature to evaluate.

Type: String
Parameter Sets: (All)
Aliases:

Required: True
Position: 1
Default value: None
Accept pipeline input: True (ByValue)
Accept wildcard characters: False

-ProductVersion

Specifies the product version of the Microsoft SQL Server. At minimum the major version must be provided.

Type: String
Parameter Sets: (All)
Aliases:

Required: True
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.Boolean]

NOTES

RELATED LINKS

Home

General

Commands

Clone this wiki locally