Solved

help to write script to pull info from AD

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

In this article, we will see the basic design consideration while designing a Multi-tenant web application in a simple manner. Though, many frameworks are available in the market to develop a multi - tenant application, but do they provide data, cod…
This script can help you clean up your user profile database by comparing profiles to Active Directory users in a particular OU, and removing the profiles that don't match.
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 configuring their Windows Server 2012 domain controller to synchronize its time with a trusted, external resource. Use Google, Bing, or other preferred search engine to locate trusted NTP …

776 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