Windows PowerShell Specification

Using PowerShell, you can dump information about the current logged on user with this line: [Security.Principal.WindowsIdentity]::GetCurrent() Note, this is not using a cmdlet, rather it is calling directly into the .NET Framework. ................
................