Link to home
Start Free TrialLog in
Avatar of jamiegf

asked on

Powershell - List all logged in users

I need a powershell script to show all interactive logins to a server in a list and also specify the amount of days to search for.
(So the list will just tell me which users logged into a server over say the last 30 days)
The servers are Windows 2016.
 Id like to be able to change / filter the login type (as i will initially be using logon type 2 and 7 etc) if this is possible?

Thanks very much.
Avatar of Alex
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial