Releases: dsccommunity/SqlServerDsc
Releases · dsccommunity/SqlServerDsc
v17.2.0-preview0001
[v17.2.0-preview0001]
Added
- Added setup workflow for GitHub Copilot.
- Switch the workflow to use Linux.
- Attempt to unshallow the Copilot branch
Assert-SqlDscLogin
- Added new public command to validate that a specified SQL Server principal
exists as a login, throwing a terminating error if it doesn't exist. - Supports pipeline input and provides detailed error messages with localization.
- Uses
Test-SqlDscIsLogin
command for login validation following module patterns.
- Added new public command to validate that a specified SQL Server principal
Changed
azure-pipelines.yml
- Remove
windows-2019
images fixes #2106. - Move individual tasks to
windows-latest
. - Added integration tests for
Assert-SqlDscLogin
command in Group 2.
- Remove
v17.1.0
[v17.1.0]
Removed
- SqlServerDsc
- Revert workaround in GitHub Actions workflows as new version of ModuleBuilder
was released.
- Revert workaround in GitHub Actions workflows as new version of ModuleBuilder
- SqlServerDsc.Common
- Removed the function
Get-RegistryPropertyValue
,Format-Path
and
Test-PendingRestart
in favor of the commands with the same names in
the module DscResource.Common.
- Removed the function
- SqlRSSetup
- The DSC resource has been refactored into a class-based resource.
- The parameter
SourcePath
was replaced withMediaPath
. - The parameter
IAcceptLicensTerms
was replaced with a boolean parameter
AcceptLicensingTerms
. - The parameter
SourceCredential
was removed. Because of this, the
functionality that allowed copying the media from a UNC path using
those credentials was also removed. If this was something you used,
please open an issue. - The version validation no longer gets the current version from the
installed package (usingGet-Package
), but instead from the registry. - Prior when install was successful, the resource checked whether there
were any pending rename operations. Since the install returns 3010
if a restart is needed it is now assumed that the setup process takes
care of this. If that is not the case, and this check is needed, then
open an issue to discuss in what cases this is needed. - The
Edition
option 'Developmentwas replaced by the value
Developer`. - The read-only properties
CurrentVersion
,ServiceName
andErrorDumpDirectory
were removed.
- The parameter
- The DSC resource has been refactored into a class-based resource.
Added
- Public commands:
Get-SqlDscInstalledInstance
to retrieve installed SQL instances.Get-SqlDscRSSetupConfiguration
to retrieve the setup configuration of
SQL Server Reporting Services or Power BI Report Server (issue #2072).- Add additional properties to
Get-SqlDscRSSetupConfiguration
output.
- Add additional properties to
Install-SqlDscReportingService
to install SQL Server Reporting Services
(issue #2010).- Add
PassThru
parameter to return exit code.
- Add
Install-SqlDscBIReportServer
to install SQL Server BI Report Server.
(issue #2010).- Add
PassThru
parameter to return exit code.
- Add
Repair-SqlDscReportingService
to repair an already installed SQL Server
Reporting Services (issue #2064).- Add
PassThru
parameter to return exit code.
- Add
Repair-SqlDscBIReportServer
to repair an already installed SQL Server
BI Report Server (issue #2064).- Add
PassThru
parameter to return exit code.
- Add
Test-SqlDscRSInstalled
to test whether an instance is installed or not
(issue #2078).Uninstall-SqlDscReportingService
to uninstall SQL Server Reporting
Services (issue #2065).- Add
PassThru
parameter to return exit code.
- Add
Uninstall-SqlDscBIReportServer
to uninstall SQL Server BI Report Server
(issue #2065).- Add
PassThru
parameter to return exit code.
- Add
ConvertTo-SqlDscEditionName
to return the edition name of the specified
edition ID.
- Private function:
Invoke-ReportServerSetupAction
to run setup actions for Reporting
Services and Power BI Report Server.
- Added new instructions for GitHub Copilot that might assist when developing
command and private functions in the module. More instructions should be
added as needed to help generated code and tests.
Changed
- SqlServerDsc
- The examples that was located in the README in the examples folder has
now been moved to the WikiSource folder. The examples are published to
the repository Wiki. The README has been updated to link to the new
location (issue #2051). - Integration test stages has been modified to split the testing into
several different areas. The tests are dependent on this order:- Quality_Test_and_Unit_Test
- Integration_Test_Commands_SqlServer
- Integration_Test_Commands_ReportingServices
- Integration_Test_Commands_BIReportServer
- Integration_Test_Resources_SqlServer
- Integration_Test_Resources_SqlServer_dbatools
- Integration_Test_Resources_ReportingServices
- Integration_Test_Resources_ReportingServices_dbatools
- Update build script path in integration tests.
- Fix style formatting in all PowerShell script files.
- Update module description on GitHub, in the conceptual help, and in
the module manifest. - Now integration tests will fail on an exception when the command
Test-DscConfiguration
is run. - Added Test-SqlDscIsRole to be used like Test-SqlDscIsLogin but tests
for a server role as principal. - Refine and enhance clarity in Copilot instructions.
- The examples that was located in the README in the examples folder has
- SqlSetup
- Fixed issue with AddNode where cluster IP information was not being passed to
setup.exe (issue #1171).
- Fixed issue with AddNode where cluster IP information was not being passed to
- SqlRSSetup
- The DSC resource has been refactored into a class-based resource.
Set-SqlDscServerPermission
- Added support for assigning permissions to a server role.
Fixed
- Fixed workaround for the GitHub Actions to support building module in Windows
PowerShell. - Fix tests to redirect output streams correctly.
- SqlServerDsc
- Fix localization tests.
- Cleanup in unit tests for classes.
- Cleanup in localization string files.
SqlAudit
- Fix localization strings in
Assert
method.
- Fix localization strings in
Save-SqlDscSqlServerMediaFile
- Fix localizations strings that used wrong keys.
- Fix unit tests so they work cross-platform.
Install-SqlDscServer
and private functionInvoke-SetupAction
- Fix localization string keys naming.
- Fix unit tests to use correct localization string names.
- Remove redundant unit tests.
SqlConfiguration
- Change the alias command to real command name, to pass HQRM tests.
SqlDatabaseUser
- Change the alias command to real command name, to pass HQRM tests.
SqlMaxDop
- Change the alias command to real command name, to pass HQRM tests.
SqlMemory
- Change the alias command to real command name, to pass HQRM tests.
SqlReplication
- Change the alias command to real command name, to pass HQRM tests.
SqlRSSetup
- Change the alias command to real command name, to pass HQRM tests.
SqlServiceAccount
- Change the alias command to real command name, to pass HQRM tests.
Get-SqlDscRSSetupConfiguration
- The integration test was updated to verify so that the
CurrentVersion
andProductVersion
strings can be converted to valid versions and
that they always are higher than what we expect.
- The integration test was updated to verify so that the
SqlRS
- Re-enable integration tests.
SqlAG
- Fix SeedingMode existence condition.
SqlAGReplica
- Fix SeedingMode existence condition.
v17.1.0-preview0012
[v17.1.0-preview0012]
Removed
- SqlServerDsc
- Revert workaround in GitHub Actions workflows as new version of ModuleBuilder
was released.
- Revert workaround in GitHub Actions workflows as new version of ModuleBuilder
- SqlServerDsc.Common
- Removed the function
Get-RegistryPropertyValue
,Format-Path
and
Test-PendingRestart
in favor of the commands with the same names in
the module DscResource.Common.
- Removed the function
- SqlRSSetup
- The DSC resource has been refactored into a class-based resource.
- The parameter
SourcePath
was replaced withMediaPath
. - The parameter
IAcceptLicensTerms
was replaced with a boolean parameter
AcceptLicensingTerms
. - The parameter
SourceCredential
was removed. Because of this, the
functionality that allowed copying the media from a UNC path using
those credentials was also removed. If this was something you used,
please open an issue. - The version validation no longer gets the current version from the
installed package (usingGet-Package
), but instead from the registry. - Prior when install was successful, the resource checked whether there
were any pending rename operations. Since the install returns 3010
if a restart is needed it is now assumed that the setup process takes
care of this. If that is not the case, and this check is needed, then
open an issue to discuss in what cases this is needed. - The
Edition
option 'Developmentwas replaced by the value
Developer`. - The read-only properties
CurrentVersion
,ServiceName
andErrorDumpDirectory
were removed.
- The parameter
- The DSC resource has been refactored into a class-based resource.
Added
- Public commands:
Get-SqlDscInstalledInstance
to retrieve installed SQL instances.Get-SqlDscRSSetupConfiguration
to retrieve the setup configuration of
SQL Server Reporting Services or Power BI Report Server (issue #2072).- Add additional properties to
Get-SqlDscRSSetupConfiguration
output.
- Add additional properties to
Install-SqlDscReportingService
to install SQL Server Reporting Services
(issue #2010).- Add
PassThru
parameter to return exit code.
- Add
Install-SqlDscBIReportServer
to install SQL Server BI Report Server.
(issue #2010).- Add
PassThru
parameter to return exit code.
- Add
Repair-SqlDscReportingService
to repair an already installed SQL Server
Reporting Services (issue #2064).- Add
PassThru
parameter to return exit code.
- Add
Repair-SqlDscBIReportServer
to repair an already installed SQL Server
BI Report Server (issue #2064).- Add
PassThru
parameter to return exit code.
- Add
Test-SqlDscRSInstalled
to test whether an instance is installed or not
(issue #2078).Uninstall-SqlDscReportingService
to uninstall SQL Server Reporting
Services (issue #2065).- Add
PassThru
parameter to return exit code.
- Add
Uninstall-SqlDscBIReportServer
to uninstall SQL Server BI Report Server
(issue #2065).- Add
PassThru
parameter to return exit code.
- Add
ConvertTo-SqlDscEditionName
to return the edition name of the specified
edition ID.
- Private function:
Invoke-ReportServerSetupAction
to run setup actions for Reporting
Services and Power BI Report Server.
- Added new instructions for GitHub Copilot that might assist when developing
command and private functions in the module. More instructions should be
added as needed to help generated code and tests.
Changed
- SqlServerDsc
- The examples that was located in the README in the examples folder has
now been moved to the WikiSource folder. The examples are published to
the repository Wiki. The README has been updated to link to the new
location (issue #2051). - Integration test stages has been modified to split the testing into
several different areas. The tests are dependent on this order:- Quality_Test_and_Unit_Test
- Integration_Test_Commands_SqlServer
- Integration_Test_Commands_ReportingServices
- Integration_Test_Commands_BIReportServer
- Integration_Test_Resources_SqlServer
- Integration_Test_Resources_SqlServer_dbatools
- Integration_Test_Resources_ReportingServices
- Integration_Test_Resources_ReportingServices_dbatools
- Update build script path in integration tests.
- Fix style formatting in all PowerShell script files.
- Update module description on GitHub, in the conceptual help, and in
the module manifest. - Now integration tests will fail on an exception when the command
Test-DscConfiguration
is run. - Added Test-SqlDscIsRole to be used like Test-SqlDscIsLogin but tests
for a server role as principal. - Refine and enhance clarity in Copilot instructions.
- The examples that was located in the README in the examples folder has
- SqlSetup
- Fixed issue with AddNode where cluster IP information was not being passed to
setup.exe (issue #1171).
- Fixed issue with AddNode where cluster IP information was not being passed to
- SqlRSSetup
- The DSC resource has been refactored into a class-based resource.
Set-SqlDscServerPermission
- Added support for assigning permissions to a server role.
Fixed
- Fixed workaround for the GitHub Actions to support building module in Windows
PowerShell. - Fix tests to redirect output streams correctly.
- SqlServerDsc
- Fix localization tests.
- Cleanup in unit tests for classes.
- Cleanup in localization string files.
SqlAudit
- Fix localization strings in
Assert
method.
- Fix localization strings in
Save-SqlDscSqlServerMediaFile
- Fix localizations strings that used wrong keys.
- Fix unit tests so they work cross-platform.
Install-SqlDscServer
and private functionInvoke-SetupAction
- Fix localization string keys naming.
- Fix unit tests to use correct localization string names.
- Remove redundant unit tests.
SqlConfiguration
- Change the alias command to real command name, to pass HQRM tests.
SqlDatabaseUser
- Change the alias command to real command name, to pass HQRM tests.
SqlMaxDop
- Change the alias command to real command name, to pass HQRM tests.
SqlMemory
- Change the alias command to real command name, to pass HQRM tests.
SqlReplication
- Change the alias command to real command name, to pass HQRM tests.
SqlRSSetup
- Change the alias command to real command name, to pass HQRM tests.
SqlServiceAccount
- Change the alias command to real command name, to pass HQRM tests.
Get-SqlDscRSSetupConfiguration
- The integration test was updated to verify so that the
CurrentVersion
andProductVersion
strings can be converted to valid versions and
that they always are higher than what we expect.
- The integration test was updated to verify so that the
SqlRS
- Re-enable integration tests.
SqlAG
- Fix SeedingMode existence condition.
SqlAGReplica
- Fix SeedingMode existence condition.
v17.1.0-preview0011
[v17.1.0-preview0011]
Removed
- SqlServerDsc
- Revert workaround in GitHub Actions workflows as new version of ModuleBuilder
was released.
- Revert workaround in GitHub Actions workflows as new version of ModuleBuilder
- SqlServerDsc.Common
- Removed the function
Get-RegistryPropertyValue
,Format-Path
and
Test-PendingRestart
in favor of the commands with the same names in
the module DscResource.Common.
- Removed the function
- SqlRSSetup
- The DSC resource has been refactored into a class-based resource.
- The parameter
SourcePath
was replaced withMediaPath
. - The parameter
IAcceptLicensTerms
was replaced with a boolean parameter
AcceptLicensingTerms
. - The parameter
SourceCredential
was removed. Because of this, the
functionality that allowed copying the media from a UNC path using
those credentials was also removed. If this was something you used,
please open an issue. - The version validation no longer gets the current version from the
installed package (usingGet-Package
), but instead from the registry. - Prior when install was successful, the resource checked whether there
were any pending rename operations. Since the install returns 3010
if a restart is needed it is now assumed that the setup process takes
care of this. If that is not the case, and this check is needed, then
open an issue to discuss in what cases this is needed. - The
Edition
option 'Developmentwas replaced by the value
Developer`. - The read-only properties
CurrentVersion
,ServiceName
andErrorDumpDirectory
were removed.
- The parameter
- The DSC resource has been refactored into a class-based resource.
Added
- Public commands:
Get-SqlDscInstalledInstance
to retrieve installed SQL instances.Get-SqlDscRSSetupConfiguration
to retrieve the setup configuration of
SQL Server Reporting Services or Power BI Report Server (issue #2072).- Add additional properties to
Get-SqlDscRSSetupConfiguration
output.
- Add additional properties to
Install-SqlDscReportingService
to install SQL Server Reporting Services
(issue #2010).- Add
PassThru
parameter to return exit code.
- Add
Install-SqlDscBIReportServer
to install SQL Server BI Report Server.
(issue #2010).- Add
PassThru
parameter to return exit code.
- Add
Repair-SqlDscReportingService
to repair an already installed SQL Server
Reporting Services (issue #2064).- Add
PassThru
parameter to return exit code.
- Add
Repair-SqlDscBIReportServer
to repair an already installed SQL Server
BI Report Server (issue #2064).- Add
PassThru
parameter to return exit code.
- Add
Test-SqlDscRSInstalled
to test whether an instance is installed or not
(issue #2078).Uninstall-SqlDscReportingService
to uninstall SQL Server Reporting
Services (issue #2065).- Add
PassThru
parameter to return exit code.
- Add
Uninstall-SqlDscBIReportServer
to uninstall SQL Server BI Report Server
(issue #2065).- Add
PassThru
parameter to return exit code.
- Add
ConvertTo-SqlDscEditionName
to return the edition name of the specified
edition ID.
- Private function:
Invoke-ReportServerSetupAction
to run setup actions for Reporting
Services and Power BI Report Server.
- Added new instructions for GitHub Copilot that might assist when developing
command and private functions in the module. More instructions should be
added as needed to help generated code and tests.
Changed
- SqlServerDsc
- The examples that was located in the README in the examples folder has
now been moved to the WikiSource folder. The examples are published to
the repository Wiki. The README has been updated to link to the new
location (issue #2051). - Integration test stages has been modified to split the testing into
several different areas. The tests are dependent on this order:- Quality_Test_and_Unit_Test
- Integration_Test_Commands_SqlServer
- Integration_Test_Commands_ReportingServices
- Integration_Test_Commands_BIReportServer
- Integration_Test_Resources_SqlServer
- Integration_Test_Resources_SqlServer_dbatools
- Integration_Test_Resources_ReportingServices
- Integration_Test_Resources_ReportingServices_dbatools
- Update build script path in integration tests.
- Fix style formatting in all PowerShell script files.
- Update module description on GitHub, in the conceptual help, and in
the module manifest. - Now integration tests will fail on an exception when the command
Test-DscConfiguration
is run. - Added Test-SqlDscIsRole to be used like Test-SqlDscIsLogin but tests
for a server role as principal. - Refine and enhance clarity in Copilot instructions.
- The examples that was located in the README in the examples folder has
- SqlSetup
- Fixed issue with AddNode where cluster IP information was not being passed to
setup.exe (issue #1171).
- Fixed issue with AddNode where cluster IP information was not being passed to
- SqlRSSetup
- The DSC resource has been refactored into a class-based resource.
Fixed
- Fixed workaround for the GitHub Actions to support building module in Windows
PowerShell. - Fix tests to redirect output streams correctly.
- SqlServerDsc
- Fix localization tests.
- Cleanup in unit tests for classes.
- Cleanup in localization string files.
SqlAudit
- Fix localization strings in
Assert
method.
- Fix localization strings in
Save-SqlDscSqlServerMediaFile
- Fix localizations strings that used wrong keys.
- Fix unit tests so they work cross-platform.
Install-SqlDscServer
and private functionInvoke-SetupAction
- Fix localization string keys naming.
- Fix unit tests to use correct localization string names.
- Remove redundant unit tests.
SqlConfiguration
- Change the alias command to real command name, to pass HQRM tests.
SqlDatabaseUser
- Change the alias command to real command name, to pass HQRM tests.
SqlMaxDop
- Change the alias command to real command name, to pass HQRM tests.
SqlMemory
- Change the alias command to real command name, to pass HQRM tests.
SqlReplication
- Change the alias command to real command name, to pass HQRM tests.
SqlRSSetup
- Change the alias command to real command name, to pass HQRM tests.
SqlServiceAccount
- Change the alias command to real command name, to pass HQRM tests.
Get-SqlDscRSSetupConfiguration
- The integration test was updated to verify so that the
CurrentVersion
andProductVersion
strings can be converted to valid versions and
that they always are higher than what we expect.
- The integration test was updated to verify so that the
SqlRS
- Re-enable integration tests.
SqlAG
- Fix SeedingMode existence condition.
SqlAGReplica
- Fix SeedingMode existence condition.
v17.1.0-preview0010
[v17.1.0-preview0010]
Removed
- SqlServerDsc.Common
- Removed the function
Get-RegistryPropertyValue
andFormat-Path
in
favor of the commands with the same names in the module DscResource.Common.
- Removed the function
Added
- Public commands:
Get-SqlDscInstalledInstance
to retrieve installed SQL instances.Get-SqlDscRSSetupConfiguration
to retrieve the setup configuration of
SQL Server Reporting Services or Power BI Report Server (issue #2072).- Add additional properties to
Get-SqlDscRSSetupConfiguration
output.
- Add additional properties to
Install-SqlDscReportingService
to install SQL Server Reporting Services
(issue #2010).- Add
PassThru
parameter to return exit code.
- Add
Install-SqlDscBIReportServer
to install SQL Server BI Report Server.
(issue #2010).- Add
PassThru
parameter to return exit code.
- Add
Repair-SqlDscReportingService
to repair an already installed SQL Server
Reporting Services (issue #2064).- Add
PassThru
parameter to return exit code.
- Add
Repair-SqlDscBIReportServer
to repair an already installed SQL Server
BI Report Server (issue #2064).- Add
PassThru
parameter to return exit code.
- Add
Test-SqlDscRSInstalled
to test whether an instance is installed or not
(issue #2078).Uninstall-SqlDscReportingService
to uninstall SQL Server Reporting
Services (issue #2065).- Add
PassThru
parameter to return exit code.
- Add
Uninstall-SqlDscBIReportServer
to uninstall SQL Server BI Report Server
(issue #2065).- Add
PassThru
parameter to return exit code.
- Add
- Private function:
Invoke-ReportServerSetupAction
to run setup actions for Reporting
Services and Power BI Report Server.
- Added new instructions for GitHub Copilot that might assist when developing
command and private functions in the module. More instructions should be
added as needed to help generated code and tests.
Changed
- SqlServerDsc
- The examples that was located in the README in the examples folder has
now been moved to the WikiSource folder. The examples are published to
the repository Wiki. The README has been updated to link to the new
location (issue #2051). - Integration test stages has been modified to split the testing into
several different areas. The tests are dependent on this order:- Quality_Test_and_Unit_Test
- Integration_Test_Commands_SqlServer
- Integration_Test_Commands_ReportingServices
- Integration_Test_Commands_BIReportServer
- Integration_Test_Resources_SqlServer
- Integration_Test_Resources_SqlServer_dbatools
- Integration_Test_Resources_ReportingServices
- Integration_Test_Resources_ReportingServices_dbatools
- Update build script path in integration tests.
- Fix style formatting in all PowerShell script files.
- Update module description on GitHub, in the conceptual help, and in
the module manifest. - Now integration tests will fail on an exception when the command
Test-DscConfiguration
is run. - Added Test-SqlDscIsRole to be used like Test-SqlDscIsLogin but tests for a server role as principal.
- The examples that was located in the README in the examples folder has
- SqlSetup
- Fixed issue with AddNode where cluster IP information was not being passed to
setup.exe (issue #1171).
- Fixed issue with AddNode where cluster IP information was not being passed to
Fixed
- Fixed workaround for the GitHub Actions to support building module in Windows
PowerShell. - SqlServerDsc
- Fix localization tests.
- Cleanup in unit tests for classes.
- Cleanup in localization string files.
SqlAudit
- Fix localization strings in
Assert
method.
- Fix localization strings in
Save-SqlDscSqlServerMediaFile
- Fix localizations strings that used wrong keys.
- Fix unit tests so they work cross-platform.
Install-SqlDscServer
and private functionInvoke-SetupAction
- Fix localization string keys naming.
- Fix unit tests to use correct localization string names.
- Remove redundant unit tests.
SqlConfiguration
- Change the alias command to real command name, to pass HQRM tests.
SqlDatabaseUser
- Change the alias command to real command name, to pass HQRM tests.
SqlMaxDop
- Change the alias command to real command name, to pass HQRM tests.
SqlMemory
- Change the alias command to real command name, to pass HQRM tests.
SqlReplication
- Change the alias command to real command name, to pass HQRM tests.
SqlRSSetup
- Change the alias command to real command name, to pass HQRM tests.
SqlServiceAccount
- Change the alias command to real command name, to pass HQRM tests.
Get-SqlDscRSSetupConfiguration
- The integration test was updated to verify so that the
CurrentVersion
andProductVersion
strings can be converted to valid versions and
that they always are higher than what we expect.
- The integration test was updated to verify so that the
v17.1.0-preview0009
[v17.1.0-preview0009]
Removed
- SqlServerDsc.Common
- Removed the function
Get-RegistryPropertyValue
andFormat-Path
in
favor of the commands with the same names in the module DscResource.Common.
- Removed the function
Added
- Public commands:
Get-SqlDscInstalledInstance
to retrieve installed SQL instances.Get-SqlDscRSSetupConfiguration
to retrieve the setup configuration of
SQL Server Reporting Services or Power BI Report Server (issue #2072).- Add additional properties to
Get-SqlDscRSSetupConfiguration
output.
- Add additional properties to
Install-SqlDscReportingService
to install SQL Server Reporting Services
(issue #2010).Install-SqlDscBIReportServer
to install SQL Server BI Report Server.
(issue #2010).Repair-SqlDscReportingService
to repair an already installed SQL Server
Reporting Services (issue #2064).Repair-SqlDscBIReportServer
to repair an already installed SQL Server
BI Report Server (issue #2064).Test-SqlDscRSInstalled
to test whether an instance is installed or not
(issue #2078).Uninstall-SqlDscReportingService
to uninstall SQL Server Reporting
Services (issue #2065).Uninstall-SqlDscBIReportServer
to uninstall SQL Server BI Report Server
(issue #2065).
- Private function:
Invoke-ReportServerSetupAction
to run setup actions for Reporting
Services and Power BI Report Server.
- Added new instructions for GitHub Copilot that might assist when developing
command and private functions in the module. More instructions should be
added as needed to help generated code and tests.
Changed
- SqlServerDsc
- The examples that was located in the README in the examples folder has
now been moved to the WikiSource folder. The examples are published to
the repository Wiki. The README has been updated to link to the new
location (issue #2051). - Integration test stages has been modified to split the testing into
several different areas. The tests are dependent on this order:- Quality_Test_and_Unit_Test
- Integration_Test_Commands_SqlServer
- Integration_Test_Commands_ReportingServices
- Integration_Test_Commands_BIReportServer
- Integration_Test_Resources_SqlServer
- Integration_Test_Resources_SqlServer_dbatools
- Integration_Test_Resources_ReportingServices
- Integration_Test_Resources_ReportingServices_dbatools
- Update build script path in integration tests.
- Fix style formatting in all PowerShell script files.
- Update module description on GitHub, in the conceptual help, and in
the module manifest. - Now integration tests will fail on an exception when the command
Test-DscConfiguration
is run. - Added Test-SqlDscIsRole to be used like Test-SqlDscIsLogin but tests for a server role as principal.
- The examples that was located in the README in the examples folder has
- SqlSetup
- Fixed issue with AddNode where cluster IP information was not being passed to
setup.exe (issue #1171).
- Fixed issue with AddNode where cluster IP information was not being passed to
Fixed
- Fixed workaround for the GitHub Actions to support building module in Windows
PowerShell. - SqlServerDsc
- Fix localization tests.
- Cleanup in unit tests for classes.
- Cleanup in localization string files.
SqlAudit
- Fix localization strings in
Assert
method.
- Fix localization strings in
Save-SqlDscSqlServerMediaFile
- Fix localizations strings that used wrong keys.
- Fix unit tests so they work cross-platform.
Install-SqlDscServer
and private functionInvoke-SetupAction
- Fix localization string keys naming.
- Fix unit tests to use correct localization string names.
- Remove redundant unit tests.
SqlConfiguration
- Change the alias command to real command name, to pass HQRM tests.
SqlDatabaseUser
- Change the alias command to real command name, to pass HQRM tests.
SqlMaxDop
- Change the alias command to real command name, to pass HQRM tests.
SqlMemory
- Change the alias command to real command name, to pass HQRM tests.
SqlReplication
- Change the alias command to real command name, to pass HQRM tests.
SqlRSSetup
- Change the alias command to real command name, to pass HQRM tests.
SqlServiceAccount
- Change the alias command to real command name, to pass HQRM tests.
Get-SqlDscRSSetupConfiguration
- The integration test was updated to verify so that the
CurrentVersion
andProductVersion
strings can be converted to valid versions and
that they always are higher than what we expect.
- The integration test was updated to verify so that the
v17.1.0-preview0008
[v17.1.0-preview0008]
Removed
- SqlServerDsc.Common
- Removed the function
Get-RegistryPropertyValue
andFormat-Path
in
favor of the commands with the same names in the module DscResource.Common.
- Removed the function
Added
- Public commands:
Get-SqlDscInstalledInstance
to retrieve installed SQL instances.Get-SqlDscRSSetupConfiguration
to retrieve the setup configuration of
SQL Server Reporting Services or Power BI Report Server (issue #2072).- Add additional properties to
Get-SqlDscRSSetupConfiguration
output.
- Add additional properties to
Install-SqlDscReportingService
to install SQL Server Reporting Services
(issue #2010).Install-SqlDscBIReportServer
to install SQL Server BI Report Server.
(issue #2010).Repair-SqlDscReportingService
to repair an already installed SQL Server
Reporting Services (issue #2064).Repair-SqlDscBIReportServer
to repair an already installed SQL Server
BI Report Server (issue #2064).Test-SqlDscRSInstalled
to test whether an instance is installed or not
(issue #2078).Uninstall-SqlDscReportingService
to uninstall SQL Server Reporting
Services (issue #2065).Uninstall-SqlDscBIReportServer
to uninstall SQL Server BI Report Server
(issue #2065).
- Private function:
Invoke-ReportServerSetupAction
to run setup actions for Reporting
Services and Power BI Report Server.
- Added new instructions for GitHub Copilot that might assist when developing
command and private functions in the module. More instructions should be
added as needed to help generated code and tests.
Changed
- SqlServerDsc
- The examples that was located in the README in the examples folder has
now been moved to the WikiSource folder. The examples are published to
the repository Wiki. The README has been updated to link to the new
location (issue #2051). - Integration test stages has been modified to split the testing into
several different areas. The tests are dependent on this order:- Quality_Test_and_Unit_Test
- Integration_Test_Commands_SqlServer
- Integration_Test_Commands_ReportingServices
- Integration_Test_Commands_BIReportServer
- Integration_Test_Resources_SqlServer
- Integration_Test_Resources_SqlServer_dbatools
- Integration_Test_Resources_ReportingServices
- Integration_Test_Resources_ReportingServices_dbatools
- Update build script path in integration tests.
- Fix style formatting in all PowerShell script files.
- Update module description on GitHub, in the conceptual help, and in
the module manifest. - Now integration tests will fail on an exception when the command
Test-DscConfiguration
is run. - Added Test-SqlDscIsRole to be used like Test-SqlDscIsLogin but tests for a server role as principal.
- The examples that was located in the README in the examples folder has
- SqlSetup
- Fixed issue with AddNode where cluster IP information was not being passed to
setup.exe (issue #1171).
- Fixed issue with AddNode where cluster IP information was not being passed to
Fixed
- Fixed workaround for the GitHub Actions to support building module in Windows
PowerShell. - SqlServerDsc
- Fix localization tests.
SqlAudit
- Fix localization strings in
Assert
method.
- Fix localization strings in
Save-SqlDscSqlServerMediaFile
- Fix localizations strings that used wrong keys.
- Fix unit tests so they work cross-platform.
Install-SqlDscServer
and private functionInvoke-SetupAction
- Fix localization string keys naming.
- Fix unit tests to use correct localization string names.
- Remove redundant unit tests.
SqlConfiguration
- Change the alias command to real command name, to pass HQRM tests.
SqlDatabaseUser
- Change the alias command to real command name, to pass HQRM tests.
SqlMaxDop
- Change the alias command to real command name, to pass HQRM tests.
SqlMemory
- Change the alias command to real command name, to pass HQRM tests.
SqlReplication
- Change the alias command to real command name, to pass HQRM tests.
SqlRSSetup
- Change the alias command to real command name, to pass HQRM tests.
SqlServiceAccount
- Change the alias command to real command name, to pass HQRM tests.
Get-SqlDscRSSetupConfiguration
- The integration test was updated to verify so that the
CurrentVersion
andProductVersion
strings can be converted to valid versions and
that they always are higher than what we expect.
- The integration test was updated to verify so that the
v17.1.0-preview0007
[v17.1.0-preview0007]
Removed
- SqlServerDsc.Common
- Removed the function
Get-RegistryPropertyValue
andFormat-Path
in
favor of the commands with the same names in the module DscResource.Common.
- Removed the function
Added
- Public commands:
Get-SqlDscInstalledInstance
to retrieve installed SQL instances.Get-SqlDscRSSetupConfiguration
to retrieve the setup configuration of
SQL Server Reporting Services or Power BI Report Server (issue #2072).Install-SqlDscReportingService
to install SQL Server Reporting Services
(issue #2010).Install-SqlDscBIReportServer
to install SQL Server BI Report Server.
(issue #2010).Repair-SqlDscReportingService
to repair an already installed SQL Server
Reporting Services (issue #2064).Repair-SqlDscBIReportServer
to repair an already installed SQL Server
BI Report Server (issue #2064).Test-SqlDscRSInstalled
to test whether an instance is installed or not
(issue #2078).Uninstall-SqlDscReportingService
to uninstall SQL Server Reporting
Services (issue #2065).Uninstall-SqlDscBIReportServer
to uninstall SQL Server BI Report Server
(issue #2065).
- Private function:
Invoke-ReportServerSetupAction
to run setup actions for Reporting
Services and Power BI Report Server.
- Added new instructions for GitHub Copilot that might assist when developing
command and private functions in the module. More instructions should be
added as needed to help generated code and tests.
Changed
- SqlServerDsc
- The examples that was located in the README in the examples folder has
now been moved to the WikiSource folder. The examples are published to
the repository Wiki. The README has been updated to link to the new
location (issue #2051). - Integration test stages has been modified to split the testing into
several different areas. The tests are dependent on this order:- Quality_Test_and_Unit_Test
- Integration_Test_Commands_SqlServer
- Integration_Test_Commands_ReportingServices
- Integration_Test_Commands_BIReportServer
- Integration_Test_Resources_SqlServer
- Integration_Test_Resources_SqlServer_dbatools
- Integration_Test_Resources_ReportingServices
- Integration_Test_Resources_ReportingServices_dbatools
- Update build script path in integration tests.
- Fix style formatting in all PowerShell script files.
- Update module description on GitHub, in the conceptual help, and in
the module manifest. - Added Test-SqlDscIsRole to be used like Test-SqlDscIsLogin but tests for a server role as principal.
- The examples that was located in the README in the examples folder has
- SqlSetup
- Fixed issue with AddNode where cluster IP information was not being passed to
setup.exe (issue #1171).
- Fixed issue with AddNode where cluster IP information was not being passed to
Fixed
- Fixed workaround for the GitHub Actions to support building module in Windows
PowerShell. - SqlServerDsc
- Fix localization tests.
SqlAudit
- Fix localization strings in
Assert
method.
- Fix localization strings in
Save-SqlDscSqlServerMediaFile
- Fix localizations strings that used wrong keys.
- Fix unit tests so they work cross-platform.
Install-SqlDscServer
and private functionInvoke-SetupAction
- Fix localization string keys naming.
- Fix unit tests to use correct localization string names.
- Remove redundant unit tests.
SqlConfiguration
- Change the alias command to real command name, to pass HQRM tests.
SqlDatabaseUser
- Change the alias command to real command name, to pass HQRM tests.
SqlMaxDop
- Change the alias command to real command name, to pass HQRM tests.
SqlMemory
- Change the alias command to real command name, to pass HQRM tests.
SqlReplication
- Change the alias command to real command name, to pass HQRM tests.
SqlRSSetup
- Change the alias command to real command name, to pass HQRM tests.
SqlServiceAccount
- Change the alias command to real command name, to pass HQRM tests.
v17.1.0-preview0006
[v17.1.0-preview0006]
Removed
- SqlServerDsc.Common
- Removed the function
Get-RegistryPropertyValue
andFormat-Path
in
favor of the commands with the same names in the module DscResource.Common.
- Removed the function
Added
- Public commands:
Get-SqlDscInstalledInstance
to retrieve installed SQL instances.Get-SqlDscRSSetupConfiguration
to retrieve the setup configuration of
SQL Server Reporting Services or Power BI Report Server (issue #2072).Install-SqlDscReportingService
to install SQL Server Reporting Services
(issue #2010).Install-SqlDscBIReportServer
to install SQL Server BI Report Server.
(issue #2010).Repair-SqlDscReportingService
to repair an already installed SQL Server
Reporting Services (issue #2064).Repair-SqlDscBIReportServer
to repair an already installed SQL Server
BI Report Server (issue #2064).Test-SqlDscRSInstalled
to test whether an instance is installed or not
(issue #2078).Uninstall-SqlDscReportingService
to uninstall SQL Server Reporting
Services (issue #2065).Uninstall-SqlDscBIReportServer
to uninstall SQL Server BI Report Server
(issue #2065).
- Private function:
Invoke-ReportServerSetupAction
to run setup actions for Reporting
Services and Power BI Report Server.
- Added new instructions for GitHub Copilot that might assist when developing
command and private functions in the module. More instructions should be
added as needed to help generated code and tests.
Changed
- SqlServerDsc
- The examples that was located in the README in the examples folder has
now been moved to the WikiSource folder. The examples are published to
the repository Wiki. The README has been updated to link to the new
location (issue #2051). - Integration test stages has been modified to split the testing into
several different areas. The tests are dependent on this order:- Quality_Test_and_Unit_Test
- Integration_Test_Commands_SqlServer
- Integration_Test_Commands_ReportingServices
- Integration_Test_Commands_BIReportServer
- Integration_Test_Resources_SqlServer
- Integration_Test_Resources_SqlServer_dbatools
- Integration_Test_Resources_ReportingServices
- Integration_Test_Resources_ReportingServices_dbatools
- Update build script path in integration tests.
- Fix style formatting in all PowerShell script files.
- Update module description on GitHub, in the conceptual help, and in
the module manifest.
- The examples that was located in the README in the examples folder has
- SqlSetup
- Fixed issue with AddNode where cluster IP information was not being passed to
setup.exe (issue #1171).
- Fixed issue with AddNode where cluster IP information was not being passed to
Fixed
- Fixed workaround for the GitHub Actions to support building module in Windows
PowerShell. - SqlServerDsc
- Fix localization tests.
SqlAudit
- Fix localization strings in
Assert
method.
- Fix localization strings in
Save-SqlDscSqlServerMediaFile
- Fix localizations strings that used wrong keys.
- Fix unit tests so they work cross-platform.
Install-SqlDscServer
and private functionInvoke-SetupAction
- Fix localization string keys naming.
- Fix unit tests to use correct localization string names.
- Remove redundant unit tests.
SqlConfiguration
- Change the alias command to real command name, to pass HQRM tests.
SqlDatabaseUser
- Change the alias command to real command name, to pass HQRM tests.
SqlMaxDop
- Change the alias command to real command name, to pass HQRM tests.
SqlMemory
- Change the alias command to real command name, to pass HQRM tests.
SqlReplication
- Change the alias command to real command name, to pass HQRM tests.
SqlRSSetup
- Change the alias command to real command name, to pass HQRM tests.
SqlServiceAccount
- Change the alias command to real command name, to pass HQRM tests.
v17.1.0-preview0005
[v17.1.0-preview0005]
Removed
- SqlServerDsc.Common
- Removed the function
Get-RegistryPropertyValue
in favor of the command
with the same name in the module DscResource.Common.
- Removed the function
Added
- Public commands:
Get-SqlDscInstalledInstance
to retrieve installed SQL instances.Get-SqlDscRSSetupConfiguration
to retrieve the setup configuration of
SQL Server Reporting Services or Power BI Report Server (issue #2072).Install-SqlDscReportingService
to install SQL Server Reporting Services
(issue #2010).Install-SqlDscBIReportServer
to install SQL Server BI Report Server.
(issue #2010).Repair-SqlDscReportingService
to repair an already installed SQL Server
Reporting Services (issue #2064).Repair-SqlDscBIReportServer
to repair an already installed SQL Server
BI Report Server (issue #2064).Test-SqlDscRSInstalled
to test whether an instance is installed or not
(issue #2078).Uninstall-SqlDscReportingService
to uninstall SQL Server Reporting
Services (issue #2065).Uninstall-SqlDscBIReportServer
to uninstall SQL Server BI Report Server
(issue #2065).
- Private function:
Invoke-ReportServerSetupAction
to run setup actions for Reporting
Services and Power BI Report Server.
- Added new instructions for GitHub Copilot that might assist when developing
command and private functions in the module. More instructions should be
added as needed to help generated code and tests.
Changed
- SqlServerDsc
- The examples that was located in the README in the examples folder has
now been moved to the WikiSource folder. The examples are published to
the repository Wiki. The README has been updated to link to the new
location (issue #2051). - Integration test stages has been modified to split the testing into
several different areas. The tests are dependent on this order:- Quality_Test_and_Unit_Test
- Integration_Test_Commands_SqlServer
- Integration_Test_Commands_ReportingServices
- Integration_Test_Commands_BIReportServer
- Integration_Test_Resources_SqlServer
- Integration_Test_Resources_SqlServer_dbatools
- Integration_Test_Resources_ReportingServices
- Integration_Test_Resources_ReportingServices_dbatools
- Update build script path in integration tests.
- Fix style formatting in all PowerShell script files.
- Update module description on GitHub, in the conceptual help, and in
the module manifest.
- The examples that was located in the README in the examples folder has
- SqlSetup
- Fixed issue with AddNode where cluster IP information was not being passed to
setup.exe (issue #1171).
- Fixed issue with AddNode where cluster IP information was not being passed to
Fixed
- Fixed workaround for the GitHub Actions to support building module in Windows
PowerShell. - SqlServerDsc
- Fix localization tests.
SqlAudit
- Fix localization strings in
Assert
method.
- Fix localization strings in
Save-SqlDscSqlServerMediaFile
- Fix localizations strings that used wrong keys.
- Fix unit tests so they work cross-platform.
Install-SqlDscServer
and private functionInvoke-SetupAction
- Fix localization string keys naming.
- Fix unit tests to use correct localization string names.
- Remove redundant unit tests.
SqlConfiguration
- Change the alias command to real command name, to pass HQRM tests.
SqlDatabaseUser
- Change the alias command to real command name, to pass HQRM tests.
SqlMaxDop
- Change the alias command to real command name, to pass HQRM tests.
SqlMemory
- Change the alias command to real command name, to pass HQRM tests.
SqlReplication
- Change the alias command to real command name, to pass HQRM tests.
SqlRSSetup
- Change the alias command to real command name, to pass HQRM tests.
SqlServiceAccount
- Change the alias command to real command name, to pass HQRM tests.