Quantcast
Channel: The Official Scripting Guys Forum! forum
Viewing all articles
Browse latest Browse all 15028

AD Update Script

$
0
0

Hello,

Currently our payroll system is the authority on a handful of the AD user properties.  I'm writing a script that will update these properties but we only want to write the update if its changed.  So I was going to loop through each user, then compare each property to that of the payroll system, and if any value needs updating then do the write...

The question I have is...  instead of writing an if then for each user property to be checked is there a way to validate an array of values in one shot?

Thanks,

Ernst.


Viewing all articles
Browse latest Browse all 15028

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>