{"id":27406,"date":"2025-08-12T18:10:25","date_gmt":"2025-08-12T15:10:25","guid":{"rendered":"https:\/\/fatihsoysal.com\/blog\/powershell-eslesmelerin-satir-numaralarini-alma\/"},"modified":"2025-08-12T18:10:25","modified_gmt":"2025-08-12T15:10:25","slug":"powershell-eslesmelerin-satir-numaralarini-alma","status":"publish","type":"post","link":"https:\/\/fatihsoysal.com\/blog\/powershell-eslesmelerin-satir-numaralarini-alma\/","title":{"rendered":"PowerShell: E\u015fle\u015fmelerin Sat\u0131r Numaralar\u0131n\u0131 Alma"},"content":{"rendered":"<p># PowerShell&#8217;de E\u015fle\u015fmelerin Sat\u0131r Numaras\u0131n\u0131 Nas\u0131l Buluruz?<\/p>\n<p>Metin dosyalar\u0131nda belirli desenleri aray\u0131p bulmak ve bu desenlerin hangi sat\u0131rlarda yer ald\u0131\u011f\u0131n\u0131 tespit etmek, bir\u00e7ok yaz\u0131l\u0131m geli\u015ftirme ve sistem y\u00f6netimi senaryosunda s\u0131k\u00e7a kar\u015f\u0131la\u015f\u0131lan bir ihtiya\u00e7t\u0131r.  PowerShell, bu g\u00f6revi yerine getirmek i\u00e7in g\u00fc\u00e7l\u00fc ara\u00e7lar sunar.  Bu makalede, PowerShell kullanarak metin dosyalar\u0131nda e\u015fle\u015fmelerin sat\u0131r numaralar\u0131n\u0131 nas\u0131l elde edece\u011finizi, ba\u015flang\u0131\u00e7 seviyesinden ileri seviyeye kadar ad\u0131m ad\u0131m \u00f6\u011freneceksiniz.  Farkl\u0131 senaryolara uygun \u00e7\u00f6z\u00fcmler ve performans optimizasyon teknikleri ile PowerShell yeteneklerinizi bir \u00fcst seviyeye ta\u015f\u0131yaca\u011f\u0131z.<\/p>\n<p><strong>\u00d6\u011frenme Yol Haritas\u0131<\/strong><\/p>\n<p>Bu makale, PowerShell&#8217;de e\u015fle\u015fmelerin sat\u0131r numaras\u0131n\u0131 bulmay\u0131 \u00f6\u011frenmek i\u00e7in \u00fc\u00e7 a\u015famal\u0131 bir yol haritas\u0131 sunmaktad\u0131r:<\/p>\n<p><strong>Yeni Ba\u015flayan:<\/strong>  Temel komutlar\u0131 ve basit \u00f6rnekleri i\u00e7erir.<\/p>\n<p><strong>Orta Seviye:<\/strong>  Ger\u00e7ek d\u00fcnya senaryolar\u0131 ve optimizasyon tekniklerini ele al\u0131r.<\/p>\n<p><strong>\u0130leri Seviye:<\/strong> Performans analizi ve nadir durumlar\u0131 (edge caseler) inceler.<\/p>\n<p><strong>PowerShell&#8217;de Temel Metin \u0130\u015fleme Kavramlar\u0131<\/strong><\/p>\n<p>PowerShell&#8217;de metin dosyalar\u0131n\u0131 i\u015flemek i\u00e7in en temel komut <code class=\"language-\">Get-Content<\/code>&#8216;t\u0131r. Bu komut, bir dosyan\u0131n t\u00fcm i\u00e7eri\u011fini sat\u0131r sat\u0131r okur ve bir dizide saklar.  Ancak, sadece dosya i\u00e7eri\u011fini okumak yeterli de\u011fildir; e\u015fle\u015fmeleri bulmak ve sat\u0131r numaralar\u0131n\u0131 belirlemek i\u00e7in daha geli\u015fmi\u015f tekniklere ihtiyac\u0131m\u0131z var.  Bu teknikler genellikle <code class=\"language-\">Select-String<\/code> cmdlet&#8217;i ve d\u00f6ng\u00fclerle birle\u015ftirilerek kullan\u0131l\u0131r.  <code class=\"language-\">Select-String<\/code>, belirtilen bir kal\u0131ba uyan sat\u0131rlar\u0131 bulur ve <code class=\"language-\">MatchInfo<\/code> nesneleri olarak d\u00f6nd\u00fcr\u00fcr. Bu nesneler, e\u015fle\u015fmenin sat\u0131r numaras\u0131 (<code class=\"language-\">LineNumber<\/code>) gibi \u00f6nemli bilgileri i\u00e7erir.  \u00d6rne\u011fin, bir log dosyas\u0131nda &#8220;Hata&#8221; kelimesini aray\u0131p hangi sat\u0131rlarda yer ald\u0131\u011f\u0131n\u0131 bulmak isteyebilirsiniz.<\/p>\n<p><strong>PowerShell ile Sat\u0131r Numaras\u0131n\u0131 Bulma: Ad\u0131m Ad\u0131m Uygulama<\/strong><\/p>\n<p><strong>Yeni Ba\u015flayan:<\/strong><\/p>\n<p>A\u015fa\u011f\u0131daki \u00f6rnekte, <code class=\"language-\">test.txt<\/code> adl\u0131 bir dosyada &#8220;PowerShell&#8221; kelimesinin hangi sat\u0131rlarda ge\u00e7ti\u011fini buluyoruz:<\/p>\n<pre class=\"language-powershell\"><code># test.txt dosyas\u0131n\u0131n i\u00e7eri\u011fi:\n# Bu bir \u00f6rnek metin dosyas\u0131d\u0131r.\n# PowerShell \u00e7ok g\u00fc\u00e7l\u00fc bir ara\u00e7t\u0131r.\n# Bu sat\u0131rda PowerShell yok.\n# PowerShell ile bir\u00e7ok i\u015flem yapabilirsiniz.\n\n\nGet-Content test.txt | Select-String -Pattern &quot;PowerShell&quot; | ForEach-Object {$_.LineNumber}<\/code><\/pre>\n<p>Bu kod, <code class=\"language-\">Get-Content<\/code> ile <code class=\"language-\">test.txt<\/code> dosyas\u0131n\u0131n i\u00e7eri\u011fini al\u0131r, <code class=\"language-\">Select-String<\/code> ile &#8220;PowerShell&#8221; kelimesini arar ve <code class=\"language-\">ForEach-Object<\/code> ile her e\u015fle\u015fmenin sat\u0131r numaras\u0131n\u0131 ekrana yazd\u0131r\u0131r. \u00c7\u0131kt\u0131, 2 ve 4 sat\u0131r numaralar\u0131n\u0131 g\u00f6sterecektir.<\/p>\n<p><strong>Ger\u00e7ek D\u00fcnya \u00d6rne\u011fi: Log Dosyas\u0131 Analizi<\/strong><\/p>\n<p><strong>Orta Seviye:<\/strong><\/p>\n<p>Bir web sunucusunun log dosyas\u0131nda belirli bir hata mesaj\u0131n\u0131n ka\u00e7 kez ve hangi sat\u0131rlarda ge\u00e7ti\u011fini bulmak istedi\u011fimizi d\u00fc\u015f\u00fcnelim.  A\u015fa\u011f\u0131daki kod, &#8220;404 Not Found&#8221; hata mesaj\u0131n\u0131n hangi sat\u0131rlarda yer ald\u0131\u011f\u0131n\u0131 ve toplam ka\u00e7 kez ge\u00e7ti\u011fini g\u00f6sterir:<\/p>\n<pre class=\"language-powershell\"><code>$logFilePath = &quot;C:\\logs\\webserver.log&quot;\n$errorPattern = &quot;404 Not Found&quot;\n\n$matches = Select-String -Path $logFilePath -Pattern $errorPattern\n\nif ($matches) {\n  Write-Host &quot;Hata mesaj\u0131 bulundu:&quot;\n  $matches | ForEach-Object {\n    Write-Host &quot;Sat\u0131r Numaras\u0131: $($_.LineNumber), Metin: $($_.Line)&quot;\n  }\n  Write-Host &quot;Toplam Hata Say\u0131s\u0131: $($matches.Count)&quot;\n} else {\n  Write-Host &quot;Hata mesaj\u0131 bulunamad\u0131.&quot;\n}<\/code><\/pre>\n<p>Bu \u00f6rnekte, <code class=\"language-\">Select-String<\/code>&#8216;in <code class=\"language-\">-Path<\/code> parametresi ile dosya yolunu belirtiyoruz ve <code class=\"language-\">-Pattern<\/code> parametresi ile arama desenini tan\u0131ml\u0131yoruz.  Sonras\u0131nda, e\u015fle\u015fmeleri <code class=\"language-\">ForEach-Object<\/code> ile i\u015fleyerek sat\u0131r numaras\u0131 ve hata mesaj\u0131n\u0131 ekrana yazd\u0131r\u0131yoruz.  Ayr\u0131ca, <code class=\"language-\">$matches.Count<\/code> ile toplam hata say\u0131s\u0131n\u0131 da hesapl\u0131yoruz.  B\u00fcy\u00fck log dosyalar\u0131nda performans optimizasyonu i\u00e7in daha geli\u015fmi\u015f teknikler kullan\u0131lmas\u0131 gerekebilir.  Bu konuya daha sonra de\u011finece\u011fiz.<\/p>\n<p><strong>Performans Optimizasyonu: B\u00fcy\u00fck Dosyalar \u0130\u00e7in Stratejiler<\/strong><\/p>\n<p><strong>\u0130leri Seviye:<\/strong><\/p>\n<p>\u00c7ok b\u00fcy\u00fck log dosyalar\u0131nda, yukar\u0131daki y\u00f6ntemler yava\u015f olabilir.  Performans\u0131 art\u0131rmak i\u00e7in a\u015fa\u011f\u0131daki stratejileri kullanabiliriz:<\/p>\n<p>* <strong><code class=\"language-\">-SimpleMatch<\/code> Parametresi:<\/strong>  Tam e\u015fle\u015fme yerine k\u0131smi e\u015fle\u015fme yeterliyse, <code class=\"language-\">Select-String<\/code>&#8216;in <code class=\"language-\">-SimpleMatch<\/code> parametresini kullanarak performans\u0131 \u00f6nemli \u00f6l\u00e7\u00fcde art\u0131rabiliriz. Bu parametre, daha h\u0131zl\u0131 regex e\u015fle\u015ftirme yerine daha basit bir e\u015fle\u015fme algoritmas\u0131 kullan\u0131r.<\/p>\n<p>* <strong>Paralel \u0130\u015fleme:<\/strong>  B\u00fcy\u00fck dosyalar\u0131 par\u00e7alara b\u00f6lerek ve her par\u00e7ay\u0131 ayr\u0131 bir i\u015f par\u00e7ac\u0131\u011f\u0131nda i\u015flemek, paralel i\u015fleme ile performans\u0131 \u00f6nemli \u00f6l\u00e7\u00fcde art\u0131rabiliriz.  PowerShell&#8217;de <code class=\"language-\">Start-Job<\/code> cmdlet&#8217;i bu ama\u00e7la kullan\u0131labilir.<\/p>\n<p>* <strong>Ak\u0131\u015f \u0130\u015fleme:<\/strong>  <code class=\"language-\">Get-Content<\/code> cmdlet&#8217;i ile dosyay\u0131 sat\u0131r sat\u0131r okumak yerine, <code class=\"language-\">-ReadCount<\/code> parametresi ile dosyay\u0131 bloklar halinde okuyarak bellek kullan\u0131m\u0131n\u0131 azaltabiliriz.<\/p>\n<p><strong>Nadir Durumlar (Edge Cases) ve Hata Y\u00f6netimi<\/strong><\/p>\n<p><strong>\u0130leri Seviye:<\/strong><\/p>\n<p>* <strong>Bo\u015f Sat\u0131rlar:<\/strong>  Dosyada bo\u015f sat\u0131rlar varsa ve e\u015fle\u015fme bir bo\u015f sat\u0131rda bulunuyorsa, <code class=\"language-\">LineNumber<\/code> de\u011feri beklenmedik sonu\u00e7lar verebilir.  Bu durumu kontrol etmek ve uygun \u015fekilde i\u015flemek \u00f6nemlidir.<\/p>\n<p>* <strong>\u00c7oklu E\u015fle\u015fmeler Ayn\u0131 Sat\u0131rda:<\/strong>  Ayn\u0131 sat\u0131rda birden \u00e7ok e\u015fle\u015fme varsa, <code class=\"language-\">Select-String<\/code> her e\u015fle\u015fme i\u00e7in ayr\u0131 bir <code class=\"language-\">MatchInfo<\/code> nesnesi d\u00f6nd\u00fcr\u00fcr.  Bu durumu dikkate alarak kodunuzu yazman\u0131z gerekmektedir.<\/p>\n<p>* <strong>Karakter Kodlamas\u0131:<\/strong>  Dosyan\u0131n karakter kodlamas\u0131 (UTF-8, ANSI vb.) do\u011fru \u015fekilde belirtilmelidir.  Yanl\u0131\u015f karakter kodlamas\u0131, e\u015fle\u015fmelerin do\u011fru bir \u015fekilde bulunmamas\u0131na neden olabilir.<\/p>\n<p><strong>Sonu\u00e7<\/strong><\/p>\n<p>PowerShell, metin dosyalar\u0131nda e\u015fle\u015fmelerin sat\u0131r numaralar\u0131n\u0131 bulmak i\u00e7in g\u00fc\u00e7l\u00fc ve esnek ara\u00e7lar sunar.  Bu makalede, temel kavramlardan ileri seviye tekniklere kadar geni\u015f bir yelpazede bilgi ve uygulama \u00f6rnekleri sunuldu.  B\u00fcy\u00fck dosyalar i\u00e7in performans optimizasyonu ve nadir durumlar\u0131n ele al\u0131nmas\u0131, PowerShell yeteneklerinizi daha da geli\u015ftirecektir.  Daha fazla bilgi i\u00e7in [fatihsoysal.com](https:\/\/fatihsoysal.com) adresini ziyaret edebilirsiniz.<\/p>\n<p><strong>S\u0131k\u00e7a Sorulan Sorular:<\/strong><\/p>\n<p>1. <strong><code class=\"language-\">Select-String<\/code> komutu regex kullan\u0131yor mu?<\/strong> Evet, <code class=\"language-\">Select-String<\/code> komutu varsay\u0131lan olarak regular expression (regex) kullan\u0131r.  Daha basit e\u015fle\u015fmeler i\u00e7in <code class=\"language-\">-SimpleMatch<\/code> parametresi kullan\u0131labilir.<\/p>\n<p>2. <strong>\u00c7ok b\u00fcy\u00fck dosyalar i\u00e7in en iyi performans stratejisi nedir?<\/strong> \u00c7ok b\u00fcy\u00fck dosyalar i\u00e7in en iyi performans stratejisi, dosyay\u0131 par\u00e7alara b\u00f6lerek paralel i\u015fleme kullanmak ve <code class=\"language-\">-ReadCount<\/code> parametresi ile bellek kullan\u0131m\u0131n\u0131 optimize etmektir.<\/p>\n<p>3. <strong>Hata y\u00f6netimi nas\u0131l yap\u0131l\u0131r?<\/strong> Hata y\u00f6netimi i\u00e7in <code class=\"language-\">try-catch<\/code> bloklar\u0131 kullan\u0131labilir.  \u00d6rne\u011fin, dosyan\u0131n bulunamamas\u0131 durumunda hata mesaj\u0131 g\u00f6sterilebilir.<\/p>\n<p>4. <strong>Farkl\u0131 karakter kodlamalar\u0131 nas\u0131l ele al\u0131n\u0131r?<\/strong> Farkl\u0131 karakter kodlamalar\u0131 i\u00e7in <code class=\"language-\">Get-Content<\/code> cmdlet&#8217;inin <code class=\"language-\">-Encoding<\/code> parametresi kullan\u0131labilir.<\/p>\n<p>5. <strong><code class=\"language-\">Select-String<\/code>&#8216;in d\u00f6nd\u00fcrd\u00fc\u011f\u00fc <code class=\"language-\">MatchInfo<\/code> nesnesinin di\u011fer \u00f6zellikleri nelerdir?<\/strong> <code class=\"language-\">MatchInfo<\/code> nesnesi, e\u015fle\u015fmenin ba\u015flang\u0131\u00e7 ve biti\u015f konumu, e\u015fle\u015fen metin gibi bir\u00e7ok yararl\u0131 \u00f6zellik i\u00e7erir.  Bunlar\u0131 <code class=\"language-\">$_.Matches<\/code>, <code class=\"language-\">$_.Index<\/code>, <code class=\"language-\">$_.Length<\/code> gibi \u00f6zelliklerle eri\u015febilirsiniz.<\/p>\n<p>Yazar: Fatih Soysal<\/p>\n","protected":false},"excerpt":{"rendered":"# PowerShell&#8217;de E\u015fle\u015fmelerin Sat\u0131r Numaras\u0131n\u0131 Nas\u0131l Buluruz? Metin dosyalar\u0131nda belirli desenleri aray\u0131p bulmak ve bu desenlerin hangi sat\u0131rlarda&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":[1328],"tags":[],"class_list":{"0":"post-27406","1":"post","2":"type-post","3":"status-publish","4":"format-standard","6":"category-bash","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: E\u015fle\u015fmelerin Sat\u0131r Numaralar\u0131n\u0131 Alma<\/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-eslesmelerin-satir-numaralarini-alma\/\" \/>\n<meta property=\"og:locale\" content=\"tr_TR\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"PowerShell: E\u015fle\u015fmelerin Sat\u0131r Numaralar\u0131n\u0131 Alma\" \/>\n<meta property=\"og:description\" content=\"Hi\u00e7bir etiketi bulunamad\u0131.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/fatihsoysal.com\/blog\/powershell-eslesmelerin-satir-numaralarini-alma\/\" \/>\n<meta property=\"og:site_name\" content=\"Kodlar\u0131n Gizemli D\u00fcnyas\u0131\" \/>\n<meta property=\"article:published_time\" content=\"2025-08-12T15:10: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=\"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-eslesmelerin-satir-numaralarini-alma\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/fatihsoysal.com\/blog\/powershell-eslesmelerin-satir-numaralarini-alma\/\"},\"author\":{\"name\":\"Fatih Soysal\",\"@id\":\"https:\/\/fatihsoysal.com\/blog\/#\/schema\/person\/002a254750921dcfd568a99e48240dd1\"},\"headline\":\"PowerShell: E\u015fle\u015fmelerin Sat\u0131r Numaralar\u0131n\u0131 Alma\",\"datePublished\":\"2025-08-12T15:10:25+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/fatihsoysal.com\/blog\/powershell-eslesmelerin-satir-numaralarini-alma\/\"},\"wordCount\":979,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/fatihsoysal.com\/blog\/#\/schema\/person\/002a254750921dcfd568a99e48240dd1\"},\"articleSection\":[\"Bash\"],\"inLanguage\":\"tr\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/fatihsoysal.com\/blog\/powershell-eslesmelerin-satir-numaralarini-alma\/#respond\"]}],\"copyrightYear\":\"2025\",\"copyrightHolder\":{\"@id\":\"https:\/\/fatihsoysal.com\/blog\/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/fatihsoysal.com\/blog\/powershell-eslesmelerin-satir-numaralarini-alma\/\",\"url\":\"https:\/\/fatihsoysal.com\/blog\/powershell-eslesmelerin-satir-numaralarini-alma\/\",\"name\":\"PowerShell: E\u015fle\u015fmelerin Sat\u0131r Numaralar\u0131n\u0131 Alma\",\"isPartOf\":{\"@id\":\"https:\/\/fatihsoysal.com\/blog\/#website\"},\"datePublished\":\"2025-08-12T15:10:25+00:00\",\"description\":\"Hi\u00e7bir etiketi bulunamad\u0131.\",\"breadcrumb\":{\"@id\":\"https:\/\/fatihsoysal.com\/blog\/powershell-eslesmelerin-satir-numaralarini-alma\/#breadcrumb\"},\"inLanguage\":\"tr\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/fatihsoysal.com\/blog\/powershell-eslesmelerin-satir-numaralarini-alma\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/fatihsoysal.com\/blog\/powershell-eslesmelerin-satir-numaralarini-alma\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Anasayfa\",\"item\":\"https:\/\/fatihsoysal.com\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"PowerShell: E\u015fle\u015fmelerin Sat\u0131r Numaralar\u0131n\u0131 Alma\"}]},{\"@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: E\u015fle\u015fmelerin Sat\u0131r Numaralar\u0131n\u0131 Alma","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-eslesmelerin-satir-numaralarini-alma\/","og_locale":"tr_TR","og_type":"article","og_title":"PowerShell: E\u015fle\u015fmelerin Sat\u0131r Numaralar\u0131n\u0131 Alma","og_description":"Hi\u00e7bir etiketi bulunamad\u0131.","og_url":"https:\/\/fatihsoysal.com\/blog\/powershell-eslesmelerin-satir-numaralarini-alma\/","og_site_name":"Kodlar\u0131n Gizemli D\u00fcnyas\u0131","article_published_time":"2025-08-12T15:10:25+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-eslesmelerin-satir-numaralarini-alma\/#article","isPartOf":{"@id":"https:\/\/fatihsoysal.com\/blog\/powershell-eslesmelerin-satir-numaralarini-alma\/"},"author":{"name":"Fatih Soysal","@id":"https:\/\/fatihsoysal.com\/blog\/#\/schema\/person\/002a254750921dcfd568a99e48240dd1"},"headline":"PowerShell: E\u015fle\u015fmelerin Sat\u0131r Numaralar\u0131n\u0131 Alma","datePublished":"2025-08-12T15:10:25+00:00","mainEntityOfPage":{"@id":"https:\/\/fatihsoysal.com\/blog\/powershell-eslesmelerin-satir-numaralarini-alma\/"},"wordCount":979,"commentCount":0,"publisher":{"@id":"https:\/\/fatihsoysal.com\/blog\/#\/schema\/person\/002a254750921dcfd568a99e48240dd1"},"articleSection":["Bash"],"inLanguage":"tr","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/fatihsoysal.com\/blog\/powershell-eslesmelerin-satir-numaralarini-alma\/#respond"]}],"copyrightYear":"2025","copyrightHolder":{"@id":"https:\/\/fatihsoysal.com\/blog\/#organization"}},{"@type":"WebPage","@id":"https:\/\/fatihsoysal.com\/blog\/powershell-eslesmelerin-satir-numaralarini-alma\/","url":"https:\/\/fatihsoysal.com\/blog\/powershell-eslesmelerin-satir-numaralarini-alma\/","name":"PowerShell: E\u015fle\u015fmelerin Sat\u0131r Numaralar\u0131n\u0131 Alma","isPartOf":{"@id":"https:\/\/fatihsoysal.com\/blog\/#website"},"datePublished":"2025-08-12T15:10:25+00:00","description":"Hi\u00e7bir etiketi bulunamad\u0131.","breadcrumb":{"@id":"https:\/\/fatihsoysal.com\/blog\/powershell-eslesmelerin-satir-numaralarini-alma\/#breadcrumb"},"inLanguage":"tr","potentialAction":[{"@type":"ReadAction","target":["https:\/\/fatihsoysal.com\/blog\/powershell-eslesmelerin-satir-numaralarini-alma\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/fatihsoysal.com\/blog\/powershell-eslesmelerin-satir-numaralarini-alma\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Anasayfa","item":"https:\/\/fatihsoysal.com\/blog\/"},{"@type":"ListItem","position":2,"name":"PowerShell: E\u015fle\u015fmelerin Sat\u0131r Numaralar\u0131n\u0131 Alma"}]},{"@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\/27406","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=27406"}],"version-history":[{"count":0,"href":"https:\/\/fatihsoysal.com\/blog\/wp-json\/wp\/v2\/posts\/27406\/revisions"}],"wp:attachment":[{"href":"https:\/\/fatihsoysal.com\/blog\/wp-json\/wp\/v2\/media?parent=27406"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/fatihsoysal.com\/blog\/wp-json\/wp\/v2\/categories?post=27406"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/fatihsoysal.com\/blog\/wp-json\/wp\/v2\/tags?post=27406"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}