RDS 2012 Reporting

Hello,

We have a client of ours looking to allow users to work remotely.  We know that we can run the task manager to see who is connected/disconnected and we can hop on a session, but is there any reporting out of RDS on this information or idle time?
posaeAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Robin CMSenior Security and Infrastructure EngineerCommented:
In the connection broker SQL database there's a view called dbo.Shadowing that lists the current user sessions. It doesn't tell you much detail though. You can get more detail from the table dbo.Session.

From an RDS server you can use the PowerShell cmdlet Get-RDUserSession to see similar info.

Or you can use good old quser ( aka query user), which you can also use remotely:
quser /server:<server name>
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
posaeAuthor Commented:
Thanks robincm.  Does this keep historical data or is it just live data?
0
Robin CMSenior Security and Infrastructure EngineerCommented:
It's live data.
0
Robin CMSenior Security and Infrastructure EngineerCommented:
Incidentally, if you've not noticed, parsing the output from quser can be a bit of a pain as the rows don't have the same data in if a session is disconnected.
0
Robin CMSenior Security and Infrastructure EngineerCommented:
There's also a WMI provider, but I've not (yet) got around to trying to get anything useful out of it.
Info here https://msdn.microsoft.com/en-us/library/aa383511(v=vs.85).aspx
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Windows Server 2012

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.