Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add-SqlDscReportServerUrlReservation: New command proposal #2016

Open
johlju opened this issue May 4, 2024 · 0 comments
Open

Add-SqlDscReportServerUrlReservation: New command proposal #2016

johlju opened this issue May 4, 2024 · 0 comments
Labels
command proposal The issue is proposing to add a new command to the module. help wanted The issue is up for grabs for anyone in the community.

Comments

@johlju
Copy link
Member

johlju commented May 4, 2024

Command proposal

Command for reserving URLs on a Reporting Services application.

$ReportServerReservedUrl | ForEach-Object -Process {
Write-Verbose -Message "Adding report server URL reservation on $DatabaseServerName\$DatabaseInstanceName`: $_."
$invokeRsCimMethodParameters = @{
CimInstance = $reportingServicesData.Configuration
MethodName = 'ReserveUrl'
Arguments = @{
Application = 'ReportServerWebService'
UrlString = $_
Lcid = $language
}
}
Invoke-RsCimMethod @invokeRsCimMethodParameters
}

$ReportsReservedUrl | ForEach-Object -Process {
Write-Verbose -Message "Adding reports URL reservation on $DatabaseServerName\$DatabaseInstanceName`: $_."
$invokeRsCimMethodParameters = @{
CimInstance = $reportingServicesData.Configuration
MethodName = 'ReserveUrl'
Arguments = @{
Application = $reportingServicesData.ReportsApplicationName
UrlString = $_
Lcid = $language
}
}
Invoke-RsCimMethod @invokeRsCimMethodParameters

Proposed parameters

Parameter Mandatory Data type Description Default value Allowed values
ParameterName Yes String Detailed description None None

Special considerations or limitations

None.

@johlju johlju added help wanted The issue is up for grabs for anyone in the community. command proposal The issue is proposing to add a new command to the module. labels May 4, 2024
@johlju johlju changed the title Set-SqlDscRSReserveUrl: New command proposal Set-SqlDscReportServerReserveUrl: New command proposal May 5, 2024
@johlju johlju changed the title Set-SqlDscReportServerReserveUrl: New command proposal Add-SqlDscReportServerApplicationUrl: New command proposal May 5, 2024
@johlju johlju changed the title Add-SqlDscReportServerApplicationUrl: New command proposal Add-SqlDscReportServerUrlReservation: New command proposal May 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
command proposal The issue is proposing to add a new command to the module. help wanted The issue is up for grabs for anyone in the community.
Projects
None yet
Development

No branches or pull requests

1 participant