?
Solved

command line to show group that user is joining

Posted on 2006-06-29
4
Medium Priority
?
312 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

by Batuhan Cetin Within the dynamic life of an IT administrator, we hold many information in our minds like user names, passwords, IDs, phone numbers, incomes, service tags, bills and the order from our wives to buy milk when coming back to home.…
Setting up a Microsoft WSUS update system is free relatively speaking if you have hard disk space and processor capacity.   However, WSUS can be a blessing and a curse. For example, there is nothing worse than approving updates and they just have…
Video by: ITPro.TV
In this episode Don builds upon the troubleshooting techniques by demonstrating how to properly monitor a vSphere deployment to detect problems before they occur. He begins the show using tools found within the vSphere suite as ends the show demonst…
This is my first video review of Microsoft Bookings, I will be doing a part two with a bit more information, but wanted to get this out to you folks.

718 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