Issue in ImportAllComputer from AD

Welcome Forums General PowerShell Q&A Issue in ImportAllComputer from AD

This topic contains 2 replies, has 2 voices, and was last updated by

 
Participant
1 year, 6 months ago.

  • Author
    Posts
  • #69745

    Participant
    Points: 1
    Rank: Member

    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.

  • #69748

    Participant
    Points: 22
    Rank: Member

    Moving to correct forum.

    • #69772

      Participant
      Points: 1
      Rank: Member

      Thanks Adam for moving this to correct forum.

The topic ‘Issue in ImportAllComputer from AD’ is closed to new replies.