You can wrap an executable file around a PowerShell script (PS1) so that you can distribute the script as an .exe file rather than distributing a “raw” script file. This eliminates the need to explain ...
# Directory.Read.All (to ensure best results with /memberOf and /ownedObjects) # Group.ReadWrite.All (for removal of group members/owners) # RoleManagement.ReadWrite.Directory (for removal of ...