Solved

Get list of group membership for a user

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

Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

Question has a verified solution.

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

The articles for turning off the Client firewall policy on the internet are for SBS 2008 and don't really help for SBS 2011. They actually moved the Client firewall policy. In 2011, the client firewall policy has moved to the SBS computers conta…
Because virtualization becomes more and more common, and, with Microsoft Hyper-V included in Windows Server at no additional costs, and, most server hardware nowadays is more than capable of running a physical Small Business Server (SBS) 2008 or 201…
This Micro Tutorial will give you a basic overview how to record your screen with Microsoft Expression Encoder. This program is still free and open for the public to download. This will be demonstrated using Microsoft Expression Encoder 4.
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…

821 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