new-rssubscription parameter set cannot resolved using the specified named parameter

pasha-mayerov 156 Reputation points
2022-02-18T11:05:42.89+00:00

Hello.
I have script:
New-RsSubscription -reportServerUri "<server>/report" -RsItem '/<folder>' -Schedule (New-RsSchedulerXML -Weekly -DaysOfWeek Monday -start 9pm) -Destination 'Email' -DeliveryMethod 'Email' -subject 'Subscription Director' -to test@test .ru
I want to subscribe to a report with a parameter from the report.
An error comes out:
Parameter set cannot resolved using the specified named parameter.
When requested Get-RsSubscription , the following subscription information is displayed
175844-%D1%81%D0%BD%D0%B8%D0%BC%D0%BE%D0%BA-%D1%8D%D0%BA%D1%80%D0%B0%D0%BD%D0%B0-2022-02-18-134704.jpg

It is necessary to select the parameter Values: {Manager}
How can I create?
function New-RsValues {
param()
}

SQL Server Reporting Services
SQL Server Reporting Services
A SQL Server technology that supports the creation, management, and delivery of both traditional, paper-oriented reports and interactive, web-based reports.
3,061 questions
Windows for business Windows Server User experience PowerShell
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.