I'm looking for how to create a new SQL Server Reporting Services service application only with PowerShell.
So here is my script:
$Service=New-SPRSServiceApplication -Name "ReportingServicePool" -ApplicationPool ReportingServicesServicePool -DatabaseName "ReportingServiceProjectServer" -DatabaseServer " DBTest" $Proxy=New-SPRSServiceApplicationProxy -Name "Reporting Services Application Proxy" -ServiceApplication $Service Get-SPServiceApplicationProxyGroup -default | Add-SPServiceApplicationProxyGroupMember -Member $proxy
So it's working, but as I have only one web application, by default it takes this one but imagine if I have some web applications, how can I choose the one I need?
I made some searches but it's not really clear.