SqlServerDsc icon indicating copy to clipboard operation
SqlServerDsc copied to clipboard

SqlEndpoint: Enforces default values

Open randomnote1 opened this issue 7 years ago • 0 comments

Details of the scenario you tried and the problem that is occurring

If the IPAddress parameter is not set, it will default to 0.0.0.0 and enforce the property is set to 0.0.0.0. This resource should ensure only user set properties are enforced.

The DSC configuration that is using the resource (as detailed as possible)

xSQLServerEndpoint HADREndpoint
{
    EndpointName = $hadrEndpointName
    Ensure = 'Present'
    Port = 5022
    SQLServer = $sqlServer
    SQLInstanceName = $instanceName
    PsDscRunAsCredential = $Node.RunAsCredential
}

Version of the operating system and PowerShell the target node is running

Caption                                   OSArchitecture Version  MUILanguages $PSVersionTable.PSVersion
-------                                   -------------- -------  ------------ -------------------------
Microsoft Windows Server 2012 R2 Standard 64-bit         6.3.9600 {en-US}      5.0.10586.117            

SQL Server edition and version the target node is running

Edition  : Enterprise Edition: Core-based Licensing
Version  : 13.1.4001.0
Language : 1033

What SQL Server PowerShell modules, and which version, are present on the target node.

Name              Version Path                                                                                       
----              ------- ----                                                                                       
SQLPS             1.0     C:\Program Files (x86)\Microsoft SQL Server\130\Tools\PowerShell\Modules\SQLPS\SQLPS.psd1  

Version of the DSC module you're using, or write 'dev' if you're using current dev branch

xSqlServer 8.2.0.0 Appears to be an issue in the current dev branch as well.

randomnote1 avatar Apr 02 '18 14:04 randomnote1