get-clientaccessserver | set-clientaccessserver -autodiscoverinteralUri "https://properfqdn/autodiscover/autodiscover.xml"
The proper FDQN I would think would be the array name of your E2K10 HT/CAS servers, assuming there's some kind of NLB between them.
To answer your question directly: yes, running the command Set-ClientAccessServer -Identity [servername] -AutodiscoverServiceInternalUri url
will recreate an SCP for you.
Exchange Server creates an AutoDiscover SCP (Service Connection Point) in Active Directory for each CAS.
To view what Exchange has configured for them, run Get-ClientAccessService | Select FQDN,AutoDiscoverServiceInternalUri,DistinguishedName
. Make a note of what you see there.
Then, run Set-ClientAccessService -Identity [Name] -AutoDiscoverServiceInternalUri $null
to clear the SCP for that particular server.
You could also run Get-Client AccessService | Set-ClientAccessService -AutoDiscoverServiceInternalUri $null
to clear all SCPs at once.
To re-add any specific SCP, you just need to run Set-ClientAccessService -Identity [Name] -AutoDiscoverServiceInternalUri "[URL]"
.
You can also find the SCP in Active Directory for each of your CAS servers by using ADSI Edit. The DistinguishedName attribute that is returned by the above commands will show you how to find them in ADSI Edit. (In reverse, of course!) For example, the location of an SCP for a server named "mail1.example.org" might be:
CN=MAIL1,CN=Autodiscover,CN=Protocols,CN=MAIL1,CN=Servers,CN=Exchange Administrative Group (********),CN=Administrative Groups,CN=Example,CN=Microsoft Exchange,CN=Services,CN=Configuration,DC=example,DC=org
.
Side Note: The Set-ClientAccessServer cmdlet has been deprecated and will be removed from "a future" version of Exchange Server. It would be best to get familiar with the *-ClientAccessService cmdlets at this point.
Best Answer
Did you remove Exchange 2007 properly, using add/remove programs? It should have removed all of the entries.
It is seen in ADSIEDIT in the following location: CN=Autodiscover,CN=Protocols,CN=servername,CN=Servers,CN=Exchange Administrative Group,CN=Administrative Groups,CN=Your Organization,CN=Microsoft Exchange,CN=Services
Where servername is the name of the old Exchange server and your org is the org name.