The Cmdlet "disable-mailuser" does not clear the WindowsEmailAddress
field. If a user object is mail disabled why would a (probably invalid)
email address be left? Is this bug? If this is deliberate can some one
please divulge the reasoning behind this (just curioous at this point)?
Other than the Quest Cmdlets or a VBScript, is there a powershell way to
clear this field?
Thanks.
--
Tim.
$strGroupfqdn = "<group DN>"
$strMyUser = [ADSI]"LDAP://$strGroupfqdn"
$strMyUser.PSBase.Properties.mail.clear()
$strMyUser.PSBase.CommitChanges()
Karl
"Karl Mitschke" <karlmi...@somestate.gov> wrote in message
news:d66cd4c215de68...@msnews.microsoft.com...
Glad I could help
Karl
Karl