Ask your PowerShell-related questions, including questions on cmdlet development!
Forum rules Do not post any licensing information in this forum.
Any code longer than three lines should be added as code using the 'Select Code' dropdown menu or attached as a file.
This topic is 2 years and 3 months old and has exceeded the time allowed for comments. Please begin a new topic or use the search feature to find a similar but newer topic.
Hello, some of you might be aware of SQL Server Reporting Services (SSRS), I am able to read them using the ATOM report, but there is one that requires input of a PC Name, anyone familiar with this?
Snag_27695cf.png (5.34 KiB) Viewed 2341 times
Here is a slimmed down version of the web address I want to 'POST' to
That is just the name of the server you are connecting to. In the URL it is called "server" or it is defined by the report you are trying to execute so ask the report designer for what is being required.
Invoke-RestMethod cannot enter prompted values. SSRS Web access does not provide for that kind of automation. Post in a SQLServer forum for assistance on how to use the SSRS web API or ask teh developer of the report if this has been enabled and set up on the report server.
If you notice within my code there is a PCList=PC1;
Within the page, after I search for the PC, there is the choice to .atomsvc file
It begs the question still, how can I achive whats on the docs site? https://docs.microsoft.com/en-us/previo ... ed-reports
'Running Parameterized Reports
A report that contains input fields and a View Report button is a parameterized report. To view a parameterized report, you may need to provide values that are used to run the report.'
If you're unsure, no worries I'll find the correct forum
This topic is 2 years and 3 months old and has exceeded the time allowed for comments. Please begin a new topic or use the search feature to find a similar but newer topic.