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

Query AD for All Users with Attribs but excludes?

$
0
0

Hello--

I am new to PowerShell and I have been working on a script which isn't yet functional or close to right. I have to query AD to get "All users, several attributes of the users, but also exclude specific OUs and things like the built-in accounts that start with a certain name, such as System or something". 

It has to be in a csv file if possible and emailed automatically as I have to schedule the report to run.

Can anyone help me with this please? I am working away and trying, but I"m getting stuck.

 


Viewing all articles
Browse latest Browse all 6937

Latest Images

Trending Articles



Latest Images