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

x
?
Solved

command line to show group that user is joining

Posted on 2006-06-29
4
Medium Priority
?
316 Views
Last Modified: 2008-01-09
Hello,

In W2003 AD:
Are there any commands to show the list which universal/global/domainlocal group that user is joining?
I don't need the command to show "who is in the group" like "net group(local group)".

Thanks.
0
Comment
Question by:kimakabane
  • 2
4 Comments
 
LVL 51

Accepted Solution

by:
Netman66 earned 1000 total points
ID: 17014698
The command would be:

dsquery user -name {name or partial name with wildcard here} -s {servername}| dsget user -memberof -s {servername}


As an example:

Let's say the user was John Smith and your servername is Server1, then the command would be:

dsquery user -name "John Smith" -s Server1 | dsget user -memberof -s Server1






0
 
LVL 51

Expert Comment

by:Netman66
ID: 17014704
You must have the Support Tools installed on the server for those utilities.  It's on the server CD under \Support.

0

Featured Post

Visualize your virtual and backup environments

Create well-organized and polished visualizations of your virtual and backup environments when planning VMware vSphere, Microsoft Hyper-V or Veeam deployments. It helps you to gain better visibility and valuable business insights.

Question has a verified solution.

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

This may not be a text book method to resolve VSS backup issues but it seemed to have worked on few of the Windows 2003 servers we had issues while performing a Volume Shadow Copy backup. If you have issues while performing a shadow copy backup usin…
Learn about cloud computing and its benefits for small business owners.
Integration Management Part 2
Screencast - Getting to Know the Pipeline

916 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