{"id":29159,"date":"2025-09-08T15:15:24","date_gmt":"2025-09-08T12:15:24","guid":{"rendered":"https:\/\/fatihsoysal.com\/blog\/powershell-bir-dize-listesinde-dize-var-mi\/"},"modified":"2025-09-08T15:15:24","modified_gmt":"2025-09-08T12:15:24","slug":"powershell-bir-dize-listesinde-dize-var-mi","status":"publish","type":"post","link":"https:\/\/fatihsoysal.com\/blog\/powershell-bir-dize-listesinde-dize-var-mi\/","title":{"rendered":"PowerShell: Bir Dize Listesinde Dize Var M\u0131?"},"content":{"rendered":"<p># PowerShell&#8217;de String Listesinde String Arama: Tam Bir Rehber<\/p>\n<p>Bir sistem y\u00f6neticisi olarak, g\u00fcnl\u00fck i\u015flerinizde s\u0131k s\u0131k b\u00fcy\u00fck veri k\u00fcmeleriyle u\u011fra\u015f\u0131yor ve belirli metin dizelerinin varl\u0131\u011f\u0131n\u0131 kontrol etmeniz gerekebilir.  \u00d6rne\u011fin, bir log dosyas\u0131nda belirli bir hata mesaj\u0131n\u0131n olup olmad\u0131\u011f\u0131n\u0131, bir kullan\u0131c\u0131 listesinin belirli bir kullan\u0131c\u0131y\u0131 i\u00e7erip i\u00e7ermedi\u011fini veya bir konfig\u00fcrasyon dosyas\u0131ndaki belirli bir parametre de\u011ferinin varl\u0131\u011f\u0131n\u0131 kontrol etmek isteyebilirsiniz.  PowerShell, bu t\u00fcr g\u00f6revleri kolayla\u015ft\u0131ran g\u00fc\u00e7l\u00fc ara\u00e7lar sunar. Bu makalede, PowerShell&#8217;de bir string listesinin i\u00e7inde belirli bir stringin olup olmad\u0131\u011f\u0131n\u0131 kontrol etmenin farkl\u0131 y\u00f6ntemlerini, performans optimizasyonlar\u0131n\u0131 ve ger\u00e7ek d\u00fcnya senaryolar\u0131n\u0131 ele alaca\u011f\u0131z.<\/p>\n<p><strong>\u00d6\u011frenme Yol Haritas\u0131<\/strong><\/p>\n<p>Bu rehber, PowerShell&#8217;de string listesinde string arama i\u015flemini ad\u0131m ad\u0131m, yeni ba\u015flayanlardan ileri d\u00fczey kullan\u0131c\u0131lara kadar herkesin anlayabilece\u011fi \u015fekilde a\u00e7\u0131klamaktad\u0131r.<\/p>\n<p><strong>Yeni Ba\u015flayan:<\/strong>  Temel <code class=\"language-\">-contains<\/code> operat\u00f6r\u00fcn\u00fc kullanarak basit bir string aramas\u0131 yapmay\u0131 \u00f6\u011frenece\u011fiz.<\/p>\n<p><strong>Orta Seviye:<\/strong>  Daha karma\u015f\u0131k senaryolar i\u00e7in <code class=\"language-\">-match<\/code> operat\u00f6r\u00fcn\u00fc ve <code class=\"language-\">Where-Object<\/code> cmdlet&#8217;ini kullanmay\u0131, ger\u00e7ek d\u00fcnya \u00f6rneklerini ve performans optimizasyon ipu\u00e7lar\u0131n\u0131 ele alaca\u011f\u0131z.<\/p>\n<p><strong>\u0130leri Seviye:<\/strong>  Performans analizi yaparak farkl\u0131 y\u00f6ntemlerin h\u0131z\u0131n\u0131 kar\u015f\u0131la\u015ft\u0131raca\u011f\u0131z ve edge case&#8217;leri (kenar durumlar\u0131) inceleyece\u011fiz.<\/p>\n<p><strong>1. Temel Kavramlar: PowerShell&#8217;de String ve List \u0130\u015flemleri<\/strong><\/p>\n<p>PowerShell, nesne tabanl\u0131 bir komut sat\u0131r\u0131 kabu\u011fudur. Stringler (metin dizileri) ve listeler (koleksiyonlar) temel veri tipleridir.  Bir string, metin karakterlerinden olu\u015fan bir diziyken, bir liste, \u00e7e\u015fitli veri tiplerini i\u00e7erebilen bir koleksiyonudur.  PowerShell&#8217;de listeler genellikle array (dizi) olarak temsil edilir.<\/p>\n<p>\u00d6rne\u011fin, a\u015fa\u011f\u0131daki kod bir string ve bir string listesi tan\u0131mlar:<\/p>\n<pre class=\"language-powershell\"><code>$myString = &quot;Merhaba D\u00fcnya&quot;\n$myList = @(&quot;Elma&quot;, &quot;Armut&quot;, &quot;Kiraz&quot;, &quot;Muz&quot;)<\/code><\/pre>\n<p>Bu temel kavramlar\u0131 anlamak, PowerShell&#8217;de string listesinde string arama i\u015flemlerini anlaman\u0131z i\u00e7in \u00e7ok \u00f6nemlidir.<\/p>\n<p><strong>2. Nas\u0131l Yap\u0131l\u0131r?  <code class=\"language-\">-contains<\/code> Operat\u00f6r\u00fc ile Basit String Aramas\u0131<\/strong><\/p>\n<p>En basit y\u00f6ntem, <code class=\"language-\">-contains<\/code> operat\u00f6r\u00fcn\u00fc kullanmakt\u0131r. Bu operat\u00f6r, bir listenin belirli bir \u00f6\u011feyi i\u00e7erip i\u00e7ermedi\u011fini kontrol eder.  Boolean (do\u011fru\/yanl\u0131\u015f) bir de\u011fer d\u00f6nd\u00fcr\u00fcr.<\/p>\n<pre class=\"language-powershell\"><code>$myList = @(&quot;Elma&quot;, &quot;Armut&quot;, &quot;Kiraz&quot;, &quot;Muz&quot;)\n$aramaKelimesi = &quot;Armut&quot;\n\nif ($myList -contains $aramaKelimesi) {\n  Write-Host &quot;$aramaKelimesi listede bulundu!&quot;\n} else {\n  Write-Host &quot;$aramaKelimesi listede bulunamad\u0131!&quot;\n}<\/code><\/pre>\n<p>Bu kod, <code class=\"language-\">$myList<\/code> listesinin <code class=\"language-\">$aramaKelimesi<\/code> de\u011fi\u015fkeninde tutulan &#8220;Armut&#8221; stringini i\u00e7erip i\u00e7ermedi\u011fini kontrol eder ve sonucu ekrana yazar.  Bu, yeni ba\u015flayanlar i\u00e7in en kolay ve anla\u015f\u0131l\u0131r y\u00f6ntemdir.<\/p>\n<p><strong>3. Nas\u0131l Yap\u0131l\u0131r?  <code class=\"language-\">-match<\/code> Operat\u00f6r\u00fc ile Desen E\u015fle\u015fmesi<\/strong><\/p>\n<p><code class=\"language-\">-contains<\/code> operat\u00f6r\u00fc tam e\u015fle\u015fme yaparken, <code class=\"language-\">-match<\/code> operat\u00f6r\u00fc d\u00fczenli ifadeler (regular expressions) kullanarak daha karma\u015f\u0131k desen e\u015fle\u015fmeleri yapman\u0131z\u0131 sa\u011flar. Bu, k\u0131smi e\u015fle\u015fmeler veya belirli kal\u0131plara sahip stringleri aramak i\u00e7in kullan\u0131\u015fl\u0131d\u0131r.<\/p>\n<pre class=\"language-powershell\"><code>$loglar = Get-Content -Path &quot;C:\\log.txt&quot;\nif ($loglar -match &quot;Hata Kodu: 123&quot;) {\n  Write-Host &quot;Hata Kodu 123 log dosyas\u0131nda bulundu!&quot;\n}<\/code><\/pre>\n<p>Bu \u00f6rnekte, <code class=\"language-\">C:\\log.txt<\/code> dosyas\u0131n\u0131n i\u00e7eri\u011fini okuyarak &#8220;Hata Kodu: 123&#8221; ifadesini arar.  <code class=\"language-\">-match<\/code> operat\u00f6r\u00fc, d\u00fczenli ifade kullan\u0131m\u0131yla daha esnek arama imkan\u0131 sa\u011flar.  Daha fazla bilgi i\u00e7in [fatihsoysal.com](https:\/\/fatihsoysal.com) adresindeki d\u00fczenli ifade rehberimize bakabilirsiniz (burada varsay\u0131msal bir ba\u011flant\u0131).<\/p>\n<p><strong>4. Orta Seviye: <code class=\"language-\">Where-Object<\/code> Cmdlet&#8217;i ile Geli\u015fmi\u015f Filtreleme<\/strong><\/p>\n<p><code class=\"language-\">Where-Object<\/code> cmdlete, liste i\u00e7indeki \u00f6\u011feleri filtrelemek ve belirli bir ko\u015fulu sa\u011flayan \u00f6\u011feleri bulmak i\u00e7in kullanabiliriz. Bu, daha karma\u015f\u0131k arama kriterleri gerekti\u011finde olduk\u00e7a kullan\u0131\u015fl\u0131d\u0131r.<\/p>\n<pre class=\"language-powershell\"><code>$urunler = @{&quot;Ad&quot; = &quot;Elma&quot;; &quot;Fiyat&quot; = 10; &quot;Kategori&quot; = &quot;Meyve&quot;},\n           @{&quot;Ad&quot; = &quot;Armut&quot;; &quot;Fiyat&quot; = 12; &quot;Kategori&quot; = &quot;Meyve&quot;},\n           @{&quot;Ad&quot; = &quot;Masa&quot;; &quot;Fiyat&quot; = 100; &quot;Kategori&quot; = &quot;Mobilya&quot;}\n\n$meyveler = $urunler | Where-Object {$_.Kategori -eq &quot;Meyve&quot;}\n$meyveler | ForEach-Object {Write-Host ($_.Ad)}<\/code><\/pre>\n<p>Bu \u00f6rnekte, <code class=\"language-\">Where-Object<\/code> cmdlet&#8217;i, <code class=\"language-\">Kategori<\/code> \u00f6zelli\u011fi &#8220;Meyve&#8221; olan \u00fcr\u00fcnleri filtreler ve sadece meyvelerin adlar\u0131n\u0131 ekrana yazar.<\/p>\n<p><strong>5. Ger\u00e7ek D\u00fcnya \u00d6rne\u011fi: Kullan\u0131c\u0131 Listesinde Arama<\/strong><\/p>\n<p>Bir Active Directory ortam\u0131nda, belirli bir kullan\u0131c\u0131 ad\u0131n\u0131n var olup olmad\u0131\u011f\u0131n\u0131 kontrol etmek isteyebilirsiniz.  A\u015fa\u011f\u0131daki kod, <code class=\"language-\">Get-ADUser<\/code> cmdlet&#8217;i kullanarak kullan\u0131c\u0131 listesini al\u0131r ve <code class=\"language-\">-contains<\/code> operat\u00f6r\u00fcn\u00fc kullanarak arama yapar:<\/p>\n<pre class=\"language-powershell\"><code>$kullanicilar = Get-ADUser -Filter * -Properties SamAccountName | Select-Object -ExpandProperty SamAccountName\n$aramaKullanici = &quot;fatihsoysal&quot;\n\nif ($kullanicilar -contains $aramaKullanici){\n    Write-Host &quot;$aramaKullanici Active Directory'de bulundu.&quot;\n} else {\n    Write-Host &quot;$aramaKullanici Active Directory'de bulunamad\u0131.&quot;\n}<\/code><\/pre>\n<p>Bu, ger\u00e7ek d\u00fcnya senaryolar\u0131nda kar\u015f\u0131la\u015fabilece\u011finiz bir durumun nas\u0131l \u00e7\u00f6z\u00fclebilece\u011fini g\u00f6stermektedir.<\/p>\n<p><strong>6. \u0130leri D\u00fczey: Performans Optimizasyonu ve Edge Case&#8217;ler<\/strong><\/p>\n<p>B\u00fcy\u00fck listelerle \u00e7al\u0131\u015f\u0131rken, performans \u00f6nemli bir fakt\u00f6rd\u00fcr.  <code class=\"language-\">-contains<\/code> operat\u00f6r\u00fc, k\u00fc\u00e7\u00fck listeler i\u00e7in yeterli performans sunarken, \u00e7ok b\u00fcy\u00fck listelerde performans d\u00fc\u015f\u00fc\u015f\u00fcne neden olabilir.  Bu durumlarda, <code class=\"language-\">Where-Object<\/code> cmdlet&#8217;i veya hashtable kullanmak daha etkili olabilir.<\/p>\n<p>Hashtable kullan\u0131m\u0131:<\/p>\n<pre class=\"language-powershell\"><code>$kullanicilar = Get-ADUser -Filter * -Properties SamAccountName | Select-Object SamAccountName, @{Name=&quot;Exists&quot;;Expression={$true}} | Group-Object -Property SamAccountName -AsHashTable\n$aramaKullanici = &quot;fatihsoysal&quot;\n\nif ($kullanicilar.ContainsKey($aramaKullanici)) {\n    Write-Host &quot;$aramaKullanici Active Directory'de bulundu.&quot;\n} else {\n    Write-Host &quot;$aramaKullanici Active Directory'de bulunamad\u0131.&quot;\n}<\/code><\/pre>\n<p>Bu y\u00f6ntem, \u00f6zellikle b\u00fcy\u00fck listeler i\u00e7in daha h\u0131zl\u0131 sonu\u00e7lar verebilir.  Ayr\u0131ca, b\u00fcy\u00fck\/k\u00fc\u00e7\u00fck harf duyarl\u0131l\u0131\u011f\u0131 gibi edge case&#8217;leri de g\u00f6z \u00f6n\u00fcnde bulundurman\u0131z \u00f6nemlidir.  <code class=\"language-\">-contains<\/code> operat\u00f6r\u00fc b\u00fcy\u00fck\/k\u00fc\u00e7\u00fck harf duyarl\u0131 de\u011fildir, ancak <code class=\"language-\">-eq<\/code> operat\u00f6r\u00fc b\u00fcy\u00fck\/k\u00fc\u00e7\u00fck harf duyarl\u0131d\u0131r.  \u0130htiya\u00e7lar\u0131n\u0131za g\u00f6re uygun operat\u00f6r\u00fc se\u00e7meniz gerekir.<\/p>\n<p><strong>7. Performans Analizi ve Kar\u015f\u0131la\u015ft\u0131rma<\/strong><\/p>\n<p>Farkl\u0131 y\u00f6ntemlerin performans\u0131n\u0131 kar\u015f\u0131la\u015ft\u0131rabilmek i\u00e7in,  <code class=\"language-\">Measure-Command<\/code> cmdlet&#8217;ini kullanabiliriz.  A\u015fa\u011f\u0131daki \u00f6rnek, farkl\u0131 y\u00f6ntemlerin \u00e7al\u0131\u015fma s\u00fcresini \u00f6l\u00e7er:<\/p>\n<pre class=\"language-powershell\"><code>$myList = 1..100000 | ForEach-Object {$_.ToString()}\n$aramaKelimesi = &quot;50000&quot;\n\nMeasure-Command { $myList -contains $aramaKelimesi }\nMeasure-Command { $myList | Where-Object {$_ -eq $aramaKelimesi} }<\/code><\/pre>\n<p>Bu kod, 100.000 elemanl\u0131 bir listede <code class=\"language-\">-contains<\/code> ve <code class=\"language-\">Where-Object<\/code> y\u00f6ntemlerinin \u00e7al\u0131\u015fma s\u00fcresini kar\u015f\u0131la\u015ft\u0131racakt\u0131r. Sonu\u00e7lar, liste b\u00fcy\u00fckl\u00fc\u011f\u00fcne ve arama kriterlerine ba\u011fl\u0131 olarak de\u011fi\u015febilir.<\/p>\n<p><strong>8. Sonu\u00e7<\/strong><\/p>\n<p>PowerShell, string listesinde string arama i\u015flemi i\u00e7in \u00e7e\u015fitli y\u00f6ntemler sunmaktad\u0131r.  <code class=\"language-\">-contains<\/code>, <code class=\"language-\">-match<\/code> ve <code class=\"language-\">Where-Object<\/code> cmdlet&#8217;leri, farkl\u0131 ihtiya\u00e7lara g\u00f6re kullan\u0131labilen g\u00fc\u00e7l\u00fc ara\u00e7lard\u0131r.  Performans optimizasyonu i\u00e7in, liste b\u00fcy\u00fckl\u00fc\u011f\u00fcne ve arama kriterlerine ba\u011fl\u0131 olarak uygun y\u00f6ntemi se\u00e7mek \u00f6nemlidir.  Ger\u00e7ek d\u00fcnya senaryolar\u0131nda, Active Directory gibi kaynaklardan veri alarak ve uygun filtreleme tekniklerini kullanarak daha karma\u015f\u0131k arama i\u015flemleri ger\u00e7ekle\u015ftirebilirsiniz.  Bu makalede ele al\u0131nan y\u00f6ntemleri ve teknikleri kullanarak, PowerShell&#8217;deki string listesinde string arama i\u015flemlerini daha verimli ve etkili bir \u015fekilde ger\u00e7ekle\u015ftirebilirsiniz.<\/p>\n<p><strong>S\u0131k\u00e7a Sorulan Sorular (SSS)<\/strong><\/p>\n<p>1. <strong>B\u00fcy\u00fck\/k\u00fc\u00e7\u00fck harf duyarl\u0131 bir arama nas\u0131l yap\u0131l\u0131r?<\/strong>  <code class=\"language-\">-eq<\/code> operat\u00f6r\u00fc b\u00fcy\u00fck\/k\u00fc\u00e7\u00fck harf duyarl\u0131d\u0131r.  B\u00fcy\u00fck\/k\u00fc\u00e7\u00fck harf duyars\u0131z bir arama i\u00e7in, stringleri \u00f6ncelikle k\u00fc\u00e7\u00fck harfe d\u00f6n\u00fc\u015ft\u00fcrebilirsiniz:  <code class=\"language-\">$_.ToLower() -eq $aramaKelimesi.ToLower()<\/code>.<\/p>\n<p>2. <strong>D\u00fczenli ifadeler kullanman\u0131n avantajlar\u0131 nelerdir?<\/strong> D\u00fczenli ifadeler, karma\u015f\u0131k desen e\u015fle\u015fmeleri yapman\u0131za olanak tan\u0131r, k\u0131smi e\u015fle\u015fmeleri bulman\u0131z\u0131 sa\u011flar ve daha esnek arama kriterleri belirlemenize yard\u0131mc\u0131 olur.<\/p>\n<p>3. <strong>Performans\u0131 nas\u0131l daha da iyile\u015ftirebilirim?<\/strong>  \u00c7ok b\u00fcy\u00fck listeler i\u00e7in, paralel i\u015fleme teknikleri veya daha \u00f6zel algoritmalar kullanabilirsiniz.<\/p>\n<p>4. <strong>Hata mesajlar\u0131n\u0131 nas\u0131l yakalayabilirim?<\/strong>  <code class=\"language-\">try-catch<\/code> bloklar\u0131 kullanarak hata mesajlar\u0131n\u0131 yakalayabilir ve i\u015flemlerini daha sa\u011flam hale getirebilirsiniz.<\/p>\n<p>5. <strong>String listesi yerine hashtable kullanman\u0131n avantaj\u0131 nedir?<\/strong> Hashtable, O(1) karma\u015f\u0131kl\u0131\u011f\u0131 ile h\u0131zl\u0131 arama i\u015flemi sunar.<\/p>\n<p>Yazar: Fatih Soysal<\/p>\n","protected":false},"excerpt":{"rendered":"# PowerShell&#8217;de String Listesinde String Arama: Tam Bir Rehber Bir sistem y\u00f6neticisi olarak, g\u00fcnl\u00fck i\u015flerinizde s\u0131k s\u0131k b\u00fcy\u00fck&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-29159","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: Bir Dize Listesinde Dize Var M\u0131?<\/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-bir-dize-listesinde-dize-var-mi\/\" \/>\n<meta property=\"og:locale\" content=\"tr_TR\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"PowerShell: Bir Dize Listesinde Dize Var M\u0131?\" \/>\n<meta property=\"og:description\" content=\"Hi\u00e7bir etiketi bulunamad\u0131.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/fatihsoysal.com\/blog\/powershell-bir-dize-listesinde-dize-var-mi\/\" \/>\n<meta property=\"og:site_name\" content=\"Kodlar\u0131n Gizemli D\u00fcnyas\u0131\" \/>\n<meta property=\"article:published_time\" content=\"2025-09-08T12:15:24+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=\"7 dakika\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/fatihsoysal.com\/blog\/powershell-bir-dize-listesinde-dize-var-mi\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/fatihsoysal.com\/blog\/powershell-bir-dize-listesinde-dize-var-mi\/\"},\"author\":{\"name\":\"Fatih Soysal\",\"@id\":\"https:\/\/fatihsoysal.com\/blog\/#\/schema\/person\/002a254750921dcfd568a99e48240dd1\"},\"headline\":\"PowerShell: Bir Dize Listesinde Dize Var M\u0131?\",\"datePublished\":\"2025-09-08T12:15:24+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/fatihsoysal.com\/blog\/powershell-bir-dize-listesinde-dize-var-mi\/\"},\"wordCount\":1094,\"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-bir-dize-listesinde-dize-var-mi\/#respond\"]}],\"copyrightYear\":\"2025\",\"copyrightHolder\":{\"@id\":\"https:\/\/fatihsoysal.com\/blog\/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/fatihsoysal.com\/blog\/powershell-bir-dize-listesinde-dize-var-mi\/\",\"url\":\"https:\/\/fatihsoysal.com\/blog\/powershell-bir-dize-listesinde-dize-var-mi\/\",\"name\":\"PowerShell: Bir Dize Listesinde Dize Var M\u0131?\",\"isPartOf\":{\"@id\":\"https:\/\/fatihsoysal.com\/blog\/#website\"},\"datePublished\":\"2025-09-08T12:15:24+00:00\",\"description\":\"Hi\u00e7bir etiketi bulunamad\u0131.\",\"breadcrumb\":{\"@id\":\"https:\/\/fatihsoysal.com\/blog\/powershell-bir-dize-listesinde-dize-var-mi\/#breadcrumb\"},\"inLanguage\":\"tr\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/fatihsoysal.com\/blog\/powershell-bir-dize-listesinde-dize-var-mi\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/fatihsoysal.com\/blog\/powershell-bir-dize-listesinde-dize-var-mi\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Anasayfa\",\"item\":\"https:\/\/fatihsoysal.com\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"PowerShell: Bir Dize Listesinde Dize Var M\u0131?\"}]},{\"@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: Bir Dize Listesinde Dize Var M\u0131?","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-bir-dize-listesinde-dize-var-mi\/","og_locale":"tr_TR","og_type":"article","og_title":"PowerShell: Bir Dize Listesinde Dize Var M\u0131?","og_description":"Hi\u00e7bir etiketi bulunamad\u0131.","og_url":"https:\/\/fatihsoysal.com\/blog\/powershell-bir-dize-listesinde-dize-var-mi\/","og_site_name":"Kodlar\u0131n Gizemli D\u00fcnyas\u0131","article_published_time":"2025-09-08T12:15:24+00:00","author":"Fatih Soysal","twitter_card":"summary_large_image","twitter_misc":{"Yazan:":"Fatih Soysal","Tahmini okuma s\u00fcresi":"7 dakika"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/fatihsoysal.com\/blog\/powershell-bir-dize-listesinde-dize-var-mi\/#article","isPartOf":{"@id":"https:\/\/fatihsoysal.com\/blog\/powershell-bir-dize-listesinde-dize-var-mi\/"},"author":{"name":"Fatih Soysal","@id":"https:\/\/fatihsoysal.com\/blog\/#\/schema\/person\/002a254750921dcfd568a99e48240dd1"},"headline":"PowerShell: Bir Dize Listesinde Dize Var M\u0131?","datePublished":"2025-09-08T12:15:24+00:00","mainEntityOfPage":{"@id":"https:\/\/fatihsoysal.com\/blog\/powershell-bir-dize-listesinde-dize-var-mi\/"},"wordCount":1094,"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-bir-dize-listesinde-dize-var-mi\/#respond"]}],"copyrightYear":"2025","copyrightHolder":{"@id":"https:\/\/fatihsoysal.com\/blog\/#organization"}},{"@type":"WebPage","@id":"https:\/\/fatihsoysal.com\/blog\/powershell-bir-dize-listesinde-dize-var-mi\/","url":"https:\/\/fatihsoysal.com\/blog\/powershell-bir-dize-listesinde-dize-var-mi\/","name":"PowerShell: Bir Dize Listesinde Dize Var M\u0131?","isPartOf":{"@id":"https:\/\/fatihsoysal.com\/blog\/#website"},"datePublished":"2025-09-08T12:15:24+00:00","description":"Hi\u00e7bir etiketi bulunamad\u0131.","breadcrumb":{"@id":"https:\/\/fatihsoysal.com\/blog\/powershell-bir-dize-listesinde-dize-var-mi\/#breadcrumb"},"inLanguage":"tr","potentialAction":[{"@type":"ReadAction","target":["https:\/\/fatihsoysal.com\/blog\/powershell-bir-dize-listesinde-dize-var-mi\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/fatihsoysal.com\/blog\/powershell-bir-dize-listesinde-dize-var-mi\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Anasayfa","item":"https:\/\/fatihsoysal.com\/blog\/"},{"@type":"ListItem","position":2,"name":"PowerShell: Bir Dize Listesinde Dize Var M\u0131?"}]},{"@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\/29159","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=29159"}],"version-history":[{"count":0,"href":"https:\/\/fatihsoysal.com\/blog\/wp-json\/wp\/v2\/posts\/29159\/revisions"}],"wp:attachment":[{"href":"https:\/\/fatihsoysal.com\/blog\/wp-json\/wp\/v2\/media?parent=29159"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/fatihsoysal.com\/blog\/wp-json\/wp\/v2\/categories?post=29159"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/fatihsoysal.com\/blog\/wp-json\/wp\/v2\/tags?post=29159"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}