Solved

Need to identify service accounts using VBScript and WMI

Posted on 2008-06-17
2
681 Views
Last Modified: 2010-04-21
Hi,

We are planning for a Inter Forest migration of one AD domain to another. I have about 100 Servers that need to be migrated to target domain. Before that I am planning to identify the Server, Services and the service accounts that has been used to start the services.

Is there any way I can identify those by running a script? I understand that ADMT 3.0 has a Wizard. Is there a WMI,VBScript solution for this that can be run against all 100 Servers?
0
Comment
Question by:srinars
2 Comments
 
LVL 30

Accepted Solution

by:
LauraEHunterMVP earned 125 total points
ID: 21808598
http://www.experts-exchange.com/Programming/Languages/Scripting/Shell/Batch/Q_22927122.html

Look at the comment from MSE-dwells, he has written a script to do precisely what you're describing.
0
 

Author Closing Comment

by:srinars
ID: 31468429
Hi LauraEHunter,

Thanks a Lot!!

It is really great to see a script completely developed per my requirements and is available through Experts Exchange. In fact the solution provided by detox1978 in the same thread precisely matches my requirements. I had copy pasted and tested the script in my test environment - voila! both the scripts are working as explained in the thread.

This is a great value add for me as it saves scripting effort, time and associated testing!! Thanks Laura and detox1978.

Thanks

Srinars
0

Featured Post

NFR key for Veeam Backup for Microsoft Office 365

Veeam is happy to provide a free NFR license (for 1 year, up to 10 users). This license allows for the non‑production use of Veeam Backup for Microsoft Office 365 in your home lab without any feature limitations.

Question has a verified solution.

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

While rebooting windows server 2003 server , it's showing "active directory rebuilding indices please wait" at startup. It took a little while for this process to complete and once we logged on not all the services were started so another reboot is …
This article shows how to deploy dynamic backgrounds to computers depending on the aspect ratio of display
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 …
Microsoft Active Directory, the widely used IT infrastructure, is known for its high risk of credential theft. The best way to test your Active Directory’s vulnerabilities to pass-the-ticket, pass-the-hash, privilege escalation, and malware attacks …

860 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