{"id":27415,"date":"2025-08-12T21:45:25","date_gmt":"2025-08-12T18:45:25","guid":{"rendered":"https:\/\/fatihsoysal.com\/blog\/powershell-dizideki-herhangi-bir-alt-dizeyi-icerip-icermedigini-kontrol-etme\/"},"modified":"2025-08-12T21:45:25","modified_gmt":"2025-08-12T18:45:25","slug":"powershell-dizideki-herhangi-bir-alt-dizeyi-icerip-icermedigini-kontrol-etme","status":"publish","type":"post","link":"https:\/\/fatihsoysal.com\/blog\/powershell-dizideki-herhangi-bir-alt-dizeyi-icerip-icermedigini-kontrol-etme\/","title":{"rendered":"PowerShell: Dizideki Herhangi Bir Alt Dizeyi \u0130\u00e7erip \u0130\u00e7ermedi\u011fini Kontrol Etme"},"content":{"rendered":"<p># PowerShell: Dizideki Alt Dizelerden Herhangi Birini \u0130\u00e7eren String Kontrol\u00fc<\/p>\n<p>Bir metin dosyas\u0131nda belirli kelimeleri ar\u0131yorsunuz, bir log dosyas\u0131nda hata mesajlar\u0131n\u0131 filtrelemek istiyorsunuz veya bir a\u011f cihaz\u0131ndan gelen \u00e7\u0131kt\u0131y\u0131 analiz ediyorsunuz.  Bu gibi durumlarda, PowerShell&#8217;in g\u00fc\u00e7l\u00fc string manip\u00fclasyon yeteneklerinden yararlanarak, bir stringin bir dizi i\u00e7indeki alt dizelerden herhangi birini i\u00e7erip i\u00e7ermedi\u011fini kontrol etmek \u00e7ok faydal\u0131 olacakt\u0131r. Bu makalede, PowerShell kullanarak bu i\u015flemi nas\u0131l ger\u00e7ekle\u015ftirece\u011finizi, farkl\u0131 y\u00f6ntemleri, performans optimizasyonlar\u0131n\u0131 ve ileri d\u00fczey teknikleri ad\u0131m ad\u0131m \u00f6\u011freneceksiniz.  Yeni ba\u015flayanlardan uzmanlara kadar herkes i\u00e7in faydal\u0131 bilgiler ve ger\u00e7ek d\u00fcnya \u00f6rnekleri bulacaks\u0131n\u0131z.<\/p>\n<p><strong>\u00d6\u011frenme Yol Haritas\u0131<\/strong><\/p>\n<p>Bu makale, PowerShell&#8217;de string ve dizilerle \u00e7al\u0131\u015fmay\u0131 kademeli olarak ele almaktad\u0131r.  A\u015fa\u011f\u0131daki yol haritas\u0131n\u0131 takip ederek, konuyu ad\u0131m ad\u0131m \u00f6\u011frenebilirsiniz:<\/p>\n<p><strong>Yeni Ba\u015flayan:<\/strong> Basit bir \u00f6rnek ve ad\u0131m ad\u0131m a\u00e7\u0131klama.<\/p>\n<p><strong>Orta:<\/strong> Ger\u00e7ek d\u00fcnya senaryolar\u0131 ve optimizasyon ipu\u00e7lar\u0131.<\/p>\n<p><strong>\u0130leri D\u00fczey:<\/strong> Performans analizi ve edge case&#8217;ler (ola\u011fan d\u0131\u015f\u0131 durumlar).<\/p>\n<p><strong>PowerShell&#8217;de String ve Dizi \u0130\u015flemleri: Temel Kavramlar<\/strong><\/p>\n<p>PowerShell, string ve dizi manip\u00fclasyonu i\u00e7in g\u00fc\u00e7l\u00fc fonksiyonlar sunar.  Bir string, karakterlerden olu\u015fan bir diziyken, bir dizi ise farkl\u0131 veri tiplerini (stringler, say\u0131lar, nesneler vb.) saklayabilen bir koleksiyonudur.  Bu makalede, \u00f6zellikle stringlerin bir dizi i\u00e7indeki stringleri i\u00e7erip i\u00e7ermedi\u011fini kontrol etmekle ilgilenece\u011fiz.  Bunun i\u00e7in <code class=\"language-\">-contains<\/code>, <code class=\"language-\">-match<\/code>, ve <code class=\"language-\">Where-Object<\/code> gibi cmdlet&#8217;leri kullanaca\u011f\u0131z.<\/p>\n<p><strong>Nas\u0131l Yap\u0131l\u0131r? &#8211;  Basit Bir Kontrol: <code class=\"language-\">-contains<\/code> Operat\u00f6r\u00fc<\/strong><\/p>\n<p>En basit y\u00f6ntem, <code class=\"language-\">-contains<\/code> operat\u00f6r\u00fcn\u00fc kullanmakt\u0131r. Ancak, bu operat\u00f6r yaln\u0131zca tam e\u015fle\u015fmeleri kontrol eder, alt dize e\u015fle\u015fmelerini de\u011fil.  \u00d6rne\u011fin, &#8220;Merhaba D\u00fcnya&#8221; stringinin &#8220;Merhaba&#8221; stringini i\u00e7erdi\u011fini kontrol etmek i\u00e7in kullanabiliriz.  Ancak, &#8220;Merhaba D\u00fcnya&#8221; stringinin &#8220;rba&#8221; gibi bir alt dizeyi i\u00e7erdi\u011fini kontrol edemez.<\/p>\n<pre class=\"language-powershell\"><code>$string = &quot;Merhaba D\u00fcnya&quot;\n$dizi = &quot;Merhaba&quot;, &quot;D\u00fcnya&quot;, &quot;Python&quot;\n\nif ($dizi -contains $string) {\n  Write-Host &quot;$string dizide bulundu.&quot;\n} else {\n  Write-Host &quot;$string dizide bulunamad\u0131.&quot;\n}\n\n#Alt dize kontrol\u00fc i\u00e7in uygun de\u011fildir.<\/code><\/pre>\n<p>Bu kod, sadece tam e\u015fle\u015fmeleri kontrol eder. Alt dize e\u015fle\u015fmesi i\u00e7in daha geli\u015fmi\u015f tekniklere ihtiyac\u0131m\u0131z var.<\/p>\n<p><strong>Nas\u0131l Yap\u0131l\u0131r? &#8211; Alt Dize Kontrol\u00fc: <code class=\"language-\">-match<\/code> Operat\u00f6r\u00fc ve D\u00f6ng\u00fcler<\/strong><\/p>\n<p><code class=\"language-\">-match<\/code> operat\u00f6r\u00fc, d\u00fczenli ifadeler (regular expressions) kullanarak daha karma\u015f\u0131k e\u015fle\u015fmeler yapmam\u0131z\u0131 sa\u011flar.  Bir stringin bir dizi i\u00e7indeki herhangi bir alt dizeyi i\u00e7erip i\u00e7ermedi\u011fini kontrol etmek i\u00e7in, dizi i\u00e7indeki her bir string i\u00e7in <code class=\"language-\">-match<\/code> operat\u00f6r\u00fcn\u00fc kullanabiliriz.<\/p>\n<pre class=\"language-powershell\"><code>$string = &quot;Bu bir \u00f6rnek metindir.&quot;\n$dizi = &quot;\u00f6rnek&quot;, &quot;test&quot;, &quot;Python&quot;\n\nforeach ($altDize in $dizi) {\n  if ($string -match $altDize) {\n    Write-Host &quot;String, '$altDize' alt dizesini i\u00e7eriyor.&quot;\n    break # \u0130lk e\u015fle\u015fmeyi bulduktan sonra d\u00f6ng\u00fcden \u00e7\u0131kabiliriz.\n  }\n}<\/code><\/pre>\n<p>Bu kod, <code class=\"language-\">$string<\/code> de\u011fi\u015fkeninin <code class=\"language-\">$dizi<\/code> i\u00e7indeki her bir eleman\u0131 i\u00e7erip i\u00e7ermedi\u011fini kontrol eder ve ilk e\u015fle\u015fmeyi buldu\u011funda d\u00f6ng\u00fcden \u00e7\u0131kar.  Bu yakla\u015f\u0131m, b\u00fcy\u00fck diziler i\u00e7in performans sorunlar\u0131na yol a\u00e7abilir.<\/p>\n<p><strong>Nas\u0131l Yap\u0131l\u0131r? &#8211;  Daha Etkin Bir Yakla\u015f\u0131m: <code class=\"language-\">Where-Object<\/code> ile Filtreleme<\/strong><\/p>\n<p><code class=\"language-\">Where-Object<\/code> cmdlet&#8217;i, daha b\u00fcy\u00fck dizilerde daha verimli bir \u015fekilde \u00e7al\u0131\u015f\u0131r.  Bu cmdlet, dizi i\u00e7indeki her bir eleman\u0131 bir ko\u015fula g\u00f6re filtreler.<\/p>\n<pre class=\"language-powershell\"><code>$string = &quot;Bu bir \u00f6rnek metindir.&quot;\n$dizi = &quot;\u00f6rnek&quot;, &quot;test&quot;, &quot;Python&quot;\n\nif ($dizi | Where-Object { $string -match $_ }) {\n  Write-Host &quot;String, dizideki en az bir alt dizeyi i\u00e7eriyor.&quot;\n} else {\n  Write-Host &quot;String, dizideki hi\u00e7bir alt dizeyi i\u00e7ermiyor.&quot;\n}<\/code><\/pre>\n<p>Bu kod, <code class=\"language-\">Where-Object<\/code> cmdlet&#8217;ini kullanarak, <code class=\"language-\">$string<\/code> de\u011fi\u015fkeninin <code class=\"language-\">$dizi<\/code> i\u00e7indeki herhangi bir alt dizeyi i\u00e7erip i\u00e7ermedi\u011fini kontrol eder.  E\u011fer en az bir e\u015fle\u015fme bulunursa, <code class=\"language-\">True<\/code> d\u00f6nd\u00fcr\u00fcr; aksi takdirde <code class=\"language-\">False<\/code> d\u00f6nd\u00fcr\u00fcr.<\/p>\n<p><strong>Ger\u00e7ek D\u00fcnya Senaryolar\u0131: Vaka Analizleri<\/strong><\/p>\n<p><strong>1. Log Dosyas\u0131 Analizi:<\/strong> Bir log dosyas\u0131n\u0131 okuyup belirli hata mesajlar\u0131n\u0131 i\u00e7eren sat\u0131rlar\u0131 filtrelemek istedi\u011fimizi d\u00fc\u015f\u00fcnelim.<\/p>\n<pre class=\"language-powershell\"><code>$logDosyasi = Get-Content &quot;C:\\log.txt&quot;\n$hataMesajlari = &quot;Hata 123&quot;, &quot;Hata 456&quot;, &quot;Kritik Hata&quot;\n\n$hataSatirlari = $logDosyasi | Where-Object {$_.ToLower() -match ($hataMesajlari -join &quot;|&quot;)}\n\n$hataSatirlari | ForEach-Object {Write-Host $_}<\/code><\/pre>\n<p>Bu kod, <code class=\"language-\">$hataMesajlari<\/code> dizisindeki herhangi bir hata mesaj\u0131n\u0131 i\u00e7eren log dosyas\u0131ndaki sat\u0131rlar\u0131 filtreler ve ekrana yazd\u0131r\u0131r. <code class=\"language-\">-join \"|\"<\/code> ile hata mesajlar\u0131n\u0131 birle\u015ftirip d\u00fczenli ifadede <code class=\"language-\">|<\/code> (veya) operat\u00f6r\u00fcn\u00fc kullanarak performans\u0131 art\u0131rabiliriz.<\/p>\n<p><strong>2. A\u011f Cihaz\u0131 \u00c7\u0131kt\u0131s\u0131 Analizi:<\/strong> Bir a\u011f cihaz\u0131ndan gelen \u00e7\u0131kt\u0131da belirli anahtar kelimeleri aramak istedi\u011fimizi varsayal\u0131m.<\/p>\n<pre class=\"language-powershell\"><code>$cihazCiktisi = &quot;Interface GigabitEthernet0\/1, status up, speed 1000&quot;\n$anahtarKelimeler = &quot;GigabitEthernet&quot;, &quot;up&quot;, &quot;1000&quot;\n\nif ($anahtarKelimeler | Where-Object { $cihazCiktisi -match $_ }) {\n  Write-Host &quot;Cihaz \u00e7\u0131kt\u0131s\u0131, anahtar kelimelerden en az birini i\u00e7eriyor.&quot;\n}<\/code><\/pre>\n<p>Bu kod, a\u011f cihaz\u0131 \u00e7\u0131kt\u0131s\u0131n\u0131n belirli anahtar kelimeleri i\u00e7erip i\u00e7ermedi\u011fini kontrol eder.<\/p>\n<p><strong>Performans Optimizasyonu<\/strong><\/p>\n<p>B\u00fcy\u00fck dizilerle \u00e7al\u0131\u015f\u0131rken performans kritik \u00f6neme sahiptir.  <code class=\"language-\">-match<\/code> operat\u00f6r\u00fc, d\u00fczenli ifadeler kulland\u0131\u011f\u0131 i\u00e7in performans a\u00e7\u0131s\u0131ndan daha pahal\u0131 olabilir.  Bu nedenle, b\u00fcy\u00fck diziler i\u00e7in <code class=\"language-\">Where-Object<\/code> ile birlikte <code class=\"language-\">-contains<\/code> operat\u00f6r\u00fcn\u00fc kullanmak daha verimli olabilir, ancak bu durumda tam e\u015fle\u015fme \u015fart\u0131 ge\u00e7erli olacakt\u0131r.  Ayr\u0131ca, \u00f6nceden derlenmi\u015f d\u00fczenli ifadeler kullanarak da performans\u0131 art\u0131rabilirsiniz.<\/p>\n<p><strong>\u0130leri D\u00fczey Teknikler: Edge Case&#8217;ler ve Performans Analizi<\/strong><\/p>\n<p><strong>Edge Case&#8217;ler:<\/strong> Bo\u015f stringler, null de\u011ferler ve b\u00fcy\u00fck\/k\u00fc\u00e7\u00fck harf duyarl\u0131l\u0131\u011f\u0131 gibi durumlar\u0131 g\u00f6z \u00f6n\u00fcnde bulundurmak \u00f6nemlidir.  Bunun i\u00e7in <code class=\"language-\">String.IsNullOrEmpty()<\/code> fonksiyonunu ve <code class=\"language-\">-match<\/code> operat\u00f6r\u00fcn\u00fcn <code class=\"language-\">IgnoreCase<\/code> parametresini kullanabilirsiniz.<\/p>\n<p><strong>Performans Analizi:<\/strong>  <code class=\"language-\">Measure-Command<\/code> cmdlet&#8217;i ile farkl\u0131 y\u00f6ntemlerin performans\u0131n\u0131 kar\u015f\u0131la\u015ft\u0131rabilirsiniz.  B\u00fcy\u00fck veri k\u00fcmeleri \u00fczerinde testler yaparak en verimli y\u00f6ntemi belirleyebilirsiniz.<\/p>\n<p><strong>Sonu\u00e7<\/strong><\/p>\n<p>PowerShell, stringlerin bir dizi i\u00e7indeki alt dizeleri i\u00e7erip i\u00e7ermedi\u011fini kontrol etmek i\u00e7in bir\u00e7ok farkl\u0131 y\u00f6ntem sunar.  <code class=\"language-\">-contains<\/code>, <code class=\"language-\">-match<\/code> ve <code class=\"language-\">Where-Object<\/code> cmdlet&#8217;leri, farkl\u0131 senaryolara uygun \u00e7\u00f6z\u00fcmler sunar.  Performans optimizasyonu ve edge case&#8217;leri g\u00f6z \u00f6n\u00fcnde bulundurarak, ihtiya\u00e7lar\u0131n\u0131za en uygun y\u00f6ntemi se\u00e7ebilirsiniz.  Bu makalede anlat\u0131lan teknikleri kullanarak, log dosyas\u0131 analizi, a\u011f cihaz\u0131 \u00e7\u0131kt\u0131s\u0131 analizi ve daha bir\u00e7ok alanda verimli ve etkili \u00e7\u00f6z\u00fcmler geli\u015ftirebilirsiniz.  Daha fazla PowerShell ipucu ve tekni\u011fi i\u00e7in [Fatih Soysal&#8217;\u0131n sitesini](https:\/\/fatihsoysal.com) ziyaret edebilirsiniz.<\/p>\n<p><strong>S\u0131k\u00e7a Sorulan Sorular:<\/strong><\/p>\n<p>1. <strong>B\u00fcy\u00fck diziler i\u00e7in hangi y\u00f6ntem daha h\u0131zl\u0131d\u0131r?<\/strong>  Genellikle <code class=\"language-\">Where-Object<\/code> cmdlet&#8217;i, \u00f6zellikle d\u00fczenli ifadeler kullan\u0131lmad\u0131\u011f\u0131nda, daha h\u0131zl\u0131d\u0131r.<\/p>\n<p>2. <strong>B\u00fcy\u00fck\/k\u00fc\u00e7\u00fck harf duyarl\u0131l\u0131\u011f\u0131n\u0131 nas\u0131l kontrol alt\u0131na alabilirim?<\/strong>  <code class=\"language-\">-match<\/code> operat\u00f6r\u00fcn\u00fcn <code class=\"language-\">IgnoreCase<\/code> parametresini kullanabilirsiniz.<\/p>\n<p>3. <strong>Bo\u015f stringleri nas\u0131l ele alabilirim?<\/strong>  <code class=\"language-\">String.IsNullOrEmpty()<\/code> fonksiyonu ile bo\u015f stringleri kontrol edebilirsiniz.<\/p>\n<p>4. <strong>Null de\u011ferleri nas\u0131l i\u015fleyebilirim?<\/strong>  Null de\u011ferleri kontrol edip i\u015flemlerinizde buna g\u00f6re ayarlamalar yapabilirsiniz.<\/p>\n<p>5. <strong>D\u00fczenli ifadeler kullanman\u0131n avantajlar\u0131 ve dezavantajlar\u0131 nelerdir?<\/strong> Avantaj\u0131 karma\u015f\u0131k e\u015fle\u015fmeler yapabilmesidir, dezavantaj\u0131 ise performans a\u00e7\u0131s\u0131ndan daha pahal\u0131 olmas\u0131d\u0131r.<\/p>\n<p>Yazar: Fatih Soysal<\/p>\n","protected":false},"excerpt":{"rendered":"# PowerShell: Dizideki Alt Dizelerden Herhangi Birini \u0130\u00e7eren String Kontrol\u00fc Bir metin dosyas\u0131nda belirli kelimeleri ar\u0131yorsunuz, bir log&hellip;","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"csco_page_header_type":"","csco_page_load_nextpost":"","csco_page_subscribe_form":"","csco_page_contact_form":"","footnotes":""},"categories":[1319],"tags":[],"class_list":{"0":"post-27415","1":"post","2":"type-post","3":"status-publish","4":"format-standard","6":"category-powershell","7":"cs-entry","8":"cs-video-wrap"},"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v20.5 (Yoast SEO v25.3.1) - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>PowerShell: Dizideki Herhangi Bir Alt Dizeyi \u0130\u00e7erip \u0130\u00e7ermedi\u011fini Kontrol Etme<\/title>\n<meta name=\"description\" content=\"Hi\u00e7bir etiketi bulunamad\u0131.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/fatihsoysal.com\/blog\/powershell-dizideki-herhangi-bir-alt-dizeyi-icerip-icermedigini-kontrol-etme\/\" \/>\n<meta property=\"og:locale\" content=\"tr_TR\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"PowerShell: Dizideki Herhangi Bir Alt Dizeyi \u0130\u00e7erip \u0130\u00e7ermedi\u011fini Kontrol Etme\" \/>\n<meta property=\"og:description\" content=\"Hi\u00e7bir etiketi bulunamad\u0131.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/fatihsoysal.com\/blog\/powershell-dizideki-herhangi-bir-alt-dizeyi-icerip-icermedigini-kontrol-etme\/\" \/>\n<meta property=\"og:site_name\" content=\"Kodlar\u0131n Gizemli D\u00fcnyas\u0131\" \/>\n<meta property=\"article:published_time\" content=\"2025-08-12T18:45:25+00:00\" \/>\n<meta name=\"author\" content=\"Fatih Soysal\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Yazan:\" \/>\n\t<meta name=\"twitter:data1\" content=\"Fatih Soysal\" \/>\n\t<meta name=\"twitter:label2\" content=\"Tahmini okuma s\u00fcresi\" \/>\n\t<meta name=\"twitter:data2\" content=\"6 dakika\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/fatihsoysal.com\/blog\/powershell-dizideki-herhangi-bir-alt-dizeyi-icerip-icermedigini-kontrol-etme\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/fatihsoysal.com\/blog\/powershell-dizideki-herhangi-bir-alt-dizeyi-icerip-icermedigini-kontrol-etme\/\"},\"author\":{\"name\":\"Fatih Soysal\",\"@id\":\"https:\/\/fatihsoysal.com\/blog\/#\/schema\/person\/002a254750921dcfd568a99e48240dd1\"},\"headline\":\"PowerShell: Dizideki Herhangi Bir Alt Dizeyi \u0130\u00e7erip \u0130\u00e7ermedi\u011fini Kontrol Etme\",\"datePublished\":\"2025-08-12T18:45:25+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/fatihsoysal.com\/blog\/powershell-dizideki-herhangi-bir-alt-dizeyi-icerip-icermedigini-kontrol-etme\/\"},\"wordCount\":1004,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/fatihsoysal.com\/blog\/#\/schema\/person\/002a254750921dcfd568a99e48240dd1\"},\"articleSection\":[\"PowerShell\"],\"inLanguage\":\"tr\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/fatihsoysal.com\/blog\/powershell-dizideki-herhangi-bir-alt-dizeyi-icerip-icermedigini-kontrol-etme\/#respond\"]}],\"copyrightYear\":\"2025\",\"copyrightHolder\":{\"@id\":\"https:\/\/fatihsoysal.com\/blog\/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/fatihsoysal.com\/blog\/powershell-dizideki-herhangi-bir-alt-dizeyi-icerip-icermedigini-kontrol-etme\/\",\"url\":\"https:\/\/fatihsoysal.com\/blog\/powershell-dizideki-herhangi-bir-alt-dizeyi-icerip-icermedigini-kontrol-etme\/\",\"name\":\"PowerShell: Dizideki Herhangi Bir Alt Dizeyi \u0130\u00e7erip \u0130\u00e7ermedi\u011fini Kontrol Etme\",\"isPartOf\":{\"@id\":\"https:\/\/fatihsoysal.com\/blog\/#website\"},\"datePublished\":\"2025-08-12T18:45:25+00:00\",\"description\":\"Hi\u00e7bir etiketi bulunamad\u0131.\",\"breadcrumb\":{\"@id\":\"https:\/\/fatihsoysal.com\/blog\/powershell-dizideki-herhangi-bir-alt-dizeyi-icerip-icermedigini-kontrol-etme\/#breadcrumb\"},\"inLanguage\":\"tr\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/fatihsoysal.com\/blog\/powershell-dizideki-herhangi-bir-alt-dizeyi-icerip-icermedigini-kontrol-etme\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/fatihsoysal.com\/blog\/powershell-dizideki-herhangi-bir-alt-dizeyi-icerip-icermedigini-kontrol-etme\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Anasayfa\",\"item\":\"https:\/\/fatihsoysal.com\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"PowerShell: Dizideki Herhangi Bir Alt Dizeyi \u0130\u00e7erip \u0130\u00e7ermedi\u011fini Kontrol Etme\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/fatihsoysal.com\/blog\/#website\",\"url\":\"https:\/\/fatihsoysal.com\/blog\/\",\"name\":\"Fatihsoysal.com\",\"description\":\"Blog - Yaz\u0131l\u0131m D\u00fcnyas\u0131 Tecr\u00fcbelerim\",\"publisher\":{\"@id\":\"https:\/\/fatihsoysal.com\/blog\/#\/schema\/person\/002a254750921dcfd568a99e48240dd1\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/fatihsoysal.com\/blog\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"tr\"},{\"@type\":[\"Person\",\"Organization\"],\"@id\":\"https:\/\/fatihsoysal.com\/blog\/#\/schema\/person\/002a254750921dcfd568a99e48240dd1\",\"name\":\"Fatih Soysal\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"tr\",\"@id\":\"https:\/\/fatihsoysal.com\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/fatihsoysal.com\/blog\/wp-content\/uploads\/2024\/04\/cropped-replicate-prediction-3kgg1hgjn5rgp0cf0p5tr0jw7w-1.png\",\"contentUrl\":\"https:\/\/fatihsoysal.com\/blog\/wp-content\/uploads\/2024\/04\/cropped-replicate-prediction-3kgg1hgjn5rgp0cf0p5tr0jw7w-1.png\",\"width\":512,\"height\":512,\"caption\":\"Fatih Soysal\"},\"logo\":{\"@id\":\"https:\/\/fatihsoysal.com\/blog\/#\/schema\/person\/image\/\"},\"description\":\"Kullan\u0131m ve kodlama m\u00fckemmeliyetini odak alan uygulamalar olu\u015fturma deneyimine sahip, profesyonel olarak 15+ y\u0131l \u00fczeri deneyime sahip bir yaz\u0131l\u0131m m\u00fchendisi.\",\"url\":\"https:\/\/fatihsoysal.com\/blog\/author\/fatihsoysal\/\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"PowerShell: Dizideki Herhangi Bir Alt Dizeyi \u0130\u00e7erip \u0130\u00e7ermedi\u011fini Kontrol Etme","description":"Hi\u00e7bir etiketi bulunamad\u0131.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/fatihsoysal.com\/blog\/powershell-dizideki-herhangi-bir-alt-dizeyi-icerip-icermedigini-kontrol-etme\/","og_locale":"tr_TR","og_type":"article","og_title":"PowerShell: Dizideki Herhangi Bir Alt Dizeyi \u0130\u00e7erip \u0130\u00e7ermedi\u011fini Kontrol Etme","og_description":"Hi\u00e7bir etiketi bulunamad\u0131.","og_url":"https:\/\/fatihsoysal.com\/blog\/powershell-dizideki-herhangi-bir-alt-dizeyi-icerip-icermedigini-kontrol-etme\/","og_site_name":"Kodlar\u0131n Gizemli D\u00fcnyas\u0131","article_published_time":"2025-08-12T18:45:25+00:00","author":"Fatih Soysal","twitter_card":"summary_large_image","twitter_misc":{"Yazan:":"Fatih Soysal","Tahmini okuma s\u00fcresi":"6 dakika"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/fatihsoysal.com\/blog\/powershell-dizideki-herhangi-bir-alt-dizeyi-icerip-icermedigini-kontrol-etme\/#article","isPartOf":{"@id":"https:\/\/fatihsoysal.com\/blog\/powershell-dizideki-herhangi-bir-alt-dizeyi-icerip-icermedigini-kontrol-etme\/"},"author":{"name":"Fatih Soysal","@id":"https:\/\/fatihsoysal.com\/blog\/#\/schema\/person\/002a254750921dcfd568a99e48240dd1"},"headline":"PowerShell: Dizideki Herhangi Bir Alt Dizeyi \u0130\u00e7erip \u0130\u00e7ermedi\u011fini Kontrol Etme","datePublished":"2025-08-12T18:45:25+00:00","mainEntityOfPage":{"@id":"https:\/\/fatihsoysal.com\/blog\/powershell-dizideki-herhangi-bir-alt-dizeyi-icerip-icermedigini-kontrol-etme\/"},"wordCount":1004,"commentCount":0,"publisher":{"@id":"https:\/\/fatihsoysal.com\/blog\/#\/schema\/person\/002a254750921dcfd568a99e48240dd1"},"articleSection":["PowerShell"],"inLanguage":"tr","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/fatihsoysal.com\/blog\/powershell-dizideki-herhangi-bir-alt-dizeyi-icerip-icermedigini-kontrol-etme\/#respond"]}],"copyrightYear":"2025","copyrightHolder":{"@id":"https:\/\/fatihsoysal.com\/blog\/#organization"}},{"@type":"WebPage","@id":"https:\/\/fatihsoysal.com\/blog\/powershell-dizideki-herhangi-bir-alt-dizeyi-icerip-icermedigini-kontrol-etme\/","url":"https:\/\/fatihsoysal.com\/blog\/powershell-dizideki-herhangi-bir-alt-dizeyi-icerip-icermedigini-kontrol-etme\/","name":"PowerShell: Dizideki Herhangi Bir Alt Dizeyi \u0130\u00e7erip \u0130\u00e7ermedi\u011fini Kontrol Etme","isPartOf":{"@id":"https:\/\/fatihsoysal.com\/blog\/#website"},"datePublished":"2025-08-12T18:45:25+00:00","description":"Hi\u00e7bir etiketi bulunamad\u0131.","breadcrumb":{"@id":"https:\/\/fatihsoysal.com\/blog\/powershell-dizideki-herhangi-bir-alt-dizeyi-icerip-icermedigini-kontrol-etme\/#breadcrumb"},"inLanguage":"tr","potentialAction":[{"@type":"ReadAction","target":["https:\/\/fatihsoysal.com\/blog\/powershell-dizideki-herhangi-bir-alt-dizeyi-icerip-icermedigini-kontrol-etme\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/fatihsoysal.com\/blog\/powershell-dizideki-herhangi-bir-alt-dizeyi-icerip-icermedigini-kontrol-etme\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Anasayfa","item":"https:\/\/fatihsoysal.com\/blog\/"},{"@type":"ListItem","position":2,"name":"PowerShell: Dizideki Herhangi Bir Alt Dizeyi \u0130\u00e7erip \u0130\u00e7ermedi\u011fini Kontrol Etme"}]},{"@type":"WebSite","@id":"https:\/\/fatihsoysal.com\/blog\/#website","url":"https:\/\/fatihsoysal.com\/blog\/","name":"Fatihsoysal.com","description":"Blog - Yaz\u0131l\u0131m D\u00fcnyas\u0131 Tecr\u00fcbelerim","publisher":{"@id":"https:\/\/fatihsoysal.com\/blog\/#\/schema\/person\/002a254750921dcfd568a99e48240dd1"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/fatihsoysal.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"tr"},{"@type":["Person","Organization"],"@id":"https:\/\/fatihsoysal.com\/blog\/#\/schema\/person\/002a254750921dcfd568a99e48240dd1","name":"Fatih Soysal","image":{"@type":"ImageObject","inLanguage":"tr","@id":"https:\/\/fatihsoysal.com\/blog\/#\/schema\/person\/image\/","url":"https:\/\/fatihsoysal.com\/blog\/wp-content\/uploads\/2024\/04\/cropped-replicate-prediction-3kgg1hgjn5rgp0cf0p5tr0jw7w-1.png","contentUrl":"https:\/\/fatihsoysal.com\/blog\/wp-content\/uploads\/2024\/04\/cropped-replicate-prediction-3kgg1hgjn5rgp0cf0p5tr0jw7w-1.png","width":512,"height":512,"caption":"Fatih Soysal"},"logo":{"@id":"https:\/\/fatihsoysal.com\/blog\/#\/schema\/person\/image\/"},"description":"Kullan\u0131m ve kodlama m\u00fckemmeliyetini odak alan uygulamalar olu\u015fturma deneyimine sahip, profesyonel olarak 15+ y\u0131l \u00fczeri deneyime sahip bir yaz\u0131l\u0131m m\u00fchendisi.","url":"https:\/\/fatihsoysal.com\/blog\/author\/fatihsoysal\/"}]}},"yoast_meta":{"yoast_wpseo_title":"","yoast_wpseo_metadesc":"","yoast_wpseo_canonical":""},"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/fatihsoysal.com\/blog\/wp-json\/wp\/v2\/posts\/27415","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/fatihsoysal.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/fatihsoysal.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/fatihsoysal.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/fatihsoysal.com\/blog\/wp-json\/wp\/v2\/comments?post=27415"}],"version-history":[{"count":0,"href":"https:\/\/fatihsoysal.com\/blog\/wp-json\/wp\/v2\/posts\/27415\/revisions"}],"wp:attachment":[{"href":"https:\/\/fatihsoysal.com\/blog\/wp-json\/wp\/v2\/media?parent=27415"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/fatihsoysal.com\/blog\/wp-json\/wp\/v2\/categories?post=27415"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/fatihsoysal.com\/blog\/wp-json\/wp\/v2\/tags?post=27415"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}