{"id":308,"title":"Exchange Server 2019 PowerSehll ile Virtual Directory olu\u015ft\u0131rma ve kontrol\u00fc","content":"<h3>(PowerShell ile D\u0131\u015f &amp; \u0130&ccedil; URL Tan\u0131mlama + Do\u011frulama Ad\u0131mlar\u0131)<\/h3>\r\n<p><strong>Meta A&ccedil;\u0131klama (SEO):<\/strong><br>Exchange Server &uuml;zerinde Outlook Anywhere, OWA, ECP, ActiveSync, EWS, OAB ve MAPI sanal dizinleri nas\u0131l yap\u0131land\u0131r\u0131l\u0131r? PowerShell kullanarak ExternalURL, InternalURL ve Autodiscover URI ayarlama + do\u011frulama komutlar\u0131. G&uuml;ncel, kapsaml\u0131 rehber.<\/p>\r\n<hr>\r\n<p>Exchange Server ortam\u0131nda istemcilerin do\u011fru \u015fekilde ba\u011flanabilmesi i&ccedil;in <strong>Client Access Service<\/strong> &uuml;zerindeki t&uuml;m sanal dizinlerin (Virtual Directory) hem <strong>InternalURL<\/strong> hem de <strong>ExternalURL<\/strong> ayarlar\u0131n\u0131n do\u011fru yap\u0131lm\u0131\u015f olmas\u0131 gerekir.<\/p>\r\n<p>Bu rehberde, Exchange Management Shell &uuml;zerinde &ccedil;al\u0131\u015ft\u0131rabilece\u011finiz <strong>haz\u0131r PowerShell komutlar\u0131<\/strong> ve ard\u0131ndan <strong>do\u011frulama (kontrol)<\/strong> ad\u0131mlar\u0131n\u0131 bulacaks\u0131n\u0131z.<\/p>\r\n<p>T&uuml;m ayarlar &ouml;rnek bir alan ad\u0131 olan:<\/p>\r\n<pre><code>mail.exchangeserver.net\r\n<\/code><\/pre>\r\n<p>&uuml;zerinden g&ouml;sterilmi\u015ftir. Sen kendi domainine g&ouml;re d&uuml;zenleyebilirsin.<\/p>\r\n<hr>\r\n<h1>\ud83d\udee0\ufe0f 1. Outlook Anywhere Yap\u0131land\u0131rmas\u0131<\/h1>\r\n<p>Outlook Anywhere (RPC over HTTP), Outlook istemcilerinin d\u0131\u015f a\u011fdan Exchange&rsquo;e ba\u011flanmas\u0131n\u0131 sa\u011flar.<\/p>\r\n<h3><strong>PowerShell Konfig&uuml;rasyonu<\/strong><\/h3>\r\n<pre><code class=\"language-powershell\">Get-OutlookAnywhere | Set-OutlookAnywhere `\r\n-ExternalHostname mail.exchangeserver.net `\r\n-InternalHostname mail.exchangeserver.net `\r\n-ExternalClientsRequireSsl $true `\r\n-InternalClientsRequireSsl $true `\r\n-DefaultAuthenticationMethod NTLM\r\n<\/code><\/pre>\r\n<h3>Bu komut ile:<\/h3>\r\n<p>\u2714 D\u0131\u015f ve i&ccedil; ba\u011flant\u0131 hostname'i belirlenir<br>\u2714 SSL zorunlulu\u011fu aktif edilir<br>\u2714 Kimlik do\u011frulama y&ouml;ntemi NTLM olarak set edilir<\/p>\r\n<hr>\r\n<h1>\ud83c\udf10 2. OWA (Outlook Web App) Sanal Dizini Ayar\u0131<\/h1>\r\n<pre><code class=\"language-powershell\">Get-OwaVirtualDirectory | Set-OwaVirtualDirectory `\r\n-ExternalUrl https:\/\/mail.exchangeserver.net\/owa `\r\n-InternalUrl https:\/\/mail.exchangeserver.net\/owa\r\n<\/code><\/pre>\r\n<p>Bu ayar ile hem i&ccedil;eriden hem de d\u0131\u015far\u0131dan OWA eri\u015fimi tek bir URL &uuml;zerinden yap\u0131l\u0131r.<\/p>\r\n<hr>\r\n<h1>\u2699\ufe0f 3. ECP (Exchange Control Panel) Sanal Dizini Ayar\u0131<\/h1>\r\n<p>Exchange Admin Center'\u0131n (EAC) &ccedil;al\u0131\u015ft\u0131\u011f\u0131 sanal dizindir.<\/p>\r\n<pre><code class=\"language-powershell\">Get-EcpVirtualDirectory | Set-EcpVirtualDirectory `\r\n-ExternalUrl https:\/\/mail.exchangeserver.net\/ecp `\r\n-InternalUrl https:\/\/mail.exchangeserver.net\/ecp\r\n<\/code><\/pre>\r\n<hr>\r\n<h1>\ud83d\udcf1 4. ActiveSync Sanal Dizini Ayar\u0131<\/h1>\r\n<p>Mobil cihazlar\u0131n Exchange ile senkronizasyonunu sa\u011flar.<\/p>\r\n<pre><code class=\"language-powershell\">Get-ActiveSyncVirtualDirectory | Set-ActiveSyncVirtualDirectory `\r\n-ExternalUrl https:\/\/mail.exchangeserver.net\/Microsoft-Server-ActiveSync `\r\n-InternalUrl https:\/\/mail.exchangeserver.net\/Microsoft-Server-ActiveSync\r\n<\/code><\/pre>\r\n<hr>\r\n<h1>\ud83d\udce1 5. EWS (Exchange Web Services) Sanal Dizini Ayar\u0131<\/h1>\r\n<p>EWS, Outlook, cihazlar ve entegrasyon uygulamalar\u0131 taraf\u0131ndan kullan\u0131l\u0131r.<\/p>\r\n<pre><code class=\"language-powershell\">Get-WebServicesVirtualDirectory | Set-WebServicesVirtualDirectory `\r\n-ExternalUrl https:\/\/mail.exchangeserver.net\/EWS\/Exchange.asmx `\r\n-InternalUrl https:\/\/mail.exchangeserver.net\/EWS\/Exchange.asmx\r\n<\/code><\/pre>\r\n<hr>\r\n<h1>\ud83d\udcd8 6. OAB (Offline Address Book) Dizini Ayar\u0131<\/h1>\r\n<p>Outlook'un &ccedil;evrimd\u0131\u015f\u0131 adres defteri indirme hizmetidir.<\/p>\r\n<pre><code class=\"language-powershell\">Get-OabVirtualDirectory | Set-OabVirtualDirectory `\r\n-ExternalUrl https:\/\/mail.exchangeserver.net\/OAB `\r\n-InternalUrl https:\/\/mail.exchangeserver.net\/OAB\r\n<\/code><\/pre>\r\n<hr>\r\n<h1>\ud83d\udce8 7. MAPI Sanal Dizini Ayar\u0131<\/h1>\r\n<p>Outlook istemcilerinin MAPI\/HTTP &uuml;zerinden ba\u011flanmas\u0131n\u0131 sa\u011flar.<\/p>\r\n<pre><code class=\"language-powershell\">Get-MAPIVirtualDirectory | Set-MAPIVirtualDirectory `\r\n-InternalUrl https:\/\/mail.exchangeserver.net\/mapi `\r\n-ExternalUrl https:\/\/mail.exchangeserver.net\/mapi\r\n<\/code><\/pre>\r\n<hr>\r\n<h1>\ud83d\udd0d 8. AutoDiscover URI Tan\u0131mlamas\u0131<\/h1>\r\n<p>Autodiscover, Outlook i&ccedil;in yap\u0131land\u0131rmay\u0131 otomatik olarak sa\u011flar.<br>Bu ad\u0131m mutlaka yap\u0131lmal\u0131d\u0131r.<\/p>\r\n<pre><code class=\"language-powershell\">Get-ClientAccessService | Set-ClientAccessService `\r\n-AutoDiscoverServiceInternalUri https:\/\/autodiscover.mail.exchangeserver.net\/Autodiscover\/Autodiscover.xml\r\n<\/code><\/pre>\r\n<p>Ayr\u0131ca virtual directory i&ccedil;in:<\/p>\r\n<pre><code class=\"language-powershell\">Get-AutodiscoverVirtualDirectory | Set-AutodiscoverVirtualDirectory `\r\n-ExternalUrl \"https:\/\/mail.exchangeserver.net\/Autodiscover\/Autodiscover.xml\"\r\n<\/code><\/pre>\r\n<hr>\r\n<h1>\u2714\ufe0f 9. Yap\u0131land\u0131rma Sonras\u0131 Do\u011frulama (Kontrol Komutlar\u0131)<\/h1>\r\n<p>A\u015fa\u011f\u0131daki PowerShell komutlar\u0131 yap\u0131lan t&uuml;m ayarlar\u0131n <strong>do\u011fru uygulan\u0131p uygulanmad\u0131\u011f\u0131n\u0131 kontrol etmek<\/strong> i&ccedil;indir.<\/p>\r\n<hr>\r\n<h2>\ud83d\udce8 Outlook Anywhere Kontrol&uuml;<\/h2>\r\n<pre><code class=\"language-powershell\">Get-OutlookAnywhere | Select Server, ExternalHostname, InternalHostname\r\n<\/code><\/pre>\r\n<hr>\r\n<h2>\ud83c\udf10 OWA Kontrol&uuml;<\/h2>\r\n<pre><code class=\"language-powershell\">Get-OwaVirtualDirectory | Select Server, ExternalURL, InternalURL | fl\r\n<\/code><\/pre>\r\n<hr>\r\n<h2>\ud83d\udcec MAPI Kontrol&uuml;<\/h2>\r\n<pre><code class=\"language-powershell\">Get-MapiVirtualDirectory | Select Server, ExternalURL, InternalURL | fl\r\n<\/code><\/pre>\r\n<hr>\r\n<h2>\u2699\ufe0f ECP Kontrol&uuml;<\/h2>\r\n<pre><code class=\"language-powershell\">Get-EcpVirtualDirectory | Select Server, ExternalURL, InternalURL | fl\r\n<\/code><\/pre>\r\n<hr>\r\n<h2>\ud83d\udcf1 ActiveSync Kontrol&uuml;<\/h2>\r\n<pre><code class=\"language-powershell\">Get-ActiveSyncVirtualDirectory | Select Server, ExternalURL, InternalURL | fl\r\n<\/code><\/pre>\r\n<hr>\r\n<h2>\ud83d\udce1 EWS Kontrol&uuml;<\/h2>\r\n<pre><code class=\"language-powershell\">Get-WebServicesVirtualDirectory | Select Server, ExternalURL, InternalURL | fl\r\n<\/code><\/pre>\r\n<hr>\r\n<h2>\ud83d\udcd8 OAB Kontrol&uuml;<\/h2>\r\n<pre><code class=\"language-powershell\">Get-OabVirtualDirectory | Select Server, ExternalURL, InternalURL | fl\r\n<\/code><\/pre>\r\n<hr>\r\n<h2>\ud83d\udd0d Autodiscover Kontrol&uuml;<\/h2>\r\n<pre><code class=\"language-powershell\">Get-ClientAccessService | Select Name, AutoDiscoverServiceInternalURI\r\n<\/code><\/pre>\r\n<hr>\r\n<h1>\ud83c\udfaf <strong>Sonu&ccedil;<\/strong><\/h1>\r\n<p>Exchange Server ortam\u0131n\u0131n sa\u011fl\u0131kl\u0131 &ccedil;al\u0131\u015fmas\u0131 i&ccedil;in <strong>t&uuml;m Client Access Virtual Directory<\/strong> URL'lerinin do\u011fru yap\u0131land\u0131r\u0131lmas\u0131 kritik &ouml;neme sahiptir.<\/p>\r\n<p>Bu rehberde:<\/p>\r\n<p>\u2714 Outlook Anywhere<br>\u2714 OWA<br>\u2714 ECP<br>\u2714 ActiveSync<br>\u2714 EWS<br>\u2714 OAB<br>\u2714 MAPI<br>\u2714 Autodiscover<\/p>\r\n<p>i&ccedil;in gereken t&uuml;m <strong>PowerShell konfig&uuml;rasyon komutlar\u0131<\/strong> ve <strong>do\u011frulama ad\u0131mlar\u0131n\u0131<\/strong> &ouml;\u011frendiniz.<\/p>\r\n<p>&nbsp;<\/p>\r\n<p>&nbsp;<\/p>","excerpt":"A\u015fa\u011f\u0131da Powershell ile tan\u0131mlama yapabilir ve do\u011frulu\u011funu teyit edebilirsiniz Get-OutlookAnywhere | Set-OutlookAnywhere -ExternalHostname...","created_at":"2021-03-22 20:14:57","updated_at":"2026-09-08 03:01:48","category_id":6,"view_count":565,"reading_time":3,"status":"published","editor_choice":0,"is_editor_choice":0,"published_at":"2021-03-22 20:14:00","featured_image":"resimyok.jpg","slug":"exchange-server-2019-powersehll-ile-virtual-directory-olustirma-ve-kontrolu","category_name":"Sistem","category_slug":"sistem"}