Solved

Export Only Empty Groups in CSVDE?

Posted on 2006-11-13
4
1,001 Views
Last Modified: 2012-06-21
Is this possibe? I have used:

C:\>csvde -f c:\fiasporg.csv -r "(objectclass=Group)"

to export all groups, but is it possible to add a switch and only filter groups that have no membership?

Thanks!
0
Comment
Question by:Justin Durrant
  • 2
  • 2
4 Comments
 
LVL 23

Author Comment

by:Justin Durrant
ID: 17931245
No one knows how to do this?
0
 
LVL 26

Accepted Solution

by:
Pber earned 500 total points
ID: 17937754
Yup, do this:

csvde -f c:\fiasporg.csv -r "(&(objectCategory=group)(!member=*))"




0
 
LVL 23

Author Comment

by:Justin Durrant
ID: 17938284
THANKS!
0
 
LVL 26

Expert Comment

by:Pber
ID: 17938393
Not a problem.
0

Featured Post

Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I guess it is not common knowledge to most Wintel engineers/administrators: If you have an SNMP-based monitoring system in your environment (and it's common to have SNMP or Syslog) it's reasonably easy to enable monitoring of the Windows Event logs,…
ADCs have gained traction within the last decade, largely due to increased demand for legacy load balancing appliances to handle more advanced application delivery requirements and improve application performance.
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…

730 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question