Quote:

doc give this a try:
Code:

$objPasswordExpirationFlag = $objUserFlags + $ADS_UF_DONT_EXPIRE_PASSWD






No Doc, don't try that. Stick with the bitwise "|", it's fine.