Link to home
Start Free TrialLog in
Avatar of Jerry Seinfield
Jerry SeinfieldFlag for United States of America

asked on

help to write script to pull info from AD

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)
ASKER CERTIFIED SOLUTION
Avatar of SubSun
SubSun
Flag of India image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial