?
Solved

Need to identify service accounts using VBScript and WMI

Posted on 2008-06-17
2
Medium Priority
?
685 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 500 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

Has Powershell sent you back into the Stone Age?

If managing Active Directory using Windows Powershell® is making you feel like you stepped back in time, you are not alone.  For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why.

Question has a verified solution.

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

Group policies can be applied selectively to specific devices with the help of groups. Utilising this, it is possible to phase-in group policies, over a period of time, by randomly adding non-members user or computers at a set interval, to a group f…
Here's a look at newsworthy articles and community happenings during the last month.
This tutorial will walk an individual through the process of transferring the five major, necessary Active Directory Roles, commonly referred to as the FSMO roles from a Windows Server 2008 domain controller to a Windows Server 2012 domain controlle…
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 …
Suggested Courses

719 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