PowerShell Script – Are we running as Admin?
While exploring some of the new cmdlets that come with Windows 8.1 I came across Test-NetConnection. and noticed that it has a property called IsAdmin. When running the cmdlet in an elevated PowerShell session the property returns True otherwise False. Read More …