xSQLServer

4.0.0.0

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

Minimum PowerShell version

4.0

Installation Options

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

Install-Module -Name xSQLServer -RequiredVersion 4.0.0.0

You can deploy this package directly to Azure Automation. Note that deploying packages with dependencies will deloy 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

Author(s)

Microsoft Corporation

Copyright

(c) 2014 Microsoft Corporation. All rights reserved.

Owners

Tags

DesiredStateConfiguration DSC DSCResourceKit DSCResource

DSCResources

xSQLAOGroupEnsure xSQLAOGroupJoin xSQLDatabaseRecoveryModel xSQLServerAlias xSQLServerAlwaysOnService xSQLServerAvailabilityGroupListener xSQLServerConfiguration xSQLServerDatabase xSQLServerDatabaseOwner xSQLServerDatabasePermissions xSQLServerDatabaseRole xSQLServerEndpoint xSQLServerEndpointPermission xSQLServerEndpointState xSQLServerFailoverClusterSetup xSQLServerFirewall xSQLServerLogin xSQLServerMaxDop xSQLServerMemory xSQLServerNetwork xSQLServerPermission xSQLServerReplication xSQLServerRole xSQLServerRSConfig xSQLServerRSSecureConnectionLevel xSQLServerScript xSQLServerSetup xWaitForAvailabilityGroup

Dependencies

This module has no dependencies.

Release Notes

- Fixes in xSQLServerConfiguration
 - Added support for clustered SQL instances
 - BREAKING CHANGE: Updated parameters to align with other resources (SQLServer / SQLInstanceName)
 - Updated code to utilize CIM rather than WMI
- Added tests for resources
 - xSQLServerConfiguration
 - xSQLServerSetup
 - xSQLServerDatabaseRole
 - xSQLAOGroupJoin
 - xSQLServerHelper and moved the existing tests for Restart-SqlService to it.
 - xSQLServerAlwaysOnService
- Fixes in xSQLAOGroupJoin
 - Availability Group name now appears in the error message for a failed Availability Group join attempt.
 - Get-TargetResource now works with Get-DscConfiguration
- Fixes in xSQLServerRole
 - Updated Ensure parameter to "Present" default value
 - Renamed helper functions *-SqlServerRole to *-SqlServerRoleMember
- Changes to xSQLAlias
 - Add UseDynamicTcpPort parameter for option "Dynamically determine port"
 - Change Get-WmiObject to Get-CimInstance in Resource and associated pester file
- Added CHANGELOG.md file
- Added issue template file (ISSUE_TEMPLATE.md) for "New Issue" and pull request template file (PULL_REQUEST_TEMPLATE.md) for "New Pull Request"
- Add Contributing.md file
- Changes to xSQLServerSetup
 - Now `Features` parameter is case-insensitive.
- BREAKING CHANGE: Removed xSQLServerPowerPlan from this module. The resource has been moved to [xComputerManagement](https://github.com/PowerShell/xComputerManagement) and is now called xPowerPlan.
- Changes and enhancements in xSQLServerDatabaseRole
 - BREAKING CHANGE: Fixed so the same user can now be added to a role in one or more databases, and/or one or more instances. Now the parameters `SQLServer` and `SQLInstanceName` are mandatory.
 - Enhanced so the same user can now be added to more than one role
- BREAKING CHANGE: Renamed xSQLAlias to xSQLServerAlias to align w�th naming convention.
- Changes to xSQLServerAlwaysOnService
 - Added RestartTimeout parameter
 - Fixed bug where the SQL Agent service did not get restarted after the IsHadrEnabled property was set.
 - BREAKING CHANGE: The mandatory parameters now include Ensure, SQLServer, and SQLInstanceName. SQLServer and SQLInstanceName are keys which will be used to uniquely identify the resource which allows AlwaysOn to be enabled on multiple instances on the same machine.
- Moved Restart-SqlService from MSFT_xSQLServerConfiguration.psm1 to xSQLServerHelper.psm1.

Version History

Version Downloads Last updated
9.1.0.0 28,210 1/24/2018
9.0.0.0 7,037 11/15/2017
8.2.0.0 5,007 10/5/2017
8.1.0.0 5,097 8/23/2017
8.0.0.0 4,964 7/12/2017
7.1.0.0 5,249 5/31/2017
7.0.0.0 8,170 4/19/2017
6.0.0.0 10,547 3/8/2017
5.0.0.0 2,522 1/26/2017
4.0.0.0 (current version) 2,139 12/14/2016
3.0.0.0 1,760 11/2/2016
2.0.0.0 7,090 9/21/2016
1.8.0.0 18,953 8/10/2016
1.7.0.0 2,171 6/29/2016
1.6.0.0 1,199 5/18/2016
1.5.0.0 986 3/31/2016
1.4.0.0 1,557 2/3/2016
1.3.0.0 2,147 5/2/2015
1.2.1.0 252 2/19/2015
1.2.0.0 53 12/18/2014
1.1.0.0 64 10/24/2014
Show less
.