I'm looking to run a powershell command using a Custom Command that runs after a tech runs through the Transfer request and it will send an email to me showing me the groups that the user currently has, so I can respond to Tech to show them what groups should be removed.
The command is: Get-ADPrincipalGroupMembership -ResourceContextServer localdomain.com -Identity username| select name
Which will give me all the groups, for that specific user.