Get AD Group Members Recursively V2

I am releasing version 2 of the AD group members recursive function after requests from some of my followers and colleagues. This version has added functionality to show groups if you use parameter -ShowGroups $true (its optional parameter). If you are using this in your existing scripts those will continue to work as functionality has…