Get AD Groups for local User in all PowerShell versions
17. April 2015
I pretty often filter through AD user groups and this way even works with PowerShell 1.0:
([Security.Principal.WindowsIdentity]"$($env:USERNAME)").Groups.Translate([System.Security.Principal.NTAccount])
PowerShell Version: 1
Modules: none