{"id":26876,"date":"2025-08-02T03:45:25","date_gmt":"2025-08-02T00:45:25","guid":{"rendered":"https:\/\/fatihsoysal.com\/blog\/powershell-bir-dizgiyi-deseninin-ilk-bulunusunda-bolme\/"},"modified":"2025-08-02T03:45:25","modified_gmt":"2025-08-02T00:45:25","slug":"powershell-bir-dizgiyi-deseninin-ilk-bulunusunda-bolme","status":"publish","type":"post","link":"https:\/\/fatihsoysal.com\/blog\/powershell-bir-dizgiyi-deseninin-ilk-bulunusunda-bolme\/","title":{"rendered":"PowerShell: Bir Dizgiyi Deseninin \u0130lk Bulunu\u015funda B\u00f6lme"},"content":{"rendered":"<p># PowerShell: \u0130lk Kez Bulunan Kal\u0131ba G\u00f6re String&#8217;i B\u00f6lme<\/p>\n<p><strong>Meta A\u00e7\u0131klamas\u0131:<\/strong> PowerShell&#8217;de bir string&#8217;i ilk buldu\u011fu kal\u0131ba g\u00f6re nas\u0131l b\u00f6lece\u011finizi \u00f6\u011frenin.  Basit \u00f6rneklerden ileri d\u00fczey performans optimizasyonuna kadar ad\u0131m ad\u0131m rehberimizle uzman olun. Ger\u00e7ek d\u00fcnya senaryolar\u0131 ve pratik \u00e7\u00f6z\u00fcmlerle dolu bu makale, PowerShell becerilerinizi geli\u015ftirecek.<\/p>\n<p>Log dosyalar\u0131n\u0131 analiz etmek, metin dosyalar\u0131ndan veri \u00e7ekmek veya karma\u015f\u0131k string manip\u00fclasyonlar\u0131 yapmak gibi bir\u00e7ok senaryoda, bir string&#8217;i belirli bir kal\u0131b\u0131n ilk olu\u015fumunda b\u00f6lmeniz gerekebilir.  Bu makale, PowerShell&#8217;de bunu nas\u0131l yapaca\u011f\u0131n\u0131z\u0131 ad\u0131m ad\u0131m, farkl\u0131 seviyelerdeki kullan\u0131c\u0131lar i\u00e7in a\u00e7\u0131klayacak.  \u00d6rnekler T\u00fcrk\u00e7e ve ger\u00e7ek d\u00fcnya senaryolar\u0131na dayanacakt\u0131r.  Haz\u0131rsan\u0131z, ba\u015flayal\u0131m!<\/p>\n<p><strong>1. Giri\u015f:  Problemin Tan\u0131m\u0131 ve \u00d6nemi<\/strong><\/p>\n<p>Bir programc\u0131 olarak, s\u0131k s\u0131k b\u00fcy\u00fck metin dosyalar\u0131yla u\u011fra\u015fmak zorunda kal\u0131rs\u0131n\u0131z.  \u00d6rne\u011fin, bir web sunucusunun log dosyas\u0131n\u0131 analiz etmek istedi\u011finizi d\u00fc\u015f\u00fcn\u00fcn.  Her sat\u0131rda tarih, saat, kullan\u0131c\u0131 ad\u0131 ve yap\u0131lan i\u015flem gibi bilgiler olabilir.  Bu bilgileri ayr\u0131 de\u011fi\u015fkenlere ay\u0131rmak i\u00e7in string&#8217;i belirli bir ay\u0131r\u0131c\u0131ya g\u00f6re b\u00f6lmeniz gerekir.  Ancak, ay\u0131r\u0131c\u0131 birden fazla kez ge\u00e7ebilir.  Sadece ilk olu\u015fumunda b\u00f6lme yaparak verimli ve do\u011fru sonu\u00e7lar elde etmek \u00e7ok \u00f6nemlidir.  Bu makalede, PowerShell&#8217;de bu i\u015flemi nas\u0131l ger\u00e7ekle\u015ftirece\u011finizi \u00f6\u011freneceksiniz.<\/p>\n<p><strong>2. Temel Kavramlar: String Manip\u00fclasyonu ve Regex<\/strong><\/p>\n<p>PowerShell, string manip\u00fclasyonu i\u00e7in g\u00fc\u00e7l\u00fc ara\u00e7lar sunar.  Bunlardan en \u00f6nemlisi <code class=\"language-\">-split<\/code> operat\u00f6r\u00fcd\u00fcr.  Ancak <code class=\"language-\">-split<\/code>, string&#8217;i t\u00fcm olu\u015fumlar i\u00e7in b\u00f6ler.  \u0130lk olu\u015fumda b\u00f6lme i\u00e7in daha geli\u015fmi\u015f teknikler kullanmam\u0131z gerekir.  Bu tekniklerin temelini, d\u00fczenli ifadeler (regular expressions &#8211; regex) olu\u015fturur.  Regex, metin i\u00e7indeki kal\u0131plar\u0131 bulmak ve de\u011fi\u015ftirmek i\u00e7in kullan\u0131lan g\u00fc\u00e7l\u00fc bir ara\u00e7t\u0131r.  PowerShell, regex&#8217;i <code class=\"language-\">.NET<\/code> framework&#8217;\u00fc arac\u0131l\u0131\u011f\u0131yla destekler.<\/p>\n<p><strong>3. Yeni Ba\u015flayanlar \u0130\u00e7in: \u0130lk Kez Bulunan Kal\u0131ba G\u00f6re B\u00f6lme<\/strong><\/p>\n<p><strong>Ad\u0131m ad\u0131m a\u00e7\u0131klama:<\/strong><\/p>\n<p>1. <strong>String&#8217;i tan\u0131mlay\u0131n:<\/strong> B\u00f6lmek istedi\u011finiz string&#8217;i bir de\u011fi\u015fkende saklay\u0131n.<br \/>\n2. <strong>Kal\u0131b\u0131 tan\u0131mlay\u0131n:<\/strong> B\u00f6lme i\u015flemini ger\u00e7ekle\u015ftirece\u011finiz kal\u0131b\u0131 (\u00f6rne\u011fin, bo\u015fluk, virg\u00fcl veya daha karma\u015f\u0131k bir regex) belirleyin.<br \/>\n3. <strong><code class=\"language-\">-split<\/code> operat\u00f6r\u00fcn\u00fc kullan\u0131n:<\/strong> <code class=\"language-\">-split<\/code> operat\u00f6r\u00fcn\u00fc kullanarak string&#8217;i b\u00f6lebilirsiniz, ancak bu t\u00fcm olu\u015fumlar\u0131 b\u00f6ler.<br \/>\n4. <strong><code class=\"language-\">[regex]::Split()<\/code> metodunu kullan\u0131n:<\/strong> \u0130lk olu\u015fumda b\u00f6lme i\u00e7in <code class=\"language-\">.NET<\/code>&#8216;in <code class=\"language-\">[regex]::Split()<\/code> metodu kullan\u0131l\u0131r. Bu metod, d\u00fczenli ifadeyi kullanarak string&#8217;i ilk buldu\u011fu noktadan b\u00f6ler.<\/p>\n<p><strong>Basit kod \u00f6rne\u011fi:<\/strong><\/p>\n<pre class=\"language-powershell\"><code>$myString = &quot;Ad Soyad:Fatih Soysal,Ya\u015f:35&quot;\n$pattern = &quot;:&quot;\n$parts = [regex]::Split($myString, $pattern, 1) # 1, sadece ilk e\u015fle\u015fmeyi b\u00f6ler.\n\nWrite-Host &quot;B\u00f6l\u00fcnm\u00fc\u015f String'ler:&quot;\nWrite-Host &quot;B\u00f6l\u00fcm 1: $($parts[0])&quot;\nWrite-Host &quot;B\u00f6l\u00fcm 2: $($parts[1])&quot;<\/code><\/pre>\n<p>Bu kod, <code class=\"language-\">:<\/code> karakterinin ilk olu\u015fumunda string&#8217;i b\u00f6ler ve iki ayr\u0131 string \u00fcretir.<\/p>\n<p><strong>4. Orta Seviye: Ger\u00e7ek Hayat \u00d6rne\u011fi ve Optimizasyon \u0130pu\u00e7lar\u0131<\/strong><\/p>\n<p><strong>Ger\u00e7ek hayat \u00f6rne\u011fi:<\/strong><\/p>\n<p>Bir log dosyas\u0131nda, her sat\u0131r\u0131n ba\u015f\u0131nda tarih ve saat bilgisi bulunmaktad\u0131r.  Bu bilgileri di\u011fer bilgilerden ay\u0131rmak istiyoruz.  Log sat\u0131r\u0131 \u015fu \u015fekilde olsun:<\/p>\n<p><code class=\"language-\">2024-10-27 10:30:00 Kullan\u0131c\u0131 Giri\u015fi Ba\u015far\u0131l\u0131<\/code><\/p>\n<p>A\u015fa\u011f\u0131daki kod, tarih ve saati di\u011fer bilgilerden ay\u0131r\u0131r:<\/p>\n<pre class=\"language-powershell\"><code>$logLine = &quot;2024-10-27 10:30:00 Kullan\u0131c\u0131 Giri\u015fi Ba\u015far\u0131l\u0131&quot;\n$pattern = &quot;\\s{2,}&quot; # \u0130ki veya daha fazla bo\u015fluk karakteri\n$parts = [regex]::Split($logLine, $pattern, 1)\n\n$dateTime = $parts[0]\n$eventInfo = $parts[1]\n\nWrite-Host &quot;Tarih ve Saat: $dateTime&quot;\nWrite-Host &quot;Olay Bilgisi: $eventInfo&quot;<\/code><\/pre>\n<p><strong>Optimizasyon ipu\u00e7lar\u0131:<\/strong><\/p>\n<p>* <strong>Regex&#8217;i optimize edin:<\/strong>  Karma\u015f\u0131k regex&#8217;ler performans\u0131 etkileyebilir.  M\u00fcmk\u00fcn oldu\u011funca basit ve \u00f6z regex&#8217;ler kullan\u0131n.<br \/>\n* <strong><code class=\"language-\">-match<\/code> operat\u00f6r\u00fcn\u00fc kullan\u0131n:<\/strong>  E\u011fer sadece ilk e\u015fle\u015fmeyi bulman\u0131z gerekiyorsa, <code class=\"language-\">-match<\/code> operat\u00f6r\u00fcn\u00fc kullanarak performans\u0131 art\u0131rabilirsiniz.  Bu operat\u00f6r, string&#8217;de ilk e\u015fle\u015fmeyi bulur ve <code class=\"language-\">$Matches<\/code> de\u011fi\u015fkenine atar.<\/p>\n<p><strong>5.  \u0130leri D\u00fczey: Performans Analizi ve Edge Case&#8217;ler<\/strong><\/p>\n<p><strong>Performans analizi:<\/strong><\/p>\n<p>B\u00fcy\u00fck metin dosyalar\u0131yla \u00e7al\u0131\u015f\u0131rken performans kritik \u00f6neme sahiptir.  <code class=\"language-\">Measure-Command<\/code> cmdlet&#8217;i ile farkl\u0131 y\u00f6ntemlerin performans\u0131n\u0131 kar\u015f\u0131la\u015ft\u0131rabilirsiniz.  \u00d6rne\u011fin, <code class=\"language-\">-split<\/code> operat\u00f6r\u00fc ile <code class=\"language-\">[regex]::Split()<\/code> metodunu kar\u015f\u0131la\u015ft\u0131rarak hangisinin daha h\u0131zl\u0131 oldu\u011funu g\u00f6rebilirsiniz.<\/p>\n<p><strong>Edge case&#8217;ler:<\/strong><\/p>\n<p>* <strong>Kal\u0131p bulunmazsa:<\/strong>  E\u011fer kal\u0131p string&#8217;de bulunmazsa, <code class=\"language-\">[regex]::Split()<\/code> metodu orijinal string&#8217;i d\u00f6nd\u00fcr\u00fcr.  Bu durumu kontrol etmek i\u00e7in <code class=\"language-\">$parts.Length<\/code> de\u011fi\u015fkenini kontrol edebilirsiniz.<br \/>\n* <strong>Bo\u015f string&#8217;ler:<\/strong>  Bo\u015f string&#8217;ler i\u00e7in \u00f6zel durum y\u00f6netimi yapman\u0131z gerekebilir.<br \/>\n* <strong>\u00d6zel karakterler:<\/strong>  Regex&#8217;de \u00f6zel karakterleri escape etmek i\u00e7in <code class=\"language-\">\\ <\/code> karakterini kullanman\u0131z gerekebilir.<\/p>\n<p><strong>6.  PowerShell&#8217;de String \u0130\u015flemleri \u0130\u00e7in \u0130pu\u00e7lar\u0131 ve P\u00fcf Noktalar\u0131<\/strong><\/p>\n<p>PowerShell&#8217;de string manip\u00fclasyonu i\u00e7in bir\u00e7ok yararl\u0131 cmdlet ve teknik vard\u0131r.  Fatih Soysal&#8217;\u0131n [blogunda](https:\/\/fatihsoysal.com) bu konuda daha fazla bilgi bulabilirsiniz.  \u00d6rne\u011fin, <code class=\"language-\">-replace<\/code> operat\u00f6r\u00fc, string&#8217;deki belirli bir kal\u0131b\u0131 ba\u015fka bir kal\u0131pla de\u011fi\u015ftirmek i\u00e7in kullan\u0131l\u0131r.  <code class=\"language-\">Substring()<\/code> metodu, string&#8217;in belirli bir b\u00f6l\u00fcm\u00fcn\u00fc ay\u0131rmak i\u00e7in kullan\u0131l\u0131r.  Bu teknikleri birle\u015ftirerek daha karma\u015f\u0131k string i\u015flemlerini ger\u00e7ekle\u015ftirebilirsiniz.<\/p>\n<p><strong>7.  \u00d6rnek Senaryolar ve Vaka \u00c7al\u0131\u015fmalar\u0131<\/strong><\/p>\n<p><strong>Senaryo 1: CSV Dosyas\u0131 \u0130\u015fleme:<\/strong><\/p>\n<p>Bir CSV dosyas\u0131nda, ilk s\u00fctun \u00fcr\u00fcn ad\u0131, ikinci s\u00fctun fiyat i\u00e7erir.  Sadece \u00fcr\u00fcn adlar\u0131n\u0131 ay\u0131klamak i\u00e7in a\u015fa\u011f\u0131daki kodu kullanabilirsiniz:<\/p>\n<pre class=\"language-powershell\"><code>Get-Content -Path &quot;urunler.csv&quot; | ForEach-Object {\n  $parts = [regex]::Split($_, &quot;,&quot;, 1)\n  Write-Host $parts[0]\n}<\/code><\/pre>\n<p><strong>Senaryo 2: Log Dosyas\u0131 Analizi:<\/strong><\/p>\n<p>Bir web sunucusunun log dosyas\u0131nda, her sat\u0131rda IP adresi, tarih ve saat, istek t\u00fcr\u00fc ve durum kodu bulunur.  Sadece IP adreslerini ay\u0131klamak i\u00e7in a\u015fa\u011f\u0131daki kodu kullanabilirsiniz:<\/p>\n<pre class=\"language-powershell\"><code>Get-Content -Path &quot;log.txt&quot; | ForEach-Object {\n  if ($_ -match &quot;(\\d{1,3}\\.\\d{1,3}\\.\\d{1,3}\\.\\d{1,3})&quot;) {\n    Write-Host $Matches[1]\n  }\n}<\/code><\/pre>\n<p><strong>8.  PowerShell&#8217;de Performans Optimizasyonu<\/strong><\/p>\n<p>B\u00fcy\u00fck verilerle \u00e7al\u0131\u015f\u0131rken performans olduk\u00e7a \u00f6nemlidir.  A\u015fa\u011f\u0131daki y\u00f6ntemler performans\u0131 iyile\u015ftirmeye yard\u0131mc\u0131 olabilir:<\/p>\n<p>* <strong>Pipeline kullan\u0131m\u0131:<\/strong> PowerShell&#8217;in pipeline \u00f6zelli\u011fi, verileri verimli bir \u015fekilde i\u015flemenizi sa\u011flar.<br \/>\n* <strong><code class=\"language-\">Get-Content<\/code> ile ak\u0131ll\u0131 okuma:<\/strong> B\u00fcy\u00fck dosyalar\u0131 tek seferde okumak yerine, sat\u0131r sat\u0131r okuyarak bellek kullan\u0131m\u0131n\u0131 azaltabilirsiniz.<br \/>\n* <strong>Paralel i\u015fleme:<\/strong>  <code class=\"language-\">ForEach-Object -Parallel<\/code> cmdlet&#8217;i ile i\u015flemleri paralel olarak \u00e7al\u0131\u015ft\u0131rabilirsiniz.<\/p>\n<p><strong>9. Sonu\u00e7<\/strong><\/p>\n<p>Bu makalede, PowerShell&#8217;de bir string&#8217;i ilk kez bulunan bir kal\u0131ba g\u00f6re nas\u0131l b\u00f6lece\u011finizi \u00f6\u011frendiniz.  Basit \u00f6rneklerden ileri d\u00fczey performans optimizasyonuna kadar geni\u015f bir yelpazede teknikleri ele ald\u0131k.  Ger\u00e7ek d\u00fcnya senaryolar\u0131 ve pratik \u00e7\u00f6z\u00fcmlerle, PowerShell becerilerinizi geli\u015ftirmenize yard\u0131mc\u0131 olduk.  Unutmay\u0131n,  PowerShell&#8217;in g\u00fcc\u00fcn\u00fc tam olarak kullanmak i\u00e7in d\u00fczenli ifadeleri ve di\u011fer geli\u015fmi\u015f teknikleri \u00f6\u011frenmek \u00f6nemlidir.<\/p>\n<p><strong>10. S\u0131k\u00e7a Sorulan Sorular (SSS)<\/strong><\/p>\n<p>1. <strong><code class=\"language-\">-split<\/code> operat\u00f6r\u00fc ile <code class=\"language-\">[regex]::Split()<\/code> metodu aras\u0131ndaki fark nedir?<\/strong> <code class=\"language-\">-split<\/code> operat\u00f6r\u00fc, string&#8217;i t\u00fcm olu\u015fumlar i\u00e7in b\u00f6lerken, <code class=\"language-\">[regex]::Split()<\/code> metodu, ilk olu\u015fumda b\u00f6ler.<\/p>\n<p>2. <strong>Regex kullanmadan ilk olu\u015fumda b\u00f6lme m\u00fcmk\u00fcn m\u00fc?<\/strong>  M\u00fcmk\u00fcn de\u011fildir.  <code class=\"language-\">-split<\/code> operat\u00f6r\u00fc, string&#8217;i t\u00fcm olu\u015fumlarda b\u00f6ler.  \u0130lk olu\u015fumda b\u00f6lmek i\u00e7in regex veya benzer bir kal\u0131p e\u015fle\u015ftirme y\u00f6ntemi kullanmak gereklidir.<\/p>\n<p>3. <strong>B\u00fcy\u00fck dosyalar\u0131 i\u015flerken performans\u0131 nas\u0131l art\u0131rabilirim?<\/strong>  Pipeline kullan\u0131m\u0131, <code class=\"language-\">Get-Content<\/code> ile ak\u0131ll\u0131 okuma ve paralel i\u015fleme gibi teknikler performans\u0131 art\u0131rmaya yard\u0131mc\u0131 olur.<\/p>\n<p>4. <strong>\u00d6zel karakterleri nas\u0131l escape ederim?<\/strong>  Regex&#8217;de \u00f6zel karakterleri escape etmek i\u00e7in <code class=\"language-\">\\<\/code> karakterini kullan\u0131n. \u00d6rne\u011fin, nokta (<code class=\"language-\">.<\/code>) karakterini escape etmek i\u00e7in <code class=\"language-\">\\.<\/code> yaz\u0131n.<\/p>\n<p>5. <strong>Regex \u00f6\u011frenmek i\u00e7in nereden ba\u015flayabilirim?<\/strong>  \u0130nternette bir\u00e7ok regex k\u0131lavuzu ve e\u011fitici kaynak mevcuttur.  Ayr\u0131ca, PowerShell&#8217;in <code class=\"language-\">Get-Help about_Regular_Expressions<\/code> cmdlet&#8217;i de faydal\u0131 bilgiler sunar.<\/p>\n<p>Yazar: Fatih Soysal<\/p>\n","protected":false},"excerpt":{"rendered":"# PowerShell: \u0130lk Kez Bulunan Kal\u0131ba G\u00f6re String&#8217;i B\u00f6lme Meta A\u00e7\u0131klamas\u0131: PowerShell&#8217;de bir string&#8217;i ilk buldu\u011fu kal\u0131ba g\u00f6re&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-26876","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 Dizgiyi Deseninin \u0130lk Bulunu\u015funda B\u00f6lme<\/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-dizgiyi-deseninin-ilk-bulunusunda-bolme\/\" \/>\n<meta property=\"og:locale\" content=\"tr_TR\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"PowerShell: Bir Dizgiyi Deseninin \u0130lk Bulunu\u015funda B\u00f6lme\" \/>\n<meta property=\"og:description\" content=\"Hi\u00e7bir etiketi bulunamad\u0131.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/fatihsoysal.com\/blog\/powershell-bir-dizgiyi-deseninin-ilk-bulunusunda-bolme\/\" \/>\n<meta property=\"og:site_name\" content=\"Kodlar\u0131n Gizemli D\u00fcnyas\u0131\" \/>\n<meta property=\"article:published_time\" content=\"2025-08-02T00: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=\"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-dizgiyi-deseninin-ilk-bulunusunda-bolme\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/fatihsoysal.com\/blog\/powershell-bir-dizgiyi-deseninin-ilk-bulunusunda-bolme\/\"},\"author\":{\"name\":\"Fatih Soysal\",\"@id\":\"https:\/\/fatihsoysal.com\/blog\/#\/schema\/person\/002a254750921dcfd568a99e48240dd1\"},\"headline\":\"PowerShell: Bir Dizgiyi Deseninin \u0130lk Bulunu\u015funda B\u00f6lme\",\"datePublished\":\"2025-08-02T00:45:25+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/fatihsoysal.com\/blog\/powershell-bir-dizgiyi-deseninin-ilk-bulunusunda-bolme\/\"},\"wordCount\":1216,\"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-dizgiyi-deseninin-ilk-bulunusunda-bolme\/#respond\"]}],\"copyrightYear\":\"2025\",\"copyrightHolder\":{\"@id\":\"https:\/\/fatihsoysal.com\/blog\/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/fatihsoysal.com\/blog\/powershell-bir-dizgiyi-deseninin-ilk-bulunusunda-bolme\/\",\"url\":\"https:\/\/fatihsoysal.com\/blog\/powershell-bir-dizgiyi-deseninin-ilk-bulunusunda-bolme\/\",\"name\":\"PowerShell: Bir Dizgiyi Deseninin \u0130lk Bulunu\u015funda B\u00f6lme\",\"isPartOf\":{\"@id\":\"https:\/\/fatihsoysal.com\/blog\/#website\"},\"datePublished\":\"2025-08-02T00:45:25+00:00\",\"description\":\"Hi\u00e7bir etiketi bulunamad\u0131.\",\"breadcrumb\":{\"@id\":\"https:\/\/fatihsoysal.com\/blog\/powershell-bir-dizgiyi-deseninin-ilk-bulunusunda-bolme\/#breadcrumb\"},\"inLanguage\":\"tr\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/fatihsoysal.com\/blog\/powershell-bir-dizgiyi-deseninin-ilk-bulunusunda-bolme\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/fatihsoysal.com\/blog\/powershell-bir-dizgiyi-deseninin-ilk-bulunusunda-bolme\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Anasayfa\",\"item\":\"https:\/\/fatihsoysal.com\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"PowerShell: Bir Dizgiyi Deseninin \u0130lk Bulunu\u015funda B\u00f6lme\"}]},{\"@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 Dizgiyi Deseninin \u0130lk Bulunu\u015funda B\u00f6lme","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-dizgiyi-deseninin-ilk-bulunusunda-bolme\/","og_locale":"tr_TR","og_type":"article","og_title":"PowerShell: Bir Dizgiyi Deseninin \u0130lk Bulunu\u015funda B\u00f6lme","og_description":"Hi\u00e7bir etiketi bulunamad\u0131.","og_url":"https:\/\/fatihsoysal.com\/blog\/powershell-bir-dizgiyi-deseninin-ilk-bulunusunda-bolme\/","og_site_name":"Kodlar\u0131n Gizemli D\u00fcnyas\u0131","article_published_time":"2025-08-02T00:45:25+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-dizgiyi-deseninin-ilk-bulunusunda-bolme\/#article","isPartOf":{"@id":"https:\/\/fatihsoysal.com\/blog\/powershell-bir-dizgiyi-deseninin-ilk-bulunusunda-bolme\/"},"author":{"name":"Fatih Soysal","@id":"https:\/\/fatihsoysal.com\/blog\/#\/schema\/person\/002a254750921dcfd568a99e48240dd1"},"headline":"PowerShell: Bir Dizgiyi Deseninin \u0130lk Bulunu\u015funda B\u00f6lme","datePublished":"2025-08-02T00:45:25+00:00","mainEntityOfPage":{"@id":"https:\/\/fatihsoysal.com\/blog\/powershell-bir-dizgiyi-deseninin-ilk-bulunusunda-bolme\/"},"wordCount":1216,"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-dizgiyi-deseninin-ilk-bulunusunda-bolme\/#respond"]}],"copyrightYear":"2025","copyrightHolder":{"@id":"https:\/\/fatihsoysal.com\/blog\/#organization"}},{"@type":"WebPage","@id":"https:\/\/fatihsoysal.com\/blog\/powershell-bir-dizgiyi-deseninin-ilk-bulunusunda-bolme\/","url":"https:\/\/fatihsoysal.com\/blog\/powershell-bir-dizgiyi-deseninin-ilk-bulunusunda-bolme\/","name":"PowerShell: Bir Dizgiyi Deseninin \u0130lk Bulunu\u015funda B\u00f6lme","isPartOf":{"@id":"https:\/\/fatihsoysal.com\/blog\/#website"},"datePublished":"2025-08-02T00:45:25+00:00","description":"Hi\u00e7bir etiketi bulunamad\u0131.","breadcrumb":{"@id":"https:\/\/fatihsoysal.com\/blog\/powershell-bir-dizgiyi-deseninin-ilk-bulunusunda-bolme\/#breadcrumb"},"inLanguage":"tr","potentialAction":[{"@type":"ReadAction","target":["https:\/\/fatihsoysal.com\/blog\/powershell-bir-dizgiyi-deseninin-ilk-bulunusunda-bolme\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/fatihsoysal.com\/blog\/powershell-bir-dizgiyi-deseninin-ilk-bulunusunda-bolme\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Anasayfa","item":"https:\/\/fatihsoysal.com\/blog\/"},{"@type":"ListItem","position":2,"name":"PowerShell: Bir Dizgiyi Deseninin \u0130lk Bulunu\u015funda B\u00f6lme"}]},{"@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\/26876","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=26876"}],"version-history":[{"count":0,"href":"https:\/\/fatihsoysal.com\/blog\/wp-json\/wp\/v2\/posts\/26876\/revisions"}],"wp:attachment":[{"href":"https:\/\/fatihsoysal.com\/blog\/wp-json\/wp\/v2\/media?parent=26876"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/fatihsoysal.com\/blog\/wp-json\/wp\/v2\/categories?post=26876"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/fatihsoysal.com\/blog\/wp-json\/wp\/v2\/tags?post=26876"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}