Get a list of machine names and logged on or active user(s)
The Win32_LoggedOnUser class gives a list of logged on users to a computer. It isn’t just users logged on interactively to the console or Remote Desktop (which is a good thing) but even users connected...
View ArticleFinding all processes on a remote computer that belong to a particular user
Say you want to find all processes on a machine belonging to a particular user. This is the reverse of what we tried earlier – getting the owner of a particular process. Here’s a one-liner to do that:...
View ArticleFind the computer from where an AD account is locked out
I want to find out where from a user account is locked out in my domain. The manual way to do this would be to open up Event Viewer, scan the event logs on the DC for event ID 4740, open it up and see...
View Article
More Pages to Explore .....