How to generate a report of remote sessions duration on windows server 2008 r2?
i have 10 users (local users, not domain) loging in remotely (using rds) microsoft server 2008 r2 use accounting , scheduling software. generate report past time see how many hours each 1 of them had been logged in. ideally want see of last year (2011). there way that? thank in advance!
stan
take @ events 21 , 24 in microsoft-windows-terminalservices-localsessionmanager/operational and example generate per powershell daily csv's in turn generate report from. straight forward way don't know about
get-winevent -logname "microsoft-windows-terminalservices-localsessionmanager/operational" | {($_.id -eq "21" -or $_.id -eq "24")} | export-csv c:\temp\$(get-date (get-date).adddays(-1) -uformat %y%m%d).csv
Windows Server > Windows Server General Forum
Comments
Post a Comment