I'm trying to find the last modified date for AdUser attribute. I can get the result for a single ADUser by running the following command:
Get-ADReplicationAttributeMetadata -Object (Get-AdUser User1) -Server DC1.mydomain.com | Where-Object {$_.AttributeName -eq "proxyAddresses"} | Select-Object -Property AttributeName,AttributeValue,FirstOriginatingCreateTime,LastOriginatingChangeTime,LastOriginatingChangeDirectoryServerIdentity
What I would like some help with will be, how I can run the above commands on an OU members and get the output for all of my users.
How would I go about it ?
Thanks,