which active directory groups am i in code example Example: list ad groups in powershell: gpresult /V