{"id":26987,"date":"2025-08-03T21:45:21","date_gmt":"2025-08-03T18:45:21","guid":{"rendered":"https:\/\/fatihsoysal.com\/blog\/powershell-bir-dosyada-belirli-kelimeleri-sayma\/"},"modified":"2025-08-03T21:45:21","modified_gmt":"2025-08-03T18:45:21","slug":"powershell-bir-dosyada-belirli-kelimeleri-sayma","status":"publish","type":"post","link":"https:\/\/fatihsoysal.com\/blog\/powershell-bir-dosyada-belirli-kelimeleri-sayma\/","title":{"rendered":"PowerShell: Bir Dosyada Belirli Kelimeleri Sayma"},"content":{"rendered":"<p># PowerShell&#8217;de Dosyada Belirli Kelimeleri Sayma<\/p>\n<p>Log dosyalar\u0131n\u0131 analiz etmek, b\u00fcy\u00fck metin k\u00fcmelerini i\u015flemek veya basit\u00e7e bir belgedeki belirli kelimelerin s\u0131kl\u0131\u011f\u0131n\u0131 belirlemek istiyor musunuz?  PowerShell, bu g\u00f6revleri otomatikle\u015ftirmek i\u00e7in g\u00fc\u00e7l\u00fc ara\u00e7lar sunar. Bu makale, PowerShell kullanarak bir dosyada belirli kelimeleri sayman\u0131n farkl\u0131 y\u00f6ntemlerini, ad\u0131m ad\u0131m ilerleyerek, ger\u00e7ek d\u00fcnya \u00f6rnekleriyle ve performans optimizasyon teknikleriyle ele alacakt\u0131r.  Yeni ba\u015flayanlardan ileri d\u00fczey kullan\u0131c\u0131lara kadar her seviyeye hitap eden kapsaml\u0131 bir k\u0131lavuz sunuyoruz.<\/p>\n<p><strong>PowerShell Temelleri: Metin \u0130\u015fleme ve Kelime Say\u0131m\u0131<\/strong><\/p>\n<p>PowerShell&#8217;de metin i\u015fleme, <code class=\"language-\">Get-Content<\/code>, <code class=\"language-\">Select-String<\/code>, <code class=\"language-\">Where-Object<\/code> gibi cmdlet&#8217;leri kullanarak ger\u00e7ekle\u015ftirilir.  Bu cmdlet&#8217;ler, dosyalardan metin okumay\u0131, belirli kal\u0131plar\u0131 aramay\u0131 ve sonu\u00e7lar\u0131 filtrelemeyi sa\u011flar. Kelime say\u0131m\u0131 ise genellikle <code class=\"language-\">Measure-Object<\/code> cmdlet&#8217;i ile birlikte kullan\u0131l\u0131r. Ancak, basit bir kelime say\u0131m\u0131n\u0131n \u00f6tesinde, belirli kelimeleri hedeflemek i\u00e7in daha geli\u015fmi\u015f teknikler gereklidir. \u00d6rne\u011fin, b\u00fcy\u00fck\/k\u00fc\u00e7\u00fck harf duyarl\u0131l\u0131\u011f\u0131, noktalama i\u015faretleri ve \u00f6zel karakterlerin nas\u0131l ele al\u0131naca\u011f\u0131 gibi fakt\u00f6rler dikkate al\u0131nmal\u0131d\u0131r.<\/p>\n<p><strong>Nas\u0131l Yap\u0131l\u0131r? Yeni Ba\u015flayanlar \u0130\u00e7in Ad\u0131m Ad\u0131m Kelime Say\u0131m\u0131<\/strong><\/p>\n<p>\u0130lk olarak, basit bir \u00f6rnek ile ba\u015flayal\u0131m.  A\u015fa\u011f\u0131daki kod blo\u011fu, &#8220;Merhaba D\u00fcnya&#8221; metnini i\u00e7eren bir dosyada &#8220;Merhaba&#8221; kelimesinin ka\u00e7 kez ge\u00e7ti\u011fini sayar:<\/p>\n<pre class=\"language-powershell\"><code># &quot;Merhaba.txt&quot; dosyas\u0131n\u0131 olu\u015fturuyoruz.\n&quot;Merhaba D\u00fcnya, Merhaba!&quot; | Out-File -FilePath &quot;Merhaba.txt&quot;\n\n# Dosyadaki &quot;Merhaba&quot; kelimesinin say\u0131s\u0131n\u0131 buluyoruz.\n(Get-Content -Path &quot;Merhaba.txt&quot;) -match &quot;Merhaba&quot; | Measure-Object<\/code><\/pre>\n<p>Bu kod, <code class=\"language-\">Get-Content<\/code> ile dosyay\u0131 okur, <code class=\"language-\">-match<\/code> operat\u00f6r\u00fc ile &#8220;Merhaba&#8221; kelimesini arar ve <code class=\"language-\">Measure-Object<\/code> ile e\u015fle\u015fme say\u0131s\u0131n\u0131 sayar.  Sonu\u00e7, <code class=\"language-\">Count<\/code> \u00f6zelli\u011fi ile g\u00f6sterilir.  Bu basit \u00f6rnek, temel kavramlar\u0131 anlaman\u0131za yard\u0131mc\u0131 olur.  Ancak, ger\u00e7ek d\u00fcnya senaryolar\u0131nda daha geli\u015fmi\u015f yakla\u015f\u0131mlara ihtiya\u00e7 duyabilirsiniz.<\/p>\n<p><strong>Ger\u00e7ek Hayat \u00d6rne\u011fi: Log Dosyas\u0131 Analizi<\/strong><\/p>\n<p>Bir web sunucusunun log dosyas\u0131n\u0131 ele alal\u0131m.  Bu dosya, hata mesajlar\u0131, istekler ve di\u011fer \u00f6nemli bilgiler i\u00e7erir.  &#8220;error&#8221; kelimesinin ka\u00e7 kez ge\u00e7ti\u011fini tespit etmek istedi\u011fimizi varsayal\u0131m.  A\u015fa\u011f\u0131daki kod, b\u00fcy\u00fck\/k\u00fc\u00e7\u00fck harf duyarl\u0131l\u0131\u011f\u0131n\u0131 dikkate almadan &#8220;error&#8221; kelimesini sayar:<\/p>\n<pre class=\"language-powershell\"><code>$logFilePath = &quot;C:\\log\\webserver.log&quot;  # Log dosyas\u0131n\u0131n yolu\n(Get-Content $logFilePath) -match &quot;error&quot; | Measure-Object | Select-Object -ExpandProperty Count<\/code><\/pre>\n<p>Bu \u00f6rnekte, <code class=\"language-\">$logFilePath<\/code> de\u011fi\u015fkeni log dosyas\u0131n\u0131n yolunu tutar.  Bu, kodun daha okunabilir ve yeniden kullan\u0131labilir olmas\u0131n\u0131 sa\u011flar.  Ayr\u0131ca, <code class=\"language-\">Select-Object -ExpandProperty Count<\/code> ile sadece say\u0131y\u0131 alarak \u00e7\u0131kt\u0131y\u0131 temizleriz.<\/p>\n<p><strong>Orta Seviye: Performans Optimizasyonu ve Geli\u015fmi\u015f Teknikler<\/strong><\/p>\n<p>B\u00fcy\u00fck dosyalar i\u00e7in, <code class=\"language-\">Get-Content<\/code> cmdlet&#8217;i performans sorunlar\u0131na yol a\u00e7abilir.  Bunun yerine, <code class=\"language-\">StreamReader<\/code> nesnesini kullanarak dosyay\u0131 sat\u0131r sat\u0131r okumak daha etkilidir.  A\u015fa\u011f\u0131daki \u00f6rnek, <code class=\"language-\">StreamReader<\/code> kullanarak performans\u0131 art\u0131r\u0131r:<\/p>\n<pre class=\"language-powershell\"><code>$logFilePath = &quot;C:\\log\\webserver.log&quot;\n$wordToCount = &quot;error&quot;\n$count = 0\n$reader = New-Object System.IO.StreamReader($logFilePath)\n\nwhile ($line = $reader.ReadLine()) {\n    if ($line -match $wordToCount) {\n        $count++\n    }\n}\n\n$reader.Close()\n$count<\/code><\/pre>\n<p>Bu kod, dosyay\u0131 sat\u0131r sat\u0131r okur ve her sat\u0131rda hedef kelimeyi arar.  Bu y\u00f6ntem, \u00f6zellikle b\u00fcy\u00fck dosyalar i\u00e7in \u00f6nemli \u00f6l\u00e7\u00fcde performans art\u0131\u015f\u0131 sa\u011flar.  Ayr\u0131ca, <code class=\"language-\">$wordToCount<\/code> de\u011fi\u015fkeni kullanarak, hangi kelimeyi sayaca\u011f\u0131m\u0131z\u0131 kolayca de\u011fi\u015ftirebiliriz.<\/p>\n<p><strong>\u0130leri D\u00fczey: Regex Kullan\u0131m\u0131 ve Edge Case&#8217;ler<\/strong><\/p>\n<p>Daha karma\u015f\u0131k kelime say\u0131m senaryolar\u0131 i\u00e7in, d\u00fczenli ifadeler (regular expressions &#8211; regex) kullanmak faydal\u0131d\u0131r.  \u00d6rne\u011fin, &#8220;error&#8221; kelimesinin farkl\u0131 varyasyonlar\u0131n\u0131 (\u00f6rne\u011fin, &#8220;errors&#8221;, &#8220;Error&#8221;, &#8220;ERROR&#8221;) saymak i\u00e7in regex kullanabiliriz:<\/p>\n<pre class=\"language-powershell\"><code>$logFilePath = &quot;C:\\log\\webserver.log&quot;\n$regex = &quot;\\b(error|errors)\\b&quot; # \\b kelime s\u0131n\u0131rlar\u0131n\u0131 belirtir.\n(Get-Content $logFilePath) -match $regex | Measure-Object | Select-Object -ExpandProperty Count<\/code><\/pre>\n<p>Bu \u00f6rnek, <code class=\"language-\">\\b<\/code> karakteri ile kelime s\u0131n\u0131rlar\u0131n\u0131 belirterek, &#8220;error&#8221; veya &#8220;errors&#8221; kelimelerinin tam olarak e\u015fle\u015fmesini sa\u011flar.  Bu, &#8220;errorhandling&#8221; gibi kelimelerin yanl\u0131\u015fl\u0131kla say\u0131lmas\u0131n\u0131 \u00f6nler.<\/p>\n<p><strong>Performans Analizi ve Optimizasyon \u0130pu\u00e7lar\u0131<\/strong><\/p>\n<p>B\u00fcy\u00fck dosyalarla \u00e7al\u0131\u015f\u0131rken, performans kritik bir fakt\u00f6rd\u00fcr.  <code class=\"language-\">Get-Content<\/code> yerine <code class=\"language-\">StreamReader<\/code> kullanmak, performans\u0131 \u00f6nemli \u00f6l\u00e7\u00fcde art\u0131rabilir.  Ayr\u0131ca, hedef kelimeyi aramak i\u00e7in <code class=\"language-\">-match<\/code> operat\u00f6r\u00fc yerine daha h\u0131zl\u0131 bir y\u00f6ntem kullanmay\u0131 d\u00fc\u015f\u00fcnebilirsiniz.  Paralel i\u015fleme teknikleri de b\u00fcy\u00fck dosyalar i\u00e7in performans\u0131 optimize etmek i\u00e7in kullan\u0131labilir.  [Fatih Soysal&#8217;\u0131n blogunda](https:\/\/fatihsoysal.com)  PowerShell performans optimizasyonu hakk\u0131nda daha fazla bilgi bulabilirsiniz.<\/p>\n<p><strong>PowerShell ile Kelime Say\u0131m\u0131nda S\u0131k\u00e7a Sorulan Sorular (SSS)<\/strong><\/p>\n<p>* <strong>B\u00fcy\u00fck\/k\u00fc\u00e7\u00fck harf duyarl\u0131l\u0131\u011f\u0131n\u0131 nas\u0131l kontrol ederim?<\/strong>  <code class=\"language-\">-match<\/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 <code class=\"language-\">-imatch<\/code> operat\u00f6r\u00fcn\u00fc kullan\u0131n.<\/p>\n<p>* <strong>Noktalama i\u015faretlerini nas\u0131l ele alabilirim?<\/strong>  Regex kullanarak noktalama i\u015faretlerini filtreleyebilirsiniz.  \u00d6rne\u011fin, <code class=\"language-\">\\b\\w+\\b<\/code> ifadesi sadece kelimeleri e\u015fle\u015ftirir.<\/p>\n<p>* <strong>Birden fazla kelimeyi ayn\u0131 anda nas\u0131l sayabilirim?<\/strong>  Her kelime i\u00e7in ayr\u0131 bir <code class=\"language-\">-match<\/code> i\u015flemi kullanabilir veya daha geli\u015fmi\u015f regex ifadeleri kullanabilirsiniz.<\/p>\n<p>* <strong>Hata y\u00f6netimi nas\u0131l yap\u0131l\u0131r?<\/strong>  <code class=\"language-\">try...catch<\/code> bloklar\u0131 kullanarak dosya okuma hatalar\u0131n\u0131 yakalayabilirsiniz.<\/p>\n<p>* <strong>\u00c7oklu dosyalarda kelime say\u0131m\u0131 nas\u0131l yap\u0131l\u0131r?<\/strong>  <code class=\"language-\">Get-ChildItem<\/code> cmdlet&#8217;i ile dosyalar\u0131 listeleyip, bir d\u00f6ng\u00fc i\u00e7inde her dosya i\u00e7in kelime say\u0131m\u0131n\u0131 yapabilirsiniz.<\/p>\n<p><strong>Sonu\u00e7:<\/strong><\/p>\n<p>PowerShell, dosyalardaki belirli kelimeleri saymak i\u00e7in esnek ve g\u00fc\u00e7l\u00fc bir ara\u00e7t\u0131r.  Bu makalede ele al\u0131nan y\u00f6ntemler, basit kelime say\u0131m\u0131ndan karma\u015f\u0131k regex tabanl\u0131 analizlere kadar geni\u015f bir yelpazeyi kapsar.  Performans optimizasyonu ve hata y\u00f6netimi teknikleri ile birlikte, bu bilgiler, PowerShell yeteneklerinizi geli\u015ftirmenize ve ger\u00e7ek d\u00fcnya problemlerini \u00e7\u00f6zmenize yard\u0131mc\u0131 olacakt\u0131r.<\/p>\n<p>Yazar: Fatih Soysal<\/p>\n","protected":false},"excerpt":{"rendered":"# PowerShell&#8217;de Dosyada Belirli Kelimeleri Sayma Log dosyalar\u0131n\u0131 analiz etmek, b\u00fcy\u00fck metin k\u00fcmelerini i\u015flemek veya basit\u00e7e bir belgedeki&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-26987","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 Dosyada Belirli Kelimeleri Sayma<\/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-dosyada-belirli-kelimeleri-sayma\/\" \/>\n<meta property=\"og:locale\" content=\"tr_TR\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"PowerShell: Bir Dosyada Belirli Kelimeleri Sayma\" \/>\n<meta property=\"og:description\" content=\"Hi\u00e7bir etiketi bulunamad\u0131.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/fatihsoysal.com\/blog\/powershell-bir-dosyada-belirli-kelimeleri-sayma\/\" \/>\n<meta property=\"og:site_name\" content=\"Kodlar\u0131n Gizemli D\u00fcnyas\u0131\" \/>\n<meta property=\"article:published_time\" content=\"2025-08-03T18:45:21+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=\"5 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-dosyada-belirli-kelimeleri-sayma\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/fatihsoysal.com\/blog\/powershell-bir-dosyada-belirli-kelimeleri-sayma\/\"},\"author\":{\"name\":\"Fatih Soysal\",\"@id\":\"https:\/\/fatihsoysal.com\/blog\/#\/schema\/person\/002a254750921dcfd568a99e48240dd1\"},\"headline\":\"PowerShell: Bir Dosyada Belirli Kelimeleri Sayma\",\"datePublished\":\"2025-08-03T18:45:21+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/fatihsoysal.com\/blog\/powershell-bir-dosyada-belirli-kelimeleri-sayma\/\"},\"wordCount\":843,\"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-dosyada-belirli-kelimeleri-sayma\/#respond\"]}],\"copyrightYear\":\"2025\",\"copyrightHolder\":{\"@id\":\"https:\/\/fatihsoysal.com\/blog\/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/fatihsoysal.com\/blog\/powershell-bir-dosyada-belirli-kelimeleri-sayma\/\",\"url\":\"https:\/\/fatihsoysal.com\/blog\/powershell-bir-dosyada-belirli-kelimeleri-sayma\/\",\"name\":\"PowerShell: Bir Dosyada Belirli Kelimeleri Sayma\",\"isPartOf\":{\"@id\":\"https:\/\/fatihsoysal.com\/blog\/#website\"},\"datePublished\":\"2025-08-03T18:45:21+00:00\",\"description\":\"Hi\u00e7bir etiketi bulunamad\u0131.\",\"breadcrumb\":{\"@id\":\"https:\/\/fatihsoysal.com\/blog\/powershell-bir-dosyada-belirli-kelimeleri-sayma\/#breadcrumb\"},\"inLanguage\":\"tr\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/fatihsoysal.com\/blog\/powershell-bir-dosyada-belirli-kelimeleri-sayma\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/fatihsoysal.com\/blog\/powershell-bir-dosyada-belirli-kelimeleri-sayma\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Anasayfa\",\"item\":\"https:\/\/fatihsoysal.com\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"PowerShell: Bir Dosyada Belirli Kelimeleri Sayma\"}]},{\"@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 Dosyada Belirli Kelimeleri Sayma","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-dosyada-belirli-kelimeleri-sayma\/","og_locale":"tr_TR","og_type":"article","og_title":"PowerShell: Bir Dosyada Belirli Kelimeleri Sayma","og_description":"Hi\u00e7bir etiketi bulunamad\u0131.","og_url":"https:\/\/fatihsoysal.com\/blog\/powershell-bir-dosyada-belirli-kelimeleri-sayma\/","og_site_name":"Kodlar\u0131n Gizemli D\u00fcnyas\u0131","article_published_time":"2025-08-03T18:45:21+00:00","author":"Fatih Soysal","twitter_card":"summary_large_image","twitter_misc":{"Yazan:":"Fatih Soysal","Tahmini okuma s\u00fcresi":"5 dakika"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/fatihsoysal.com\/blog\/powershell-bir-dosyada-belirli-kelimeleri-sayma\/#article","isPartOf":{"@id":"https:\/\/fatihsoysal.com\/blog\/powershell-bir-dosyada-belirli-kelimeleri-sayma\/"},"author":{"name":"Fatih Soysal","@id":"https:\/\/fatihsoysal.com\/blog\/#\/schema\/person\/002a254750921dcfd568a99e48240dd1"},"headline":"PowerShell: Bir Dosyada Belirli Kelimeleri Sayma","datePublished":"2025-08-03T18:45:21+00:00","mainEntityOfPage":{"@id":"https:\/\/fatihsoysal.com\/blog\/powershell-bir-dosyada-belirli-kelimeleri-sayma\/"},"wordCount":843,"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-dosyada-belirli-kelimeleri-sayma\/#respond"]}],"copyrightYear":"2025","copyrightHolder":{"@id":"https:\/\/fatihsoysal.com\/blog\/#organization"}},{"@type":"WebPage","@id":"https:\/\/fatihsoysal.com\/blog\/powershell-bir-dosyada-belirli-kelimeleri-sayma\/","url":"https:\/\/fatihsoysal.com\/blog\/powershell-bir-dosyada-belirli-kelimeleri-sayma\/","name":"PowerShell: Bir Dosyada Belirli Kelimeleri Sayma","isPartOf":{"@id":"https:\/\/fatihsoysal.com\/blog\/#website"},"datePublished":"2025-08-03T18:45:21+00:00","description":"Hi\u00e7bir etiketi bulunamad\u0131.","breadcrumb":{"@id":"https:\/\/fatihsoysal.com\/blog\/powershell-bir-dosyada-belirli-kelimeleri-sayma\/#breadcrumb"},"inLanguage":"tr","potentialAction":[{"@type":"ReadAction","target":["https:\/\/fatihsoysal.com\/blog\/powershell-bir-dosyada-belirli-kelimeleri-sayma\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/fatihsoysal.com\/blog\/powershell-bir-dosyada-belirli-kelimeleri-sayma\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Anasayfa","item":"https:\/\/fatihsoysal.com\/blog\/"},{"@type":"ListItem","position":2,"name":"PowerShell: Bir Dosyada Belirli Kelimeleri Sayma"}]},{"@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\/26987","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=26987"}],"version-history":[{"count":0,"href":"https:\/\/fatihsoysal.com\/blog\/wp-json\/wp\/v2\/posts\/26987\/revisions"}],"wp:attachment":[{"href":"https:\/\/fatihsoysal.com\/blog\/wp-json\/wp\/v2\/media?parent=26987"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/fatihsoysal.com\/blog\/wp-json\/wp\/v2\/categories?post=26987"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/fatihsoysal.com\/blog\/wp-json\/wp\/v2\/tags?post=26987"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}