exchange 2010 installation

we are trying to configure the external URL for exchange Web Services using the following syntax:

Set-WebServicesVirtualDirectory -Identity "CAS01\EWS (Default Web Site)" -ExternalUrl https://mail.contoso.com/EWS/Exchange.asmx -BasicAuthentication:$True
 
i just want to mention that we have cas array called pm-c-cas01
so i have run the following comand:

Set-WebServicesVirtualDirectory -Identity pm-c-cas01\EWS (default web site) -ExternalUrl https://owa.ourdomain.com/EWS/Exchange.asmx -BasicAuthentication:$True

The operation couldn't be performed because object 'pm-c-cas01\ews Default Web Site' couldn't be found on (our domain controller)

please any help
yaser_981Asked:
Who is Participating?
 
AkhaterConnect With a Mentor Commented:
Get-WebServicesVirtualDirectory | Set-WebServicesVirtualDirectory -ExternalUrl https://owa.ourdomain.com/EWS/Exchange.asmx -BasicAuthentication:$True
0
 
yaser_981Author Commented:
Dear Akhatrer;

whan i run: Get-WebServicesVirtualDirectory

it will provide me only the name of the server i am on, but what i want is to set the WebServicesVirtualDirectory on the cas array instead in one server, is it possible that we have problem in NLB configuration???

thanks in advance
0
 
AkhaterCommented:
No it will return the variable on both cas servers it will change it for both.

You do have 2 cas servers right?
0
 
AkhaterCommented:
Oh i just understod what you mean there is not a server called cas array it is just a virtual name
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.