Apologies if this appears to be a gimme-teh-codez question, but i'm asking this because i'm a n00b when it comes to Powershell.
How do i use Powershell to add a particular domain user or group to a specific reporting role in SSRS2008 (say the Content Manager or Browser role)? Is there a simple one or two line script to achieve it?
Thanks!
(I have previously posted this question on SO here).
I came across this question whilst trying to find the same myself.
In the end, I wrote this function, which works with SSRS 2008 (as originally requested), all the way up to the current version of SSRS (2016).
Whist it's not a two-line answer, it does define a function that, once created, provides a single-line method... so in my mind, that counts (especially as you can't do this with just two lines).
Hope someone finds it useful!