xSQLServer

8.2.0.0

Module with DSC Resources for deployment and configuration of Microsoft SQL Server.

Minimum PowerShell version

5.0

Installation Options

Copy and Paste the following command to install this package using PowerShellGet More Info

Install-Module -Name xSQLServer -RequiredVersion 8.2.0.0

Copy and Paste the following command to install this package using Microsoft.PowerShell.PSResourceGet More Info

Install-PSResource -Name xSQLServer -Version 8.2.0.0

You can deploy this package directly to Azure Automation. Note that deploying packages with dependencies will deploy all the dependencies to Azure Automation. Learn More

Manually download the .nupkg file to your system's default download location. Note that the file won't be unpacked, and won't include any dependencies. Learn More

Owners

Copyright

(c) 2017 Microsoft Corporation. All rights reserved.

Package Details

Author(s)

  • Microsoft Corporation

Tags

DesiredStateConfiguration DSC DSCResourceKit DSCResource

DSCResources

xSQLServerAlias xSQLServerAlwaysOnAvailabilityGroup xSQLServerAlwaysOnAvailabilityGroupDatabaseMembership xSQLServerAlwaysOnAvailabilityGroupReplica xSQLServerAlwaysOnService xSQLServerAvailabilityGroupListener xSQLServerConfiguration xSQLServerDatabase xSQLServerDatabaseOwner xSQLServerDatabasePermission xSQLServerDatabaseRecoveryModel xSQLServerDatabaseRole xSQLServerEndpoint xSQLServerEndpointPermission xSQLServerEndpointState xSQLServerFirewall xSQLServerLogin xSQLServerMaxDop xSQLServerMemory xSQLServerNetwork xSQLServerPermission xSQLServerReplication xSQLServerRole xSQLServerRSConfig xSQLServerRSSecureConnectionLevel xSQLServerScript xSQLServerServiceAccount xSQLServerSetup xWaitForAvailabilityGroup

Dependencies

This module has no dependencies.

Release Notes

- Changes to xSQLServer
 - Updated appveyor.yml so that integration tests run in order and so that
   the SQLPS module folders are renamed to not disturb the units test, but
   can be renamed back by the integration tests xSQLServerSetup so that the
   integration tests can run successfully
   ([issue 774](https://github.com/PowerShell/xFailOverCluster/issues/774)).
 - Changed so the maximum version to be installed is 4.0.6.0, when running unit
   tests in AppVeyor. Quick fix until we can resolve the unit tests (see
   [issue 807](https://github.com/PowerShell/xFailOverCluster/issues/807)).
 - Moved the code block, that contains workarounds in appveyor.yml, so it is run
   during the install phase instead of the test phase.
 - Fix problem with tests breaking with Pester 4.0.7 ([issue 807](https://github.com/PowerShell/xFailOverCluster/issues/807)).
- Changes to xSQLServerHelper
 - Changes to Connect-SQL and Import-SQLPSModule
   - Now it correctly loads the correct assemblies when SqlServer module is
     present ([issue 649](https://github.com/PowerShell/xFailOverCluster/issues/649)).
   - Now SQLPS module will be correctly loaded (discovered) after installation
     of SQL Server. Previously resources depending on SQLPS module could fail
     because SQLPS was not found after installation because the PSModulePath
     environment variable in the (LCM) PowerShell session did not contain the new
     module path.
 - Added new helper function "Test-ClusterPermissions" ([issue 446](https://github.com/PowerShell/xSQLServer/issues/446)).
- Changes to xSQLServerSetup
 - Fixed an issue with trailing slashes in the "UpdateSource" property
   ([issue 720](https://github.com/PowerShell/xSQLServer/issues/720)).
 - Fixed so that the integration test renames back the SQLPS module folders if
   they was renamed by AppVeyor (in the appveyor.yml file)
   ([issue 774](https://github.com/PowerShell/xFailOverCluster/issues/774)).
 - Fixed so integration test does not write warnings when SQLPS module is loaded
   ([issue 798](https://github.com/PowerShell/xFailOverCluster/issues/798)).
 - Changes to integration tests.
   - Moved the configuration block from the MSFT\_xSQLServerSetup.Integration.Tests.ps1
     to the MSFT\_xSQLServerSetup.config.ps1 to align with the other integration
     test. And also get most of the configuration in one place.
   - Changed the tests so that the local SqlInstall account is added as a member
     of the local administrators group.
   - Changed the tests so that the local SqlInstall account is added as a member
     of the system administrators in SQL Server (Database Engine) - needed for the
     xSQLServerAlwaysOnService integration tests.
   - Changed so that only one of the Modules-folder for the SQLPS PowerShell module
     for SQL Server 2016 is renamed back so it can be used with the integration
     tests. There was an issue when more than one SQLPS module was present (see
     more information in [issue 806](https://github.com/PowerShell/xFailOverCluster/issues/806)).
   - Fixed wrong variable name for SQL service credential. It was using the
     integration test variable name instead of the parameter name.
   - Added ErrorAction "Stop" to the cmdlet Start-DscConfiguration
     ([issue 824](https://github.com/PowerShell/xSQLServer/issues/824)).
- Changes to xSQLServerAlwaysOnAvailabilityGroup
 - Change the check of the values entered as parameter for
   BasicAvailabilityGroup. It is a boolean, hence it was not possible to
   disable the feature.
 - Add possibility to enable/disable the feature DatabaseHealthTrigger
   (SQL Server 2016 or later only).
 - Add possibility to enable the feature DtcSupportEnabled (SQL Server 2016 or
   later only). The feature currently can"t be altered once the Availability
   Group is created.
 - Use the new helper function "Test-ClusterPermissions".
 - Refactored the unit tests to allow them to be more user friendly.
   Added the following read-only properties to the schema ([issue 476](https://github.com/PowerShell/xSQLServer/issues/476))
   - EndpointPort
   - EndpointURL
   - SQLServerNetName
   - Version
 - Use the Get-PrimaryReplicaServerObject helper function
- Changes to xSQLServerAlwaysOnAvailabilityGroupReplica
 - Fixed the formatting for the AvailabilityGroupNotFound error.
 - Added the following read-only properties to the schema ([issue 477](https://github.com/PowerShell/xSQLServer/issues/477))
   - EndpointPort
   - EndpointURL
 - Use the new helper function "Test-ClusterPermissions".
 - Use the Get-PrimaryReplicaServerObject helper function
- Changes to xSQLServerHelper
 - Fixed Connect-SQL by ensuring the Status property returns "Online" prior to
   returning the SQL Server object ([issue 333](https://github.com/PowerShell/xSQLServer/issues/333)).
- Changes to xSQLServerRole
 - Running Get-DscConfiguration no longer throws an error saying property
   Members is not an array ([issue 790](https://github.com/PowerShell/xSQLServer/issues/790)).
- Changes to xSQLServerMaxDop
 - Fixed error where Measure-Object cmdlet would fail claiming it could not
   find the specified property ([issue 801](https://github.com/PowerShell/xSQLServer/issues/801))
- Changes to xSQLServerAlwaysOnService
 - Added integration test ([issue 736](https://github.com/PowerShell/xSQLServer/issues/736)).
   - Added ErrorAction "Stop" to the cmdlet Start-DscConfiguration
     ([issue 824](https://github.com/PowerShell/xSQLServer/issues/824)).
- Changes to SMO.cs
 - Added default properties to the Server class
   - AvailabilityGroups
   - Databases
   - EndpointCollection
 - Added a new overload to the Login class
 - Added default properties to the AvailabilityReplicas class
   - AvailabilityDatabases
   - AvailabilityReplicas
- Added new resource xSQLServerAccount ([issue 706](https://github.com/PowerShell/xSQLServer/issues/706))
 - Added localization support for all strings
 - Added examples for usage
- Changes to xSQLServerRSConfig
 - No longer returns a null value from Test-TargetResource when Reporting
   Services has not been initialized ([issue 822](https://github.com/PowerShell/xSQLServer/issues/822)).
 - Fixed so that when two Reporting Services are installed for the same major
   version the resource does not throw an error ([issue 819](https://github.com/PowerShell/xSQLServer/issues/819)).
 - Now the resource will restart the Reporting Services service after
   initializing ([issue 592](https://github.com/PowerShell/xSQLServer/issues/592)).
   This will enable the Reports site to work.
 - Added integration test ([issue 753](https://github.com/PowerShell/xSQLServer/issues/753)).
 - Added support for configuring URL reservations and virtual directory names
   ([issue 570](https://github.com/PowerShell/xSQLServer/issues/570))

FileList

Version History

Version Downloads Last updated
9.1.0.0 288,513 1/24/2018
9.0.0.0 7,301 11/15/2017
8.2.0.0 (current version) 5,487 10/5/2017
8.1.0.0 5,956 8/23/2017
8.0.0.0 5,767 7/12/2017
7.1.0.0 6,874 5/31/2017
7.0.0.0 8,221 4/19/2017
6.0.0.0 10,770 3/8/2017
5.0.0.0 2,550 1/26/2017
4.0.0.0 2,354 12/14/2016
3.0.0.0 1,929 11/2/2016
2.0.0.0 7,390 9/21/2016
1.8.0.0 28,478 8/10/2016
1.7.0.0 2,193 6/29/2016
1.6.0.0 1,323 5/18/2016
1.5.0.0 1,008 3/31/2016
1.4.0.0 1,595 2/3/2016
1.3.0.0 2,169 5/2/2015
1.2.1.0 503 2/19/2015
1.2.0.0 77 12/18/2014
1.1.0.0 87 10/24/2014
Show more