Issue in ImportAllComputer from AD

Hello Team,

I am trying to import all computer via powershell script via task scheduler which updates all computer objects in the front end application. Recently we have created few computer objects which are not updating and we see error in the log file for scripts
error “Error getting objects: The server has returned the following error: invalid enumeration context.”

I followed the below article and found this could be due to MaxEnumContextExpiration which can be edited but not recommended or else we can assign variable to cmdlet but it is already there

Could some help here and let me know the correct steps to be taken to resolve this.

Moving to correct forum.

Thanks Adam for moving this to correct forum.