Greetings! I don't mean to bump an old thread, but this is exactly what I was looking for to reset some of my data as well.

But, with one exception. I also need to empty out some arrays.

This is what I tried knowing that it wouldn't work.

For Each $Element In $user.msExchADCGlobalNames
If Not $Element =""
? $Element
$user.PutEx(1,$user.msExchADCGlobalNames,"")
? $User.Name + " ADCG cleared."
$user.Setinfo
endif
Next

I'm sure I'm close. Any ideas?

Thanks!