Set-ADReplicationConnection command failing.

EPSrookie 81 Reputation points
2022-03-30T22:01:44.947+00:00

I am trying to use the Powershell command Set-ADReplicationConnection -Identity "5f98e288-19e0-47a0-9677-57f05ed54f6b" -ReplicateFromDirectoryServer corp-DC01
But it's failing. I am not sure about the GUID, which GUID to be used here ?
My goal here is, I have a site, some sitelinks are set as automatic and some are manual, I am trying to convert those manual connections to automatic without manually changing the "options" attribute.
I am referring this article.
https://learn.microsoft.com/en-us/powershell/module/activedirectory/set-adreplicationconnection?view=windowsserver2022-ps

Active Directory
Active Directory
A set of directory-based technologies included in Windows Server.
5,174 questions
Windows Server PowerShell
Windows Server PowerShell
Windows Server: A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.PowerShell: A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
5,183 questions
0 comments No comments
{count} votes

0 additional answers

Sort by: Most helpful