I\'m working on a script that will build a new group if it doesn\'t exist. I\'m using Get-ADGroup to make sure the group doesn\'t exist using the following command:
try {get-adgroup } catch { }