PowerShell – Get the username for a SID

Every now and then I find myself in the situation where I need to get the SID of a (currently logged on) user.
So, here’s a snippet that will do exactly that 🙂

One comment

  1. […] I posted about getting the SID of a user via its username. Today, I’m posting the […]

Leave a Reply

Your email address will not be published. Required fields are marked *