Test SqlDscIsSupportedFeature - dsccommunity/SqlServerDsc GitHub Wiki
Tests that a feature is supported by a Microsoft SQL Server major version.
Test-SqlDscIsSupportedFeature [-Feature] <String> [-ProductVersion] <String>
[<CommonParameters>]
Tests that a feature is supported by a Microsoft SQL Server major version.
Test-SqlDscIsSupportedFeature -Feature 'RS' -ProductVersion '13'
Returns $true if the feature is supported.
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
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
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.