Method 3 : The attached script joined to this post (replace the extension with .ps1) doesn’t need the ADWS feature to work because it doens’t use Get-ADGroup cmdlet. For the script usage, refer to Exchange Team blog.

As a best practice, you must validate the scirpt in your lab and prepreoduction platform before deploying in your production environment 🙂