Author Posts

April 28, 2017 at 12:37 pm

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

https://social.technet.microsoft.com/wiki/contents/articles/32418.active-directory-troubleshooting-server-has-returned-the-following-error-invalid-enumeration-context.aspx

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

April 28, 2017 at 1:16 pm

Moving to correct forum.

April 28, 2017 at 1:44 pm

Thanks Adam for moving this to correct forum.