I am running the following in PS:
$Photo = [byte] (Get-content c:\Photos\jones.jpg -Encoding byte)
Set-User -identity Jones -Replace @[thumbnailPhoto=$photo}
This was working. Now I get the error "Set-AdUser: A value for the attribute was not in the acceptable range of values at: Line 3 char:10"
I check the 'attributeID' in ADSIEdit, upperlimit value. It was set to <not set>. I set it to 64. I still get this error. Any thought?