I wanted a simple way to get all (remote) logged on (and disconnected) users on all servers in my domain. This way it's easier for me to see if there are any disconnected sessions still open. In my case I've entered them into a SQL database, but for the example on this blog, I will … Continue reading How to get all remote logged on users
Background: A while ago, I stumbled upon two blogs about speed and PowerShell. First Guillaume Bordier’s blog about PowerShell and writing files. And second there was IT Idea’s Blog on PowerShell Foreach vs ForEach-Object. While researching the matter, I also came across an article on PowerShell.com about speeding up loops (which wasn't of use in … Continue reading Speed of loops and different ways of writing to files – Which is the quickest?