mlxSQL
8.2.0.6
Module with DSC Resources for deployment and configuration of Microsoft SQL Server.
Minimum PowerShell version
5.0
Installation Options
Owners
Copyright
(c) 2017 Microsoft Corporation. All rights reserved.
Package Details
Author(s)
- Microsoft Corporation
Tags
DesiredStateConfiguration DSC DSCResourceKit DSCResource
DSCResources
xSQLAGListener xSQLAlias xSQLAlwaysOnAG xSQLAlwaysOnAGDBMembership xSQLAlwaysOnAGReplica xSQLAlwaysOnService xSQLConfiguration xSQLDatabase xSQLDBOwner xSQLDBPermission xSQLDBRecoveryModel xSQLDBRole xSQLEndpoint xSQLEndpointPermission xSQLEndpointState xSQLFirewall xSQLLogin xSQLMaxDop xSQLMemory xSQLNetwork xSQLPermission xSQLReplication xSQLRole xSQLRSConfig xSQLRSSecureConnectionLevel xSQLScript xSQLServiceAccount xSQLSetup xWaitForAvailabilityGroup
Dependencies
This module has no dependencies.
Release Notes
- IMPORTANT This module is a copy of xSQLServer to work around current issues with
Azure Automation. Please see README.md in module or github project for more details
https://github.com/matticusau/mlxSQL
- 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
- mlxSQL.nuspec
- CHANGELOG.md
- CONTRIBUTING.md
- LICENSE
- mlxSQL.psd1
- README.md
- xSQLHelper.psm1
- DSCResources\CommonResourceHelper.psm1
- DSCResources\MSFT_xSQLAGListener\MSFT_xSQLAGListener.psm1
- DSCResources\MSFT_xSQLAGListener\MSFT_xSQLAGListener.schema.mof
- DSCResources\MSFT_xSQLAlias\MSFT_xSQLAlias.psm1
- DSCResources\MSFT_xSQLAlias\MSFT_xSQLAlias.schema.mof
- DSCResources\MSFT_xSQLAlwaysOnAG\MSFT_xSQLAlwaysOnAG.psm1
- DSCResources\MSFT_xSQLAlwaysOnAG\MSFT_xSQLAlwaysOnAG.schema.mof
- DSCResources\MSFT_xSQLAlwaysOnAGDBMembership\MSFT_xSQLAlwaysOnAGDBMembership.psm1
- DSCResources\MSFT_xSQLAlwaysOnAGDBMembership\MSFT_xSQLAlwaysOnAGDBMembership.schema.mof
- DSCResources\MSFT_xSQLAlwaysOnAGDBMembership\en-US\about_xSQLAlwaysOnAGDBMembership.help.txt
- DSCResources\MSFT_xSQLAlwaysOnAGDBMembership\en-US\MSFT_xSQLAlwaysOnAGDBMembership.strings.psd1
- DSCResources\MSFT_xSQLAlwaysOnAGReplica\MSFT_xSQLAlwaysOnAGReplica.psm1
- DSCResources\MSFT_xSQLAlwaysOnAGReplica\MSFT_xSQLAlwaysOnAGReplica.schema.mof
- DSCResources\MSFT_xSQLAlwaysOnService\MSFT_xSQLAlwaysOnService.psm1
- DSCResources\MSFT_xSQLAlwaysOnService\MSFT_xSQLAlwaysOnService.schema.mof
- DSCResources\MSFT_xSQLConfiguration\MSFT_xSQLConfiguration.psm1
- DSCResources\MSFT_xSQLConfiguration\MSFT_xSQLConfiguration.schema.mof
- DSCResources\MSFT_xSQLDatabase\MSFT_xSQLDatabase.psm1
- DSCResources\MSFT_xSQLDatabase\MSFT_xSQLDatabase.schema.mof
- DSCResources\MSFT_xSQLDBOwner\MSFT_xSQLDBOwner.psm1
- DSCResources\MSFT_xSQLDBOwner\MSFT_xSQLDBOwner.schema.mof
- DSCResources\MSFT_xSQLDBPermission\MSFT_xSQLDBPermission.psm1
- DSCResources\MSFT_xSQLDBPermission\MSFT_xSQLDBPermission.schema.mof
- DSCResources\MSFT_xSQLDBRecoveryModel\MSFT_xSQLDBRecoveryModel.psm1
- DSCResources\MSFT_xSQLDBRecoveryModel\MSFT_xSQLDBRecoveryModel.schema.mof
- DSCResources\MSFT_xSQLDBRole\MSFT_xSQLDBRole.psm1
- DSCResources\MSFT_xSQLDBRole\MSFT_xSQLDBRole.schema.mof
- DSCResources\MSFT_xSQLEndpoint\MSFT_xSQLEndpoint.psm1
- DSCResources\MSFT_xSQLEndpoint\MSFT_xSQLEndpoint.schema.mof
- DSCResources\MSFT_xSQLEndpointPermission\MSFT_xSQLEndpointPermission.psm1
- DSCResources\MSFT_xSQLEndpointPermission\MSFT_xSQLEndpointPermission.schema.mof
- DSCResources\MSFT_xSQLEndpointState\MSFT_xSQLEndpointState.psm1
- DSCResources\MSFT_xSQLEndpointState\MSFT_xSQLEndpointState.schema.mof
- DSCResources\MSFT_xSQLFirewall\MSFT_xSQLFirewall.psm1
- DSCResources\MSFT_xSQLFirewall\MSFT_xSQLFirewall.schema.mof
- DSCResources\MSFT_xSQLLogin\MSFT_xSQLLogin.psm1
- DSCResources\MSFT_xSQLLogin\MSFT_xSQLLogin.schema.mof
- DSCResources\MSFT_xSQLMaxDop\MSFT_xSQLMaxDop.psm1
- DSCResources\MSFT_xSQLMaxDop\MSFT_xSQLMaxDop.schema.mof
- DSCResources\MSFT_xSQLMemory\MSFT_xSQLMemory.psm1
- DSCResources\MSFT_xSQLMemory\MSFT_xSQLMemory.schema.mof
- DSCResources\MSFT_xSQLNetwork\MSFT_xSQLNetwork.psm1
- DSCResources\MSFT_xSQLNetwork\MSFT_xSQLNetwork.schema.mof
- DSCResources\MSFT_xSQLPermission\MSFT_xSQLPermission.psm1
- DSCResources\MSFT_xSQLPermission\MSFT_xSQLPermission.schema.mof
- DSCResources\MSFT_xSQLReplication\MSFT_xSQLReplication.psm1
- DSCResources\MSFT_xSQLReplication\MSFT_xSQLReplication.schema.mof
- DSCResources\MSFT_xSQLRole\MSFT_xSQLRole.psm1
- DSCResources\MSFT_xSQLRole\MSFT_xSQLRole.schema.mof
- DSCResources\MSFT_xSQLRSConfig\MSFT_xSQLRSConfig.psm1
- DSCResources\MSFT_xSQLRSConfig\MSFT_xSQLRSConfig.schema.mof
- DSCResources\MSFT_xSQLRSSecureConnectionLevel\MSFT_xSQLRSSecureConnectionLevel.psm1
- DSCResources\MSFT_xSQLRSSecureConnectionLevel\MSFT_xSQLRSSecureConnectionLevel.schema.mof
- DSCResources\MSFT_xSQLScript\MSFT_xSQLScript.psm1
- DSCResources\MSFT_xSQLScript\MSFT_xSQLScript.schema.mof
- DSCResources\MSFT_xSQLServiceAccount\MSFT_xSQLServiceAccount.psm1
- DSCResources\MSFT_xSQLServiceAccount\MSFT_xSQLServiceAccount.schema.mof
- DSCResources\MSFT_xSQLServiceAccount\en-US\MSFT_xSQLServiceAccount.strings.psd1
- DSCResources\MSFT_xSQLSetup\MSFT_xSQLSetup.psm1
- DSCResources\MSFT_xSQLSetup\MSFT_xSQLSetup.schema.mof
- DSCResources\MSFT_xSQLSetup\en-US\MSFT_xSQLSetup.strings.psd1
- DSCResources\MSFT_xSQLSetup\sv-SE\MSFT_xSQLSetup.strings.psd1
- DSCResources\MSFT_xWaitForAvailabilityGroup\MSFT_xWaitForAvailabilityGroup.psm1
- DSCResources\MSFT_xWaitForAvailabilityGroup\MSFT_xWaitForAvailabilityGroup.schema.mof
- en-US\xSQLServerHelper.strings.psd1
- Examples\AzureAutomationCompile.ps1
- Examples\AzureAutomationConfig.ps1
- Examples\DSCClusterSqlBuild.ps1
- Examples\DSCFCISqlBuild.ps1
- Examples\DSCSqlBuild.ps1
- Examples\DSCSQLBuildEncrypted.ps1
- Examples\SQL-ClusterDB.ps1
- Examples\SQL-Standalone.ps1
- Examples\SQLPush_SingleServer.ps1
- Examples\Resources\xSQLServerAlias\1-AddSQLServerAlias.ps1
- Examples\Resources\xSQLServerAlias\2-RemoveSQLServerAlias.ps1
- Examples\Resources\xSQLServerAlwaysOnAvailabilityGroup\1-CreateAvailabilityGroup.ps1
- Examples\Resources\xSQLServerAlwaysOnAvailabilityGroup\2-RemoveAvailabilityGroup.ps1
- Examples\Resources\xSQLServerAlwaysOnAvailabilityGroup\3-CreateAvailabilityGroupDetailed.ps1
- Examples\Resources\xSQLServerAlwaysOnAvailabilityGroupDatabaseMembership\1-AddDatabasesToAvailabilityGroup.ps1
- Examples\Resources\xSQLServerAlwaysOnAvailabilityGroupDatabaseMembership\2-RemoveDatabasesFromAvailabilityGroup.ps1
- Examples\Resources\xSQLServerAlwaysOnAvailabilityGroupDatabaseMembership\3-MatchDefinedDatabasesInAvailabilityGroup.ps1
- Examples\Resources\xSQLServerAlwaysOnAvailabilityGroupReplica\1-CreateAvailabilityGroupReplica.ps1
- Examples\Resources\xSQLServerAlwaysOnAvailabilityGroupReplica\2-RemoveAvailabilityGroupReplica.ps1
- Examples\Resources\xSQLServerAlwaysOnService\1-EnableAlwaysOn.ps1
- Examples\Resources\xSQLServerAlwaysOnService\2-DisableAlwaysOn.ps1
- Examples\Resources\xSQLServerAvailabilityGroupListener\1-AddAvailabilityGroupListenerWithSameNameAsVCO.ps1
- Examples\Resources\xSQLServerAvailabilityGroupListener\2-AddAvailabilityGroupListenerWithDifferentNameAsVCO.ps1
- Examples\Resources\xSQLServerAvailabilityGroupListener\3-RemoveAvailabilityGroupListenerWithSameNameAsVCO.ps1
- Examples\Resources\xSQLServerAvailabilityGroupListener\4-RemoveAvailabilityGroupListenerWithDifferentNameAsVCO.ps1
- Examples\Resources\xSQLServerAvailabilityGroupListener\5-AddAvailabilityGroupListenerUsingDHCPWithDefaultServerSubnet.ps1
- Examples\Resources\xSQLServerAvailabilityGroupListener\6-AddAvailabilityGroupListenerUsingDHCPWithSpecificSubnet.ps1
- Examples\Resources\xSQLServerConfiguration\1-ConfigureTwoInstancesOnTheSameServerToEnableClr.ps1
- Examples\Resources\xSQLServerConfiguration\2-ConfigureInstanceToEnablePriorityBoost.ps1
- Examples\Resources\xSQLServerDatabase\1-CreateDatabase.ps1
- Examples\Resources\xSQLServerDatabase\2-DeleteDatabase.ps1
- Examples\Resources\xSQLServerDatabaseOwner\1-SetDatabaseOwner.ps1
- Examples\Resources\xSQLServerDatabasePermission\1-GrantDatabasePermissions.ps1
- Examples\Resources\xSQLServerDatabasePermission\2-RevokeDatabasePermissions.ps1
- Examples\Resources\xSQLServerDatabasePermission\3-DenyDatabasePermissions.ps1
- Examples\Resources\xSQLServerDatabaseRecoveryModel\1-SetDatabaseRecoveryModel.ps1
- Examples\Resources\xSQLServerDatabaseRole\1-AddDatabaseRole.ps1
- Examples\Resources\xSQLServerDatabaseRole\2-RemoveDatabaseRole.ps1
- Examples\Resources\xSQLServerEndpoint\1-CreateEndpointWithDefaultValues.ps1
- Examples\Resources\xSQLServerEndpoint\2-CreateEndpointWithSpecificPortAndIPAddress.ps1
- Examples\Resources\xSQLServerEndpoint\3-RemoveEndpoint.ps1
- Examples\Resources\xSQLServerEndpointPermission\1-AddConnectPermission.ps1
- Examples\Resources\xSQLServerEndpointPermission\2-RemoveConnectPermission.ps1
- Examples\Resources\xSQLServerEndpointPermission\3-AddConnectPermissionToAlwaysOnPrimaryAndSecondaryReplicaEachWithDifferentSqlServiceAccounts.ps1
- Examples\Resources\xSQLServerEndpointPermission\4-RemoveConnectPermissionToAlwaysOnPrimaryAndSecondaryReplicaEachWithDifferentSqlServiceAccounts.ps1
- Examples\Resources\xSQLServerEndpointState\1-MakeSureEndpointIsStarted.ps1
- Examples\Resources\xSQLServerEndpointState\2-MakeSureEndpointIsStopped.ps1
- Examples\Resources\xSQLServerFirewall\1-CreateInboundFirewallRules.ps1
- Examples\Resources\xSQLServerFirewall\2-RemoveInboundFirewallRules.ps1
- Examples\Resources\xSQLServerLogin\1-AddLogin.ps1
- Examples\Resources\xSQLServerLogin\2-RemoveLogin.ps1
- Examples\Resources\xSQLServerMaxDop\1-SetMaxDopToOne.ps1
- Examples\Resources\xSQLServerMaxDop\2-SetMaxDopToAuto.ps1
- Examples\Resources\xSQLServerMaxDop\3-SetMaxDopToDefault.ps1
- Examples\Resources\xSQLServerMemory\1-SetMaxMemoryTo12GB.ps1
- Examples\Resources\xSQLServerMemory\2-SetMaxMemoryToAuto.ps1
- Examples\Resources\xSQLServerMemory\3-SetMinMemoryToFixedValueAndMaxMemoryToAuto.ps1
- Examples\Resources\xSQLServerMemory\4-SetMaxMemoryToDefault.ps1
- Examples\Resources\xSQLServerNetwork\1-EnableTcpIpWithStaticPort.ps1
- Examples\Resources\xSQLServerNetwork\2-EnableTcpIpWithDynamicPort.ps1
- Examples\Resources\xSQLServerPermission\1-AddServerPermissionForLogin.ps1
- Examples\Resources\xSQLServerPermission\2-RemoveServerPermissionForLogin.ps1
- Examples\Resources\xSQLServerReplication\1-ConfigureInstanceAsDistributor.ps1
- Examples\Resources\xSQLServerReplication\2-ConfigureInstanceAsPublisher.ps1
- Examples\Resources\xSQLServerRole\1-AddServerRole.ps1
- Examples\Resources\xSQLServerRole\2-RemoveServerRole.ps1
- Examples\Resources\xSQLServerRole\3-AddMembersToServerRole.ps1
- Examples\Resources\xSQLServerRole\4-MembersToIncludeInServerRole.ps1
- Examples\Resources\xSQLServerRole\5-MembersToExcludeInServerRole.ps1
- Examples\Resources\xSQLServerScript\1-RunScriptUsingSQLAuthentication.ps1
- Examples\Resources\xSQLServerScript\2-RunScriptUsingWindowsAuthentication.ps1
- Examples\Resources\xSQLServerServiceAccount\1-ConfigureServiceAccount-UserAccount.ps1
- Examples\Resources\xSQLServerServiceAccount\2-ConfigureServiceAccount-VirtualAccount.ps1
- Examples\Resources\xSQLServerSetup\1-InstallDefaultInstanceSingleServer.ps1
- Examples\Resources\xSQLServerSetup\2-InstallNamedInstanceSingleServer.ps1
- Examples\Resources\xSQLServerSetup\3-InstallNamedInstanceSingleServerFromUncPathUsingSourceCredential.ps1
- Examples\Resources\xSQLServerSetup\4-InstallNamedInstanceInFailoverClusterFirstNode.ps1
- Examples\Resources\xSQLServerSetup\5-InstallNamedInstanceInFailoverClusterSecondNode.ps1
- Examples\Resources\xWaitForAvailabilityGroup\1-WaitForASingleClusterGroup.ps1
- Examples\Resources\xWaitForAvailabilityGroup\2-WaitForMultipleClusterGroups.ps1
- sv-SE\xSQLServerHelper.strings.psd1
Version History
Version | Downloads | Last updated |
---|---|---|
8.2.0.6 (current version) | 3,843 | 11/23/2017 |
8.2.0.5 | 220 | 11/22/2017 |
8.2.0.4 | 219 | 11/21/2017 |
8.2.0.3 | 109 | 11/21/2017 |