{msExchHideFromAddressLists="True"}
The attribute has a true, false or not set option. How would I set it to true ?
I dont think I understand the Boolean options yet.
ThanksDana
Assuming that you have an object representing the user
$user.msExchHideFromAddressLists=$true
should work
Here is how I ended up writing the change. I did not know to put the $ in front of the true to get the option selected.
# ======================================================## This script is designed to change a custom attribute on a Group# From a csv file Don't Change# To get <Not Set> just type in Not for the Boolean entry or anything else invalid## ======================================================cls$AD=",OU=Test,DC=domain"$CN="CN="$Domain="domain.com"Import-CSV "C:\Scripts\test\test.csv" | % { $Name=$_.Name $Iden=$CN+$Name+$AD Set-QADGroup -Identity $Iden -ObjectAttributes @{msExchHideFromAddressLists=$Not}}
Thanks for the response