Exchange 07 - set-owavirtualdirectory error
Hi all I am trying implement to autodiscovery and active sync in our Exchange environment , I am new to this Powershell Tool When Executing the Set Set-OWAVirtualDirectory Identity myowa01\OWA (default web site) -ExternalURL https:owa.projectxnet.com It says Set-OwaVirtualDirectory : The operation could not be performed because object ' myowa01\OWA' could not be found on domain controller 'myADC04. At line:1 char:24 + Set-OWAVirtualDirectory <<<< -Identity myowa01\OWA + CategoryInfo : NotSpecified: (0:Int32) [Set-OwaVirtualDirectory ], ManagementObjectNotFoundException + FullyQualifiedErrorId : 99DB5F45,Microsoft.Exchange.Management.SystemCon figurationTasks.SetOwaVirtualDirectory Kindly advice what i am doing wrong I need Execute these commands to implement the autodiscover Set-OWAVirtualDirectory -Identity myowa01\OWA (default web site) -ExternalURL https://webmail.exchange14.nl/OWA Set-OABVirtualDirectory -Identity myowa01\OAB (default web site) -ExternalURL https://webmail.exchange14.nl/OAB Set-WebServicesVirtualDirectory -Identity myowa01\EWS (default web site) -ExternalURL https://webmail.exchange14.nl/ews/exchange.asmx Set-ActiveSyncVirtualDirectory -Identity myowa01\Microsoft-Server-ActiveSync (default web site) -ExternalURL https://webmail.exchange14.nl/Microsoft-Server-ActiveSync This setting is only valid for Exchange Server 2010: Set-ECPVirtualDirectory -Identity myowa01\ECP (default web site) -ExternalURL https://webmail.exchange14.nl/ECP Thanks in Advance Sabarish
August 24th, 2012 1:00pm

Hi Philip, This Worked perfectly Set-OwaVirtualDirectory -identity "myowa01\owa (default web site) " -RedirectToOptimalOWAServer $false Shall i try this for other scripts as well \ Set-OABVirtualDirectory -Identity myowa01\OAB (default web site) " -RedirectToOptimalOWAServer $false Set-WebServicesVirtualDirectory -Identity myowa01\EWS (default web site) -RedirectToOptimalOWAServer $false Set-ActiveSyncVirtualDirectory -Identity myowa01\Microsoft-Server-ActiveSync (default web site) -RedirectToOptimalOWAServer $false Set-ECPVirtualDirectory -Identity myowa01\ECP (default web site) ) -RedirectToOptimalOWAServer $false Kindly advice
Free Windows Admin Tool Kit Click here and download it now
August 24th, 2012 1:43pm

Hi Phillip Could I try this for all the vir dirs Set-OABVirtualDirectory -Identity myowa01\OAB (default web site) " -RedirectToOptimalOWAServer $false Set-WebServicesVirtualDirectory -Identity myowa01\EWS (default web site) -RedirectToOptimalOWAServer $false Set-ActiveSyncVirtualDirectory -Identity myowa01\Microsoft-Server-ActiveSync (default web site) -RedirectToOptimalOWAServer $false Set-ECPVirtualDirectory -Identity myowa01\ECP (default web site) ) -RedirectToOptimalOWAServer $false Thanks in Advance Regards Sabarish
August 27th, 2012 7:38am

Please refer to: http://technet.microsoft.com/en-us/library/bb123515(EXCHG.80).aspxFiona Liao TechNet Community Support
Free Windows Admin Tool Kit Click here and download it now
August 29th, 2012 5:58am

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics