Solved

Get list of group membership for a user

Posted on 2006-07-11
4
459 Views
Last Modified: 2008-01-09
I am looking to export a the group membership for each user in the domain. I am familiar with dsget and this does a recursive search which is perfect - except i CAN't save it to a file! Any help in saving output to a file would be great.
0
Comment
Question by:Bartley1969
  • 2
4 Comments
 
LVL 74

Assisted Solution

by:Jeffrey Kane - TechSoEasy
Jeffrey Kane - TechSoEasy earned 200 total points
ID: 17080111
Use AdventNet's ADManager +  http://manageengine.adventnet.com/products/ad-manager/download.html?free

It's free for use within a single domain.  

Jeff
TechSoEasy
0
 

Author Comment

by:Bartley1969
ID: 17080222
Many thanks for that, just what I needed.
0
 
LVL 74

Expert Comment

by:Jeffrey Kane - TechSoEasy
ID: 17080239
I love their products in the SBS space becuase almost all of them are free!  :-)

Jeff
TechSoEasy
0
 
LVL 83

Accepted Solution

by:
oBdA earned 300 total points
ID: 17081189
You can capture any output in a command window with a redirection; just add ">>SomeTextFile.txt" (without the quotes) at the end of the command.
Some more explanations:
somecommand.exe >SomeTextFile.txt
will write somecommand.exe's output to the file SomeFile.txt; this file is created if it doesn't exist, and overwritten (without warning) if it exists.
somecommand.exe >>SomeTextFile.txt
will do the same as the above, but if the file already exists, the output will be added to the existing file.
If the file's name contains a space, put it in quotes:
somecommand.exe >>"SomeTextFile.txt"
0

Featured Post

What Security Threats Are You Missing?

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

A lot of problems and solutions are available on the net for the error message "Source server does not meet minimum requirements for migration" while performing a migration from Small Business Server 2003 to SBS 2008. This error pops up just before …
Written by Glen Knight (demazter) as part of a series of how-to articles. Introduction One of the biggest consumers of disk space with Small Business Server 2008(SBS) is Windows Server Update Services, more affectionately known as WSUS. For t…
In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…
When you create an app prototype with Adobe XD, you can insert system screens -- sharing or Control Center, for example -- with just a few clicks. This video shows you how. You can take the full course on Experts Exchange at http://bit.ly/XDcourse.

705 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

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now