Solved

Need to identify service accounts using VBScript and WMI

Posted on 2008-06-17
2
683 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
[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 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

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Always backup Domain, SYSVOL etc.using processes according to Microsoft Best Practices. This is meant as a disaster recovery process for small environments that did not implement backup processes and did not run a secondary domain controller that ne…
Had a business requirement to store the mobile number in an environmental variable. This is just a quick article on how this was done.
Attackers love to prey on accounts that have privileges. Reducing privileged accounts and protecting privileged accounts therefore is paramount. Users, groups, and service accounts need to be protected to help protect the entire Active Directory …
Are you ready to implement Active Directory best practices without reading 300+ pages? You're in luck. In this webinar hosted by Skyport Systems, you gain insight into Microsoft's latest comprehensive guide, with tips on the best and easiest way…

751 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