SqlWindowsFirewall - dsccommunity/SqlServerDsc GitHub Wiki
Parameters
Parameter
Attribute
DataType
Description
Allowed Values
Features
Key
String
SQL Server features to enable firewall rules for.
InstanceName
Key
String
SQL Server instance to enable firewall rules for.
Ensure
Write
String
Ensures that SQL Server services firewall rules are 'Present' or 'Absent' on the machine.
Present, Absent
SourceCredential
Write
PSCredential
Credentials used to access the path set in the parameter SourcePath. This parameter is optional either if built-in parameter PsDscRunAsCredential is used, or if the source path can be access using the SYSTEM account.
SourcePath
Write
String
UNC path to the root of the source files for installation.
AnalysisServicesFirewall
Read
Boolean
Returns wether the firewall rule(s) for SQL Server Analysis Services is enabled.
BrowserFirewall
Read
Boolean
Returns wether the firewall rule(s) for the SQL Server Browser is enabled.
DatabaseEngineFirewall
Read
Boolean
Returns wether the firewall rule(s) for the SQL Server Database Engine is enabled.
IntegrationServicesFirewall
Read
Boolean
Returns wether the firewall rule(s) for the SQL Server Integration Services is enabled.
ReportingServicesFirewall
Read
Boolean
Returns wether the firewall rule(s) for SQL Server Reporting Services is enabled.
Description
The SqlWindowsFirewall DSC resource will set default firewall rules for
the Database Engine, Analysis Services, SQL Browser, SQL Reporting Services,
and Integration Services features.
Requirements
Target machine must be running Windows Server 2012 or later.