Skip to content

Releases: dsccommunity/SqlServerDsc

v17.2.0-preview0001

03 Aug 13:15
9305e16
Compare
Choose a tag to compare
v17.2.0-preview0001 Pre-release
Pre-release

[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.

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.

v17.1.0

22 May 18:11
fc2b89f
Compare
Choose a tag to compare

[v17.1.0]

Removed

  • SqlServerDsc
    • Revert workaround in GitHub Actions workflows as new version of ModuleBuilder
      was released.
  • 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.
  • SqlRSSetup
    • The DSC resource has been refactored into a class-based resource.
      • The parameter SourcePath was replaced with MediaPath.
      • 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 (using Get-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 valueDeveloper`.
      • The read-only properties CurrentVersion, ServiceName and ErrorDumpDirectory
        were removed.

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.
    • Install-SqlDscReportingService to install SQL Server Reporting Services
      (issue #2010).
      • Add PassThru parameter to return exit code.
    • Install-SqlDscBIReportServer to install SQL Server BI Report Server.
      (issue #2010).
      • Add PassThru parameter to return exit code.
    • Repair-SqlDscReportingService to repair an already installed SQL Server
      Reporting Services (issue #2064).
      • Add PassThru parameter to return exit code.
    • Repair-SqlDscBIReportServer to repair an already installed SQL Server
      BI Report Server (issue #2064).
      • Add PassThru parameter to return exit code.
    • 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.
    • Uninstall-SqlDscBIReportServer to uninstall SQL Server BI Report Server
      (issue #2065).
      • Add PassThru parameter to return exit code.
    • 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.
  • SqlSetup
    • Fixed issue with AddNode where cluster IP information was not being passed to
      setup.exe (issue #1171).
  • 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.
  • Save-SqlDscSqlServerMediaFile
    • Fix localizations strings that used wrong keys.
    • Fix unit tests so they work cross-platform.
  • Install-SqlDscServer and private function Invoke-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
      and ProductVersion strings can be converted to valid versions and
      that they always are higher than what we expect.
  • SqlRS
    • Re-enable integration tests.
  • SqlAG
    • Fix SeedingMode existence condition.
  • SqlAGReplica
    • Fix SeedingMode existence condition.

v17.1.0-preview0012

02 May 11:53
fc2b89f
Compare
Choose a tag to compare
v17.1.0-preview0012 Pre-release
Pre-release

[v17.1.0-preview0012]

Removed

  • SqlServerDsc
    • Revert workaround in GitHub Actions workflows as new version of ModuleBuilder
      was released.
  • 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.
  • SqlRSSetup
    • The DSC resource has been refactored into a class-based resource.
      • The parameter SourcePath was replaced with MediaPath.
      • 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 (using Get-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 valueDeveloper`.
      • The read-only properties CurrentVersion, ServiceName and ErrorDumpDirectory
        were removed.

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.
    • Install-SqlDscReportingService to install SQL Server Reporting Services
      (issue #2010).
      • Add PassThru parameter to return exit code.
    • Install-SqlDscBIReportServer to install SQL Server BI Report Server.
      (issue #2010).
      • Add PassThru parameter to return exit code.
    • Repair-SqlDscReportingService to repair an already installed SQL Server
      Reporting Services (issue #2064).
      • Add PassThru parameter to return exit code.
    • Repair-SqlDscBIReportServer to repair an already installed SQL Server
      BI Report Server (issue #2064).
      • Add PassThru parameter to return exit code.
    • 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.
    • Uninstall-SqlDscBIReportServer to uninstall SQL Server BI Report Server
      (issue #2065).
      • Add PassThru parameter to return exit code.
    • 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.
  • SqlSetup
    • Fixed issue with AddNode where cluster IP information was not being passed to
      setup.exe (issue #1171).
  • 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.
  • Save-SqlDscSqlServerMediaFile
    • Fix localizations strings that used wrong keys.
    • Fix unit tests so they work cross-platform.
  • Install-SqlDscServer and private function Invoke-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
      and ProductVersion strings can be converted to valid versions and
      that they always are higher than what we expect.
  • SqlRS
    • Re-enable integration tests.
  • SqlAG
    • Fix SeedingMode existence condition.
  • SqlAGReplica
    • Fix SeedingMode existence condition.

v17.1.0-preview0011

01 May 23:58
603095d
Compare
Choose a tag to compare
v17.1.0-preview0011 Pre-release
Pre-release

[v17.1.0-preview0011]

Removed

  • SqlServerDsc
    • Revert workaround in GitHub Actions workflows as new version of ModuleBuilder
      was released.
  • 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.
  • SqlRSSetup
    • The DSC resource has been refactored into a class-based resource.
      • The parameter SourcePath was replaced with MediaPath.
      • 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 (using Get-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 valueDeveloper`.
      • The read-only properties CurrentVersion, ServiceName and ErrorDumpDirectory
        were removed.

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.
    • Install-SqlDscReportingService to install SQL Server Reporting Services
      (issue #2010).
      • Add PassThru parameter to return exit code.
    • Install-SqlDscBIReportServer to install SQL Server BI Report Server.
      (issue #2010).
      • Add PassThru parameter to return exit code.
    • Repair-SqlDscReportingService to repair an already installed SQL Server
      Reporting Services (issue #2064).
      • Add PassThru parameter to return exit code.
    • Repair-SqlDscBIReportServer to repair an already installed SQL Server
      BI Report Server (issue #2064).
      • Add PassThru parameter to return exit code.
    • 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.
    • Uninstall-SqlDscBIReportServer to uninstall SQL Server BI Report Server
      (issue #2065).
      • Add PassThru parameter to return exit code.
    • 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.
  • SqlSetup
    • Fixed issue with AddNode where cluster IP information was not being passed to
      setup.exe (issue #1171).
  • 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.
  • Save-SqlDscSqlServerMediaFile
    • Fix localizations strings that used wrong keys.
    • Fix unit tests so they work cross-platform.
  • Install-SqlDscServer and private function Invoke-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
      and ProductVersion strings can be converted to valid versions and
      that they always are higher than what we expect.
  • SqlRS
    • Re-enable integration tests.
  • SqlAG
    • Fix SeedingMode existence condition.
  • SqlAGReplica
    • Fix SeedingMode existence condition.

v17.1.0-preview0010

07 Apr 08:24
f9eda7b
Compare
Choose a tag to compare
v17.1.0-preview0010 Pre-release
Pre-release

[v17.1.0-preview0010]

Removed

  • SqlServerDsc.Common
    • Removed the function Get-RegistryPropertyValue and Format-Path in
      favor of the commands with the same names in the module DscResource.Common.

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.
    • Install-SqlDscReportingService to install SQL Server Reporting Services
      (issue #2010).
      • Add PassThru parameter to return exit code.
    • Install-SqlDscBIReportServer to install SQL Server BI Report Server.
      (issue #2010).
      • Add PassThru parameter to return exit code.
    • Repair-SqlDscReportingService to repair an already installed SQL Server
      Reporting Services (issue #2064).
      • Add PassThru parameter to return exit code.
    • Repair-SqlDscBIReportServer to repair an already installed SQL Server
      BI Report Server (issue #2064).
      • Add PassThru parameter to return exit code.
    • 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.
    • Uninstall-SqlDscBIReportServer to uninstall SQL Server BI Report Server
      (issue #2065).
      • Add PassThru parameter to return exit code.
  • 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.
  • SqlSetup
    • Fixed issue with AddNode where cluster IP information was not being passed to
      setup.exe (issue #1171).

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.
  • Save-SqlDscSqlServerMediaFile
    • Fix localizations strings that used wrong keys.
    • Fix unit tests so they work cross-platform.
  • Install-SqlDscServer and private function Invoke-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
      and ProductVersion strings can be converted to valid versions and
      that they always are higher than what we expect.

v17.1.0-preview0009

06 Apr 18:19
37b433c
Compare
Choose a tag to compare
v17.1.0-preview0009 Pre-release
Pre-release

[v17.1.0-preview0009]

Removed

  • SqlServerDsc.Common
    • Removed the function Get-RegistryPropertyValue and Format-Path in
      favor of the commands with the same names in the module DscResource.Common.

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.
    • 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.
  • SqlSetup
    • Fixed issue with AddNode where cluster IP information was not being passed to
      setup.exe (issue #1171).

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.
  • Save-SqlDscSqlServerMediaFile
    • Fix localizations strings that used wrong keys.
    • Fix unit tests so they work cross-platform.
  • Install-SqlDscServer and private function Invoke-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
      and ProductVersion strings can be converted to valid versions and
      that they always are higher than what we expect.

v17.1.0-preview0008

04 Apr 21:19
f9b9514
Compare
Choose a tag to compare
v17.1.0-preview0008 Pre-release
Pre-release

[v17.1.0-preview0008]

Removed

  • SqlServerDsc.Common
    • Removed the function Get-RegistryPropertyValue and Format-Path in
      favor of the commands with the same names in the module DscResource.Common.

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.
    • 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.
  • SqlSetup
    • Fixed issue with AddNode where cluster IP information was not being passed to
      setup.exe (issue #1171).

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.
  • Save-SqlDscSqlServerMediaFile
    • Fix localizations strings that used wrong keys.
    • Fix unit tests so they work cross-platform.
  • Install-SqlDscServer and private function Invoke-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
      and ProductVersion strings can be converted to valid versions and
      that they always are higher than what we expect.

v17.1.0-preview0007

24 Mar 12:27
eefcd14
Compare
Choose a tag to compare
v17.1.0-preview0007 Pre-release
Pre-release

[v17.1.0-preview0007]

Removed

  • SqlServerDsc.Common
    • Removed the function Get-RegistryPropertyValue and Format-Path in
      favor of the commands with the same names in the module DscResource.Common.

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.
  • SqlSetup
    • Fixed issue with AddNode where cluster IP information was not being passed to
      setup.exe (issue #1171).

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.
  • Save-SqlDscSqlServerMediaFile
    • Fix localizations strings that used wrong keys.
    • Fix unit tests so they work cross-platform.
  • Install-SqlDscServer and private function Invoke-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

19 Mar 23:38
3764562
Compare
Choose a tag to compare
v17.1.0-preview0006 Pre-release
Pre-release

[v17.1.0-preview0006]

Removed

  • SqlServerDsc.Common
    • Removed the function Get-RegistryPropertyValue and Format-Path in
      favor of the commands with the same names in the module DscResource.Common.

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.
  • SqlSetup
    • Fixed issue with AddNode where cluster IP information was not being passed to
      setup.exe (issue #1171).

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.
  • Save-SqlDscSqlServerMediaFile
    • Fix localizations strings that used wrong keys.
    • Fix unit tests so they work cross-platform.
  • Install-SqlDscServer and private function Invoke-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

13 Mar 17:04
a6c1159
Compare
Choose a tag to compare
v17.1.0-preview0005 Pre-release
Pre-release

[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.

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.
  • SqlSetup
    • Fixed issue with AddNode where cluster IP information was not being passed to
      setup.exe (issue #1171).

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.
  • Save-SqlDscSqlServerMediaFile
    • Fix localizations strings that used wrong keys.
    • Fix unit tests so they work cross-platform.
  • Install-SqlDscServer and private function Invoke-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.