Solved

command line to show group that user is joining

Posted on 2006-06-29
4
303 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 250 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

Enabling OSINT in Activity Based Intelligence

Activity based intelligence (ABI) requires access to all available sources of data. Recorded Future allows analysts to observe structured data on the open, deep, and dark web.

Join & Write a Comment

Preface Having the need * to contact many different companies with different infrastructures * do remote maintenance in their network required us to implement a more flexible routing solution. As RAS, PPTP, L2TP and VPN Client connections are no…
ADCs have gained traction within the last decade, largely due to increased demand for legacy load balancing appliances to handle more advanced application delivery requirements and improve application performance.
Sending a Secure fax is easy with eFax Corporate (http://www.enterprise.efax.com). First, Just open a new email message.  In the To field, type your recipient's fax number @efaxsend.com. You can even send a secure international fax — just include t…
This video gives you a great overview about bandwidth monitoring with SNMP and WMI with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're looking for how to monitor bandwidth using netflow or packet s…

760 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

18 Experts available now in Live!

Get 1:1 Help Now