Solved

help to write script to pull info from AD

Posted on 2013-01-10
1
439 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

What Should I Do With This Threat Intelligence?

Are you wondering if you actually need threat intelligence? The answer is yes. We explain the basics for creating useful threat intelligence.

Join & Write a Comment

It’s an age old story, whether you’re looking for full-time employment or contract work. In order to land a job, you must have experience.
Find out how to use Active Directory data for email signature management in Microsoft Exchange and Office 365.
This tutorial will walk an individual through the steps necessary to configure their installation of BackupExec 2012 to use network shared disk space. Verify that the path to the shared storage is valid and that data can be written to that location:…
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…

757 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

19 Experts available now in Live!

Get 1:1 Help Now