xSQLServer

6.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 6.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 xSQLServerAlias xSQLServerAlwaysOnAvailabilityGroup xSQLServerAlwaysOnService xSQLServerAvailabilityGroupListener xSQLServerConfiguration xSQLServerDatabase xSQLServerDatabaseOwner xSQLServerDatabasePermission xSQLServerDatabaseRecoveryModel 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

- Changes to xSQLServerConfiguration
 - BREAKING CHANGE: The parameter SQLInstanceName is now mandatory.
 - Resource can now be used to define the configuration of two or more different DB instances on the same server.
- Changes to xSQLServerRole
 - xSQLServerRole now correctly reports that the desired state is present when the login is already a member of the server roles.
- Added new resources
 - xSQLServerAlwaysOnAvailabilityGroup
- Changes to xSQLServerSetup
 - Properly checks for use of SQLSysAdminAccounts parameter in $PSBoundParameters. The test now also properly evaluates the setup argument for SQLSysAdminAccounts.
 - xSQLServerSetup should now function correctly for the InstallFailoverCluster action, and also supports cluster shared volumes. Note that the AddNode action is not currently working.
 - It now detects that feature Client Connectivity Tools (CONN) and Client Connectivity Backwards Compatibility Tools (BC) is installed.
 - Now it can correctly determine the right cluster when only parameter InstallSQLDataDir is assigned a path (issue 401).
 - Now the only mandatory path parameter is InstallSQLDataDir when installing Database Engine (issue 400).
 - It now can handle mandatory parameters, and are not using wildcards to find the variables containing paths (issue 394).
 - Changed so that instead of connection to localhost it is using $env:COMPUTERNAME as the host name to which it connects. And for cluster installation it uses the parameter FailoverClusterNetworkName as the host name to which it connects (issue 407).
 - When called with Action = "PrepareFailoverCluster", the SQLSysAdminAccounts and FailoverClusterGroup parameters are no longer passed to the setup process (issues 410 and 411).
 - Solved the problem that InstanceDir and InstallSQLDataDir could not be set to just a qualifier, i.e "E:" (issue 418). All paths (except SourcePath) can now be set to just the qualifier.
- Enables CodeCov.io code coverage reporting.
- Added badge for CodeCov.io to README.md.
- Examples
 - xSQLServerMaxDop
   - 1-SetMaxDopToOne.ps1
   - 2-SetMaxDopToAuto.ps1
   - 3-SetMaxDopToDefault.ps1
 - xSQLServerMemory
   - 1-SetMaxMemoryTo12GB.ps1
   - 2-SetMaxMemoryToAuto.ps1
   - 3-SetMinMaxMemoryToAuto.ps1
   - 4-SetMaxMemoryToDefault.ps1
 - xSQLServerDatabase
   - 1-CreateDatabase.ps1
   - 2-DeleteDatabase.ps1
- Added tests for resources
 - xSQLServerMaxDop
 - xSQLServerMemory
- Changes to xSQLServerMemory
 - BREAKING CHANGE: The mandatory parameter now include SQLInstanceName. The DynamicAlloc parameter is no longer mandatory
- Changes to xSQLServerDatabase
 - When the system is not in desired state the Test-TargetResource will now output verbose messages saying so.
- Changes to xSQLServerDatabaseOwner
 - Fixed code style, added updated parameter descriptions to schema.mof and README.md.

Version History

Version Downloads Last updated
9.1.0.0 26,649 1/24/2018
9.0.0.0 7,036 11/15/2017
8.2.0.0 5,006 10/5/2017
8.1.0.0 5,097 8/23/2017
8.0.0.0 4,963 7/12/2017
7.1.0.0 5,240 5/31/2017
7.0.0.0 8,170 4/19/2017
6.0.0.0 (current version) 10,547 3/8/2017
5.0.0.0 2,522 1/26/2017
4.0.0.0 2,138 12/14/2016
3.0.0.0 1,759 11/2/2016
2.0.0.0 7,066 9/21/2016
1.8.0.0 18,890 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
.