Skip to content

Commit 9bf5f46

Browse files
authored
New-SqlDscDatabase: Add more properties (#2356)
1 parent 0b14da4 commit 9bf5f46

11 files changed

+1323
-175
lines changed

CHANGELOG.md

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

66
## [Unreleased]
77

8+
### Added
9+
10+
- `New-SqlDscDatabase`
11+
- Added comprehensive set of settable database properties that were previously
12+
only available in `Set-SqlDscDatabaseProperty`
13+
([issue #2190](https://github.com/dsccommunity/SqlServerDsc/issues/2190)).
14+
15+
### Changed
16+
17+
- `Set-SqlDscDatabaseProperty`
18+
- Updated comment-based help to reference correct enum values.
19+
- Added SQL Server version requirements to version-specific parameter help.
20+
21+
### Fixed
22+
23+
- `New-SqlDscDatabase`
24+
- Fixed parameter types for database-scoped configuration properties from
25+
`System.Boolean` to `Microsoft.SqlServer.Management.Smo.DatabaseScopedConfigurationOnOff`
26+
to match SMO property types and support all valid values (Off, On, Primary)
27+
([issue #2190](https://github.com/dsccommunity/SqlServerDsc/issues/2190)).
28+
- Fixed parameter types for boolean database properties from `System.Boolean` to
29+
`System.Management.Automation.SwitchParameter` to follow PowerShell best practices.
30+
([issue #2190](https://github.com/dsccommunity/SqlServerDsc/issues/2190)).
31+
- `Set-SqlDscDatabaseProperty`
32+
- Fixed parameter types for database-scoped configuration properties from
33+
`System.Boolean` to `Microsoft.SqlServer.Management.Smo.DatabaseScopedConfigurationOnOff`
34+
to match SMO property types and support all valid values (Off, On, Primary)
35+
([issue #2190](https://github.com/dsccommunity/SqlServerDsc/issues/2190)).
36+
- Fixed parameter types for boolean database properties from `System.Boolean` to
37+
`System.Management.Automation.SwitchParameter` to follow PowerShell best practices.
38+
([issue #2190](https://github.com/dsccommunity/SqlServerDsc/issues/2190)).
39+
840
## [17.3.0] - 2025-12-01
941

1042
### Removed

0 commit comments

Comments
 (0)