Quantcast
Channel: PowerShell.com – PowerShell Scripts, Tips, Forums, and Resources
Viewing all articles
Browse latest Browse all 6937

Generating a report from AD for all user objects with headers

$
0
0

Hello, new to the forum so please forgive me if i get something wrong on the formatting or something.

I have a pretty simple request that i just simply can not remember how to complete.

I have a domain with 4 child domains. I only need the information from the following 2 domains in my Forrest. 

CEK.domain.com

Charlie.domain.com

=====

I would like help with exporting all users that match the following logic:

IF the account is "Enabled" AND in ANY OU THEN gather the FirstName, LastName, Description, EmailAddress, Telephones TAB information, Organization Tab, SamAccountName, OU.

Then I need to create an excel (2010) spreadsheet with the following headers: FirstName, LastName, Description, EmailAddress, Telephones TAB information, Organization Tab, SamAccountName

=====

I have tried this over and over so here I am. I have read a lot of the posts here and this group seems very knowledgeable and friendly.

Thanks in advance for any help at all and thanks for even looking if you cannot assist with this. 

Joshua Borges

 


Viewing all articles
Browse latest Browse all 6937

Trending Articles