Forum Discussion
Smamwise
2 years agoFrequent Visitor
Refresh reports with refresh schedules enabled via APIs and Powershell
Hi! I am trying to write a Powershell script that would refresh all reports that have refresh schedules enabled. The refresh api call should have a condition to only use dataset ids with refr...
Anonymous
2 years agoNot applicable
Hi Smamwise ,
You can refer to the following documentation and see if it helps you to "create a list or an array and loop those in the foreach bit".
azure - How do I properly use ForEach() statement of List? - Stack Overflow
PowerShell array initialization - Stack Overflow
Best Regards,
Liu Yang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.