Skip to content

Commit b413c5e

Browse files
committed
Add AllowDqRemoval parameter to Install-SqlDscServer for SQL Server 2025 upgrade
1 parent 55a450b commit b413c5e

File tree

2 files changed

+11
-0
lines changed

2 files changed

+11
-0
lines changed

CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
77

88
### Added
99

10+
- `Install-SqlDscServer`
11+
- Added parameter `AllowDqRemoval` to the `Upgrade` parameter set
12+
([issue #2155](https://github.com/dsccommunity/SqlServerDsc/issues/2155)).
1013
- `Test-SqlDscIsSupportedFeature`
1114
- Added DQ, DQC, and MDS features as discontinued starting with SQL Server 2025
1215
(17.x) and later versions ([issue #2380](https://github.com/dsccommunity/SqlServerDsc/issues/2380)).

source/Public/Install-SqlDscServer.ps1

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -276,6 +276,10 @@
276276
.PARAMETER AllowUpgradeForSSRSSharePointMode
277277
See the notes section for more information.
278278
279+
.PARAMETER AllowDqRemoval
280+
Specifies whether to allow removal of Data Quality (DQ) Services during
281+
upgrade to SQL Server 2025 (17.x) and later versions.
282+
279283
.PARAMETER NpEnabled
280284
See the notes section for more information.
281285
@@ -994,6 +998,10 @@ function Install-SqlDscServer
994998
[System.Management.Automation.SwitchParameter]
995999
$AllowUpgradeForSSRSSharePointMode,
9961000

1001+
[Parameter(ParameterSetName = 'Upgrade')]
1002+
[System.Management.Automation.SwitchParameter]
1003+
$AllowDqRemoval,
1004+
9971005
[Parameter(ParameterSetName = 'Install')]
9981006
[Parameter(ParameterSetName = 'InstallRole')]
9991007
[System.Management.Automation.SwitchParameter]

0 commit comments

Comments
 (0)