Powershell with the quest tools:
get-qaduser -sizelimit 0 | ?{$_.primarygroupid -ne 513}




On Fri, Feb 13, 2009 at 9:52 AM, Jeremy Anderson <jer...@mapiadmin.net>wrote:

>  My google FU seems to be failing.
>
> I need a quick n Dirty script to run against all users in the domain and
> list their UPN and Primary Group membership.  Or, even better, a list of any
> user in the domain that has anything BESIDES 'domain users' as their primary
> group.
>
> TIA
>
> Jeremy
>
> ~ Finally, powerful endpoint security that ISN'T a resource hog! ~
> ~ <http://www.sunbeltsoftware.com/Business/VIPRE-Enterprise/>  ~
>
>

~ Finally, powerful endpoint security that ISN'T a resource hog! ~
~ <http://www.sunbeltsoftware.com/Business/VIPRE-Enterprise/>  ~

Reply via email to