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

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

Install-PSResource -Name xSQLServer -Version 4.0.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) 2014 Microsoft Corporation. All rights reserved.

Package Details

Author(s)

  • Microsoft Corporation

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.

FileList

Version History

Version Downloads Last updated
9.1.0.0 271,990 1/24/2018
9.0.0.0 7,290 11/15/2017
8.2.0.0 5,486 10/5/2017
8.1.0.0 5,922 8/23/2017
8.0.0.0 5,763 7/12/2017
7.1.0.0 6,765 5/31/2017
7.0.0.0 8,220 4/19/2017
6.0.0.0 10,759 3/8/2017
5.0.0.0 2,549 1/26/2017
4.0.0.0 (current version) 2,353 12/14/2016
3.0.0.0 1,928 11/2/2016
2.0.0.0 7,389 9/21/2016
1.8.0.0 28,386 8/10/2016
1.7.0.0 2,192 6/29/2016
1.6.0.0 1,295 5/18/2016
1.5.0.0 1,007 3/31/2016
1.4.0.0 1,594 2/3/2016
1.3.0.0 2,168 5/2/2015
1.2.1.0 502 2/19/2015
1.2.0.0 76 12/18/2014
1.1.0.0 86 10/24/2014
Show less