Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Get list of group membership for a user

Posted on 2006-07-11
4
Medium Priority
?
474 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 800 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 85

Accepted Solution

by:
oBdA earned 1200 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

[Webinar] Cloud Security

In this webinar you will learn:

-Why existing firewall and DMZ architectures are not suited for securing cloud applications
-How to make your enterprise “Cloud Ready”, and fix your aging DMZ architecture
-How to transform your enterprise and become a Cloud Enabler

Question has a verified solution.

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

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…
I've often see, or have been asked, the question about the difference between the Exchange 2010 SP1 version, available as part of Small Business Server (SBS) 2011, and the “normal” Exchange 2010 SP1 Standard. The answer to the question is relativ…
This course is ideal for IT System Administrators working with VMware vSphere and its associated products in their company infrastructure. This course teaches you how to install and maintain this virtualization technology to store data, prevent vuln…
In response to a need for security and privacy, and to continue fostering an environment members can turn to for support, solutions, and education, Experts Exchange has created anonymous question capabilities. This new feature is available to our Pr…
Suggested Courses
Course of the Month12 days, 10 hours left to enroll

971 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