I am trying to do the following -
1. Import a CSV file with LastName, FirstName
2. Match the User Account based on LastName
3. Export the same user with Title in AD and also Account Status - Enabled or Disabled or Deleted to a second file
I have the file formatted as CSV but am struggling with the logic of the Powershell commands.
Anyone have ideas or a sample script?
Thanks.