Solved

help to write script to pull info from AD

Posted on 2013-01-10
1
441 Views
Last Modified: 2013-01-15
Hi Experts,

I am currently implementing a new asset / configuration management system at my company.   We will be using this tool to charge back organization for hardware and software.  Until this tool is fully functioning we need to use Active Directory to pull the information we will need for finance and I want to know if you could help me to write a powershell script to pull this information from AD. All my DCs are Windows 2008 R2 VMs, domain and forest functional level is Windows 2008 R2

I am looking to pull the following items for AD.

1.      Creation date
2.      Active / Not Active  ( I am really only looking for Active)
3.      Userid  (the name of the AD Account)
4.      First and Last name
5.      Cost Centre
6.      Start and End date
7.      Employee or Contractor  (Need to know if either)
0
Comment
Question by:Jerry Seinfield
1 Comment
 
LVL 40

Accepted Solution

by:
Subsun earned 500 total points
ID: 38764775
0

Featured Post

Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

Question has a verified solution.

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

With the shift in today’s hiring climate (http://blog.experts-exchange.com/ee-blog/5-tips-on-succeeding-in-the-new-gig-economy/?cid=Blog_031816), many companies are choosing to hire freelancers to get projects completed efficiently and inexpensively…
It can often be challenging to stay relevant in the rapidly evolving world of technology. This can make recruiting talent difficult for companies of all sizes.
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 to another domain controller. Log onto the new domain controller with a user account t…
This tutorial will walk an individual through setting the global and backup job media overwrite and protection periods in Backup Exec 2012. Log onto the Backup Exec Central Administration Server. Examine the services. If all or most of them are stop…

910 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

22 Experts available now in Live!

Get 1:1 Help Now