Powershell script to compare AD to Csv Export - Update missing attribute with Csv data

John Adams 1 Reputation point
2022-03-10T19:35:04.303+00:00

Hello,

We have a process where an export for users is dumped to a location as a csv file. The csv file has two columns: Extensionattribute10 and Extensionattribute11.

We need to check Ad for users where Extensionattribute10 is empty and then update that user from the data in the csv file. All users have Extensionattribute11 so we can

use that column to callback to the csv and get the proper Extensionattribute10 data that should be set on the user.

Any tips of assistance is much appreciated.

Thank you

Windows for business Windows Client for IT Pros Directory services Active Directory
Windows for business Windows Server User experience PowerShell
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.