Check For Admin Rights with PowerShell

Recently I was trying to determine if a domain user is a local Administrator of their workstation and found many options… Note that there is a difference in checking if the user is a local Administrator and checking if the command is running in an elevated context. Here’s what worked best for me… Check if