Solved

Get list of group membership for a user

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

Scale it in WD Gold

With up to ten times the workload capacity of desktop drives, WD Gold hard drives employ advanced technology to deliver among the best in reliability, capacity, power efficiency and performance.

Question has a verified solution.

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

In the event you manage a Small Business Server 2003, and you are audited for PCI compliance, there are several changes you must make in order to pass the audit. I can take no credit for discovering any of these fixes or workarounds, but there is no…
If you are a user of the discontinued Microsoft Office Accounting 2008 (MSOA) and have to move to a new computer running Windows 8, you will be unhappy to discover that it won't install.  In particular, Microsoft SQL Server 2005 Express Edition (SSE…
This Micro Tutorial hows how you can integrate  Mac OSX to a Windows Active Directory Domain. Apple has made it easy to allow users to bind their macs to a windows domain with relative ease. The following video show how to bind OSX Mavericks to …
This is used to tweak the memory usage for your computer, it is used for servers more so than workstations but just be careful editing registry settings as it may cause irreversible results. I hold no responsibility for anything you do to the regist…

863 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

26 Experts available now in Live!

Get 1:1 Help Now