Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 256
  • Last Modified:

Find all groups that are defined to accept messages only from

Hi,

Find all groups that are defined to accept messages only from.Is there a way to get all these group names to a file .

Regards
Sharath
0
bsharath
Asked:
bsharath
  • 3
  • 2
1 Solution
 
Farhan KaziSystems EngineerCommented:
Hi Sharath,

Click Start -> Run -> Cmd.exe

DSQuery * -Filter "(&(authOrig=*)(objectCategory=group))" -Attr Name -Limit 0 -L >OnlyFromGroups.txt

Check 'OnlyFromGroups.txt' for group names.

Hope this helps!
Farhan
0
 
bsharathAuthor Commented:
Farhan this works fine from the local Domain but from the root domain it does not fetch.Can you change it to even get details from the root domain
0
 
Farhan KaziSystems EngineerCommented:
Check following:

DSQuery * ForestRoot -Filter "(&(authOrig=*)(objectCategory=group))" -Attr Name -Limit 0 -L >OnlyFromGroups.txt
0

Featured Post

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

  • 3
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now