Hello,
I am trying Remove-AutodiscoverVirtualDirectory -Identity "MyServer0\autodiscover(autodiscover.contoso.com)" but I get an error:
Remove-AutodiscoverVirtualDirectory : The operation couldn't be performed because object 'MyServer0\autodiscover(autod
iscover.contoso.com)' couldn't be found on 'MyServer1.GEM-Domain.local'.
At line:1 char:36
+ Remove-AutodiscoverVirtualDirectory <<<< -Identity "'MyServer0\autodiscover(autod
iscover.contoso.com)"
+ CategoryInfo : NotSpecified: (0:Int32) [Remove-AutodiscoverVirtualDirectory], ManagementObjectNotFoundE
xception
+ FullyQualifiedErrorId : 5AB9F856,Microsoft.Exchange.Management.SystemConfigurationTasks.RemoveAutodiscoverVirtua
lDirectory
Notice that even though I pointed to MyServer0, the error is regarding MyServer1. Yes, I have Exchange installed on both servers. The SSL is on MyServer0.
Any Ideas?
Thanks in advance for your time,
Don