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.
2,813 questions
Windows Server PowerShell
Windows Server PowerShell
Windows Server: A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.PowerShell: A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
5,389 questions
{count} votes