Remove All AD User Group Memberships Except One Using PowerShell

Notes for a PowerShell script for removing AD user from all groups except one.