I need a power shell script to do the following in Active Directory.
# 1 Get all users with hidden attributes (WFMAccountType = Team Member) which accounts are still enabled but in an OU called SeparatedUsers. Return in a csv file.
#2 Return a csv file a list of accounts with hidden attributes (WFMAccountType = Contractors or Vendor) which Active Directory Accounts are set to Never Expire.
Both these reports should return five columns in the csv file
1. Samaccountname
2. Displayname
3. WFMAccountType (Hidden attribute)
4. WFMDivisionCode (Hidden attribute)
5. WFMLocationCode (Hidden attribute)
Hi,
I am a system admin with very good knowledge on powershell + active directory. I posses good troubleshooting skills which help me to solve issues for my clients