Guest Larry Posted September 24, 2008 Posted September 24, 2008 Hey guys, I am running server 2003 and have about a hundred distribution lists. Is there a way to run a query that returns the name of each list as well as the account that is assigned as manager? Thanks, Larry
Guest Masterplan Posted September 24, 2008 Posted September 24, 2008 RE: Is there a way to Query AD for Dist lists and their managers? Hi Larry, Here is the script: dsquery * -filter "(&(samAccountType=268435457)(managedBy=*))" -Attr sAMAccountName managedBy -Limit 0 -- Have a nice day! http://winmasterplan.blogspot.com "Larry" wrote: > Hey guys, > > I am running server 2003 and have about a hundred distribution lists. Is > there a way to run a query that returns the name of each list as well as the > account that is assigned as manager? > > Thanks, > Larry > >
Guest Larry Posted September 24, 2008 Posted September 24, 2008 Re: Is there a way to Query AD for Dist lists and their managers? Masterplan, That worked like a charm. Thanks a bunch! Larry "Masterplan" <winmasterplan@gmail.com.> wrote in message news:E081729A-A006-4417-90F7-FA778CA147F0@microsoft.com... > Hi Larry, > > Here is the script: > dsquery * -filter "(&(samAccountType=268435457)(managedBy=*))" -Attr > sAMAccountName managedBy -Limit 0 > > -- > Have a nice day! > > http://winmasterplan.blogspot.com > > > "Larry" wrote: > >> Hey guys, >> >> I am running server 2003 and have about a hundred distribution lists. Is >> there a way to run a query that returns the name of each list as well as >> the >> account that is assigned as manager? >> >> Thanks, >> Larry >> >>
Recommended Posts