Get‑SqlDscRSIPAddress - dsccommunity/SqlServerDsc GitHub Wiki
Gets the available IP addresses for SQL Server Reporting Services.
Get-SqlDscRSIPAddress [-Configuration] <Object> [<CommonParameters>]
Gets the IP addresses available on the machine for use with
SQL Server Reporting Services or Power BI Report Server by calling
the ListIPAddresses method on the
MSReportServer_ConfigurationSetting CIM instance.
This command returns information about IP addresses that can be used for URL reservations and SSL bindings. Each returned object includes the IP address, IP version (V4 or V6), and whether DHCP is enabled. If DHCP is enabled, the IP address is dynamic and should not be used for TLS bindings.
The configuration CIM instance can be obtained using the
Get-SqlDscRSConfiguration command and passed via the pipeline.
Get-SqlDscRSConfiguration -InstanceName 'SSRS' | Get-SqlDscRSIPAddress
Gets all available IP addresses for the Reporting Services instance.
$config = Get-SqlDscRSConfiguration -InstanceName 'SSRS'
Get-SqlDscRSIPAddress -Configuration $config | Where-Object -FilterScript { $_.IPVersion -eq 'V4' }
Gets available IPv4 addresses for the Reporting Services instance.
Specifies the MSReportServer_ConfigurationSetting CIM instance for
the Reporting Services instance.
This can be obtained using the
Get-SqlDscRSConfiguration command.
This parameter accepts pipeline
input.
Type: Object
Parameter Sets: (All)
Aliases:
Required: True
Position: 1
Default value: None
Accept pipeline input: True (ByValue)
Accept wildcard characters: FalseThis cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.
This command calls the WMI method ListIPAddresses.