Solved

Get list of group membership for a user

Posted on 2006-07-11
4
464 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 84

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

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

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

This guide is intended for migrating Windows 2003 Standard with Exchange 2003 to Windows Small Business Server 2008. You will need the following: Exchange Best Practice Analyzer: http://www.microsoft.com/downloads/details.aspx?FamilyID=DBAB201F-…
The problem of the system drive in SBS 2003 getting full continues to be an issue, even though SBS 2008 and SBS 2011 are both in the market place.  There are several solutions to this, including adding additional drive space or using third party uti…
Nobody understands Phishing better than an anti-spam company. That’s why we are providing Phishing Awareness Training to our customers. According to a report by Verizon, only 3% of targeted users report malicious emails to management. With compan…
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

809 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