I am trying to fetch users in a particular AD group and their fullnames, SID and mail information. The following query works fine in PowerShell ISE but not when I try the sa