{"id":25402,"date":"2025-07-05T21:45:19","date_gmt":"2025-07-05T18:45:19","guid":{"rendered":"https:\/\/fatihsoysal.com\/blog\/powershell-dosyanin-bos-olup-olmadigini-kontrol-etme\/"},"modified":"2025-07-05T21:45:19","modified_gmt":"2025-07-05T18:45:19","slug":"powershell-dosyanin-bos-olup-olmadigini-kontrol-etme","status":"publish","type":"post","link":"https:\/\/fatihsoysal.com\/blog\/powershell-dosyanin-bos-olup-olmadigini-kontrol-etme\/","title":{"rendered":"PowerShell: Dosyan\u0131n Bo\u015f Olup Olmad\u0131\u011f\u0131n\u0131 Kontrol Etme"},"content":{"rendered":"<p># PowerShell: Bo\u015f Dosya Kontrol\u00fc Nas\u0131l Yap\u0131l\u0131r?<\/p>\n<p>Dosya i\u015fleme, bir\u00e7ok PowerShell beti\u011finde kritik bir rol oynar.  Bir dosyan\u0131n bo\u015f olup olmad\u0131\u011f\u0131n\u0131 do\u011fru bir \u015fekilde tespit etmek, beti\u011finizin g\u00fcvenilirli\u011fini ve verimlili\u011fini do\u011frudan etkiler.  Bu makalede, PowerShell kullanarak bir dosyan\u0131n bo\u015f olup olmad\u0131\u011f\u0131n\u0131 kontrol etmenin \u00e7e\u015fitli y\u00f6ntemlerini, performans optimizasyonlar\u0131n\u0131 ve olas\u0131 sorunlar\u0131 ad\u0131m ad\u0131m ele alaca\u011f\u0131z.  Yeni ba\u015flayanlardan ileri d\u00fczey kullan\u0131c\u0131lara kadar herkesin faydalanabilece\u011fi kapsaml\u0131 bir rehber sunmay\u0131 hedefliyoruz.<\/p>\n<p><strong>Temel Kavramlar: Dosya Boyutu ve PowerShell Komutlar\u0131<\/strong><\/p>\n<p>PowerShell&#8217;de dosya i\u015flemleri i\u00e7in temel komutlar <code class=\"language-\">Get-Item<\/code>, <code class=\"language-\">Test-Path<\/code> ve <code class=\"language-\">Measure-Object<\/code>&#8216;tir.  Bir dosyan\u0131n bo\u015f olup olmad\u0131\u011f\u0131n\u0131 anlamak i\u00e7in temelde dosyan\u0131n boyutunu kontrol etmemiz gerekir. Bo\u015f bir dosyan\u0131n boyutu 0 baytt\u0131r.  <code class=\"language-\">Get-Item<\/code> komutu dosya hakk\u0131nda detayl\u0131 bilgi verirken, <code class=\"language-\">Measure-Object<\/code> komutu dosyan\u0131n boyutunu \u00f6l\u00e7memize olanak tan\u0131r. <code class=\"language-\">Test-Path<\/code> ise dosyan\u0131n varl\u0131\u011f\u0131n\u0131 kontrol eder. Bu komutlar\u0131 farkl\u0131 y\u00f6ntemlerle birle\u015ftirerek bo\u015f dosya kontrol\u00fc ger\u00e7ekle\u015ftirece\u011fiz.<\/p>\n<p><strong>PowerShell ile Bo\u015f Dosya Kontrol\u00fc: Ad\u0131m Ad\u0131m Uygulama<\/strong><\/p>\n<p><strong>\u00d6\u011frenme Yol Haritas\u0131:<\/strong><\/p>\n<p><strong># Yeni Ba\u015flayan: Basit Dosya Boyutu Kontrol\u00fc<\/strong><\/p>\n<p>En basit y\u00f6ntem, dosyan\u0131n boyutunu al\u0131p 0 ile kar\u015f\u0131la\u015ft\u0131rmakt\u0131r.  A\u015fa\u011f\u0131daki kod blo\u011fu, belirtilen dosyan\u0131n bo\u015f olup olmad\u0131\u011f\u0131n\u0131 kontrol eder ve sonucu ekrana yazar:<\/p>\n<pre class=\"language-powershell\"><code>$dosyaYolu = &quot;C:\\\u00d6rnek\\dosyam.txt&quot;\n\nif (Test-Path $dosyaYolu) {\n  $boyut = (Get-Item $dosyaYolu).Length\n  if ($boyut -eq 0) {\n    Write-Host &quot;Dosya bo\u015f.&quot;\n  } else {\n    Write-Host &quot;Dosya dolu.&quot;\n  }\n} else {\n  Write-Host &quot;Dosya bulunamad\u0131.&quot;\n}<\/code><\/pre>\n<p>Bu kod \u00f6ncelikle <code class=\"language-\">Test-Path<\/code> ile dosyan\u0131n varl\u0131\u011f\u0131n\u0131 kontrol eder.  E\u011fer dosya varsa, <code class=\"language-\">Get-Item<\/code> ile dosyan\u0131n uzunlu\u011funu (<code class=\"language-\">Length<\/code> \u00f6zelli\u011fi) al\u0131r ve 0 ile kar\u015f\u0131la\u015ft\u0131r\u0131r.  Sonucu ekrana yazd\u0131r\u0131r.  Bu y\u00f6ntem basit ve anla\u015f\u0131l\u0131r olsa da, b\u00fcy\u00fck dosyalar i\u00e7in performans a\u00e7\u0131s\u0131ndan ideal olmayabilir.<\/p>\n<p><strong># Orta Seviye: Ger\u00e7ek Hayatta Bo\u015f Dosya Kontrol\u00fc ve Optimizasyon \u0130pu\u00e7lar\u0131<\/strong><\/p>\n<p>\u015eimdi, ger\u00e7ek bir senaryo ele alal\u0131m.  Bir log dosyas\u0131n\u0131n bo\u015f olup olmad\u0131\u011f\u0131n\u0131 kontrol edip, bo\u015fsa bir uyar\u0131 mesaj\u0131 g\u00f6stermek istiyoruz:<\/p>\n<pre class=\"language-powershell\"><code>$logDosyasi = &quot;C:\\Logs\\uygulama.log&quot;\n\nif (Test-Path $logDosyasi) {\n  $boyut = (Get-Item $logDosyasi).Length\n  if ($boyut -eq 0) {\n    Write-Warning &quot;Uyar\u0131: $logDosyasi dosyas\u0131 bo\u015f!&quot;\n    # Bo\u015f log dosyas\u0131 durumunda yap\u0131lacak i\u015flemler buraya eklenebilir.\n    # \u00d6rne\u011fin, bir hata raporu olu\u015fturulabilir veya bir e-posta g\u00f6nderilebilir.\n  }\n} else {\n  Write-Error &quot;Hata: $logDosyasi dosyas\u0131 bulunamad\u0131!&quot;\n}<\/code><\/pre>\n<p>Bu \u00f6rnekte, hata y\u00f6netimi i\u00e7in <code class=\"language-\">Write-Warning<\/code> ve <code class=\"language-\">Write-Error<\/code> cmdlet&#8217;lerini kulland\u0131k.  Ayr\u0131ca, bo\u015f log dosyas\u0131 durumunda yap\u0131lacak ek i\u015flemler i\u00e7in yorum sat\u0131r\u0131 ekledik.  Optimizasyon olarak, gereksiz i\u015flemlerden ka\u00e7\u0131nmak \u00f6nemlidir.  Dosya boyutu 0 ise, dosyan\u0131n i\u00e7eri\u011fini okumaya gerek yoktur.<\/p>\n<p><strong># \u0130leri D\u00fczey: Performans Analizi ve Edge Case&#8217;ler<\/strong><\/p>\n<p>B\u00fcy\u00fck dosyalar i\u00e7in performans kritik olabilir.  <code class=\"language-\">Get-Item<\/code> kullanmak yerine, <code class=\"language-\">Get-Content<\/code> ile dosyan\u0131n ilk sat\u0131r\u0131n\u0131 okuyarak daha h\u0131zl\u0131 bir kontrol yapabiliriz.  Ancak, bu y\u00f6ntem \u00e7ok b\u00fcy\u00fck dosyalar i\u00e7in bile performans sorunlar\u0131na yol a\u00e7abilir.  Bu y\u00fczden, dosya boyutunu kontrol etmek genellikle daha h\u0131zl\u0131 ve daha g\u00fcvenlidir.<\/p>\n<p>\u00d6zellikle, \u00e7ok b\u00fcy\u00fck dosyalar i\u00e7in performans\u0131 iyile\u015ftirmek i\u00e7in a\u015fa\u011f\u0131daki y\u00f6ntemleri deneyebilirsiniz:<\/p>\n<p>* <strong>Dosya boyutunu do\u011frudan okuma:<\/strong> <code class=\"language-\">Get-Item<\/code> yerine, <code class=\"language-\">[System.IO.FileInfo]::new(\"dosyaYolu\").Length<\/code> kullanarak dosya boyutunu daha h\u0131zl\u0131 bir \u015fekilde alabilirsiniz.<br \/>\n* <strong>Paralel i\u015flem:<\/strong> \u00c7ok say\u0131da dosyay\u0131 kontrol ediyorsan\u0131z, paralel i\u015flem kullanarak performans\u0131 art\u0131rabilirsiniz.  <code class=\"language-\">ForEach-Object -Parallel<\/code> cmdlet&#8217;i bunu sa\u011flar.<\/p>\n<p>Edge case&#8217;ler olarak, dosya eri\u015fim haklar\u0131, dosya kilitlenmeleri ve \u00f6zel karakterler i\u00e7eren dosya yollar\u0131 gibi durumlar\u0131 g\u00f6z \u00f6n\u00fcnde bulundurmal\u0131y\u0131z.  Bu durumlar\u0131 ele almak i\u00e7in hata y\u00f6netimi ve do\u011frulama i\u015flemleri eklemek \u00f6nemlidir.  \u00d6rne\u011fin, dosya eri\u015fim hatas\u0131n\u0131 yakalamak i\u00e7in <code class=\"language-\">try-catch<\/code> blo\u011fu kullanabiliriz.<\/p>\n<p><strong>Ger\u00e7ek D\u00fcnya Senaryolar\u0131: Vaka Analizleri<\/strong><\/p>\n<p><strong>Senaryo 1: G\u00fcnl\u00fck Log Dosyas\u0131 Kontrol\u00fc:<\/strong>  Bir uygulama g\u00fcnl\u00fck log dosyas\u0131 olu\u015fturur.  Her g\u00fcn\u00fcn sonunda, log dosyas\u0131n\u0131n bo\u015f olup olmad\u0131\u011f\u0131 kontrol edilir.  Bo\u015fsa, uygulamada bir sorun oldu\u011fu anlam\u0131na gelir ve bir uyar\u0131 mesaj\u0131 g\u00f6nderilir.<\/p>\n<p><strong>Senaryo 2: Yedekleme \u0130\u015flemi Do\u011frulama:<\/strong>  Bir yedekleme i\u015flemi sonras\u0131nda, yedekleme dosyas\u0131n\u0131n bo\u015f olup olmad\u0131\u011f\u0131 kontrol edilir.  Bo\u015fsa, yedeklemenin ba\u015far\u0131s\u0131z oldu\u011fu anlam\u0131na gelir ve tekrar denemesi gerekir.<\/p>\n<p><strong>Senaryo 3: Dosya \u0130ndirme Do\u011frulama:<\/strong>  Bir dosya internetten indirilir.  \u0130ndirme i\u015flemi tamamland\u0131ktan sonra, dosyan\u0131n bo\u015f olup olmad\u0131\u011f\u0131 kontrol edilir.  Bo\u015fsa, indirme i\u015fleminin ba\u015far\u0131s\u0131z oldu\u011fu anlam\u0131na gelir ve tekrar denemesi gerekir.<\/p>\n<p><strong>Performans Optimizasyonu \u0130\u00e7in \u0130pu\u00e7lar\u0131<\/strong><\/p>\n<p>* <strong><code class=\"language-\">Get-Item<\/code> yerine <code class=\"language-\">[System.IO.FileInfo]::new()<\/code> kullan\u0131n:<\/strong>  Daha h\u0131zl\u0131 dosya boyutu okuma sa\u011flar.<br \/>\n* <strong>Gereksiz i\u015flemlerden ka\u00e7\u0131n\u0131n:<\/strong> Dosya boyutu 0 ise, dosyan\u0131n i\u00e7eri\u011fini okumay\u0131n.<br \/>\n* <strong>Paralel i\u015flem:<\/strong> Birden fazla dosya kontrol ediyorsan\u0131z, <code class=\"language-\">ForEach-Object -Parallel<\/code> kullan\u0131n.<br \/>\n* <strong>Hata y\u00f6netimi:<\/strong> <code class=\"language-\">try-catch<\/code> blo\u011fu kullanarak olas\u0131 hatalar\u0131 yakalay\u0131n.<\/p>\n<p><strong>Sonu\u00e7<\/strong><\/p>\n<p>PowerShell&#8217;de bir dosyan\u0131n bo\u015f olup olmad\u0131\u011f\u0131n\u0131 kontrol etmek i\u00e7in bir\u00e7ok y\u00f6ntem vard\u0131r.  Se\u00e7ti\u011finiz y\u00f6ntem, dosya boyutu, performans gereksinimleri ve hata y\u00f6netimi ihtiya\u00e7lar\u0131n\u0131za ba\u011fl\u0131d\u0131r.  Bu makalede ele ald\u0131\u011f\u0131m\u0131z y\u00f6ntemler ve ipu\u00e7lar\u0131, \u00e7e\u015fitli senaryolarda bo\u015f dosya kontrol\u00fc yapman\u0131z\u0131 sa\u011flayacakt\u0131r.  Daha detayl\u0131 bilgi ve PowerShell ile ilgili di\u011fer konular 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>Bo\u015f bir dosyay\u0131 nas\u0131l olu\u015ftururum?<\/strong> <code class=\"language-\">New-Item -ItemType file -Path \"C:\\\u00d6rnek\\bosDosya.txt\"<\/code> komutu ile bo\u015f bir dosya olu\u015fturabilirsiniz.<br \/>\n2. <strong>\u00c7ok b\u00fcy\u00fck dosyalar i\u00e7in hangi y\u00f6ntem daha verimlidir?<\/strong> \u00c7ok b\u00fcy\u00fck dosyalar i\u00e7in <code class=\"language-\">[System.IO.FileInfo]::new(\"dosyaYolu\").Length<\/code> kullanmak daha verimlidir.<br \/>\n3. <strong>Dosya eri\u015fim hatas\u0131 nas\u0131l ele al\u0131n\u0131r?<\/strong> <code class=\"language-\">try-catch<\/code> blo\u011fu kullanarak dosya eri\u015fim hatalar\u0131n\u0131 yakalayabilirsiniz.<br \/>\n4. <strong>Paralel i\u015flem nas\u0131l kullan\u0131l\u0131r?<\/strong> <code class=\"language-\">ForEach-Object -Parallel<\/code> cmdlet&#8217;i ile paralel i\u015flem yapabilirsiniz.<br \/>\n5. <strong>Bo\u015f dosya kontrol\u00fc d\u0131\u015f\u0131nda, dosya i\u00e7eri\u011fi ile ilgili ba\u015fka ne yapabilirim?<\/strong>  PowerShell, dosya i\u00e7eri\u011fini okuma, yazma, d\u00fczenleme ve analiz etme gibi bir\u00e7ok i\u015flemi ger\u00e7ekle\u015ftirmenizi sa\u011flar.  [fatihsoysal.com](https:\/\/fatihsoysal.com) adresinden daha fazla bilgi edinebilirsiniz.<\/p>\n<p>Yazar: Fatih Soysal<\/p>\n","protected":false},"excerpt":{"rendered":"# PowerShell: Bo\u015f Dosya Kontrol\u00fc Nas\u0131l Yap\u0131l\u0131r? Dosya i\u015fleme, bir\u00e7ok PowerShell beti\u011finde kritik bir rol oynar. Bir dosyan\u0131n&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-25402","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: Dosyan\u0131n Bo\u015f Olup Olmad\u0131\u011f\u0131n\u0131 Kontrol Etme<\/title>\n<meta name=\"description\" content=\"Hi\u00e7bir etiketi bulunamad\u0131.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/fatihsoysal.com\/blog\/powershell-dosyanin-bos-olup-olmadigini-kontrol-etme\/\" \/>\n<meta property=\"og:locale\" content=\"tr_TR\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"PowerShell: Dosyan\u0131n Bo\u015f Olup Olmad\u0131\u011f\u0131n\u0131 Kontrol Etme\" \/>\n<meta property=\"og:description\" content=\"Hi\u00e7bir etiketi bulunamad\u0131.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/fatihsoysal.com\/blog\/powershell-dosyanin-bos-olup-olmadigini-kontrol-etme\/\" \/>\n<meta property=\"og:site_name\" content=\"Kodlar\u0131n Gizemli D\u00fcnyas\u0131\" \/>\n<meta property=\"article:published_time\" content=\"2025-07-05T18:45:19+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-dosyanin-bos-olup-olmadigini-kontrol-etme\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/fatihsoysal.com\/blog\/powershell-dosyanin-bos-olup-olmadigini-kontrol-etme\/\"},\"author\":{\"name\":\"Fatih Soysal\",\"@id\":\"https:\/\/fatihsoysal.com\/blog\/#\/schema\/person\/002a254750921dcfd568a99e48240dd1\"},\"headline\":\"PowerShell: Dosyan\u0131n Bo\u015f Olup Olmad\u0131\u011f\u0131n\u0131 Kontrol Etme\",\"datePublished\":\"2025-07-05T18:45:19+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/fatihsoysal.com\/blog\/powershell-dosyanin-bos-olup-olmadigini-kontrol-etme\/\"},\"wordCount\":940,\"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-dosyanin-bos-olup-olmadigini-kontrol-etme\/#respond\"]}],\"copyrightYear\":\"2025\",\"copyrightHolder\":{\"@id\":\"https:\/\/fatihsoysal.com\/blog\/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/fatihsoysal.com\/blog\/powershell-dosyanin-bos-olup-olmadigini-kontrol-etme\/\",\"url\":\"https:\/\/fatihsoysal.com\/blog\/powershell-dosyanin-bos-olup-olmadigini-kontrol-etme\/\",\"name\":\"PowerShell: Dosyan\u0131n Bo\u015f Olup Olmad\u0131\u011f\u0131n\u0131 Kontrol Etme\",\"isPartOf\":{\"@id\":\"https:\/\/fatihsoysal.com\/blog\/#website\"},\"datePublished\":\"2025-07-05T18:45:19+00:00\",\"description\":\"Hi\u00e7bir etiketi bulunamad\u0131.\",\"breadcrumb\":{\"@id\":\"https:\/\/fatihsoysal.com\/blog\/powershell-dosyanin-bos-olup-olmadigini-kontrol-etme\/#breadcrumb\"},\"inLanguage\":\"tr\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/fatihsoysal.com\/blog\/powershell-dosyanin-bos-olup-olmadigini-kontrol-etme\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/fatihsoysal.com\/blog\/powershell-dosyanin-bos-olup-olmadigini-kontrol-etme\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Anasayfa\",\"item\":\"https:\/\/fatihsoysal.com\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"PowerShell: Dosyan\u0131n Bo\u015f Olup Olmad\u0131\u011f\u0131n\u0131 Kontrol Etme\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/fatihsoysal.com\/blog\/#website\",\"url\":\"https:\/\/fatihsoysal.com\/blog\/\",\"name\":\"Fatihsoysal.com\",\"description\":\"Blog - Yaz\u0131l\u0131m D\u00fcnyas\u0131 Tecr\u00fcbelerim\",\"publisher\":{\"@id\":\"https:\/\/fatihsoysal.com\/blog\/#\/schema\/person\/002a254750921dcfd568a99e48240dd1\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/fatihsoysal.com\/blog\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"tr\"},{\"@type\":[\"Person\",\"Organization\"],\"@id\":\"https:\/\/fatihsoysal.com\/blog\/#\/schema\/person\/002a254750921dcfd568a99e48240dd1\",\"name\":\"Fatih Soysal\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"tr\",\"@id\":\"https:\/\/fatihsoysal.com\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/fatihsoysal.com\/blog\/wp-content\/uploads\/2024\/04\/cropped-replicate-prediction-3kgg1hgjn5rgp0cf0p5tr0jw7w-1.png\",\"contentUrl\":\"https:\/\/fatihsoysal.com\/blog\/wp-content\/uploads\/2024\/04\/cropped-replicate-prediction-3kgg1hgjn5rgp0cf0p5tr0jw7w-1.png\",\"width\":512,\"height\":512,\"caption\":\"Fatih Soysal\"},\"logo\":{\"@id\":\"https:\/\/fatihsoysal.com\/blog\/#\/schema\/person\/image\/\"},\"description\":\"Kullan\u0131m ve kodlama m\u00fckemmeliyetini odak alan uygulamalar olu\u015fturma deneyimine sahip, profesyonel olarak 15+ y\u0131l \u00fczeri deneyime sahip bir yaz\u0131l\u0131m m\u00fchendisi.\",\"url\":\"https:\/\/fatihsoysal.com\/blog\/author\/fatihsoysal\/\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"PowerShell: Dosyan\u0131n Bo\u015f Olup Olmad\u0131\u011f\u0131n\u0131 Kontrol Etme","description":"Hi\u00e7bir etiketi bulunamad\u0131.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/fatihsoysal.com\/blog\/powershell-dosyanin-bos-olup-olmadigini-kontrol-etme\/","og_locale":"tr_TR","og_type":"article","og_title":"PowerShell: Dosyan\u0131n Bo\u015f Olup Olmad\u0131\u011f\u0131n\u0131 Kontrol Etme","og_description":"Hi\u00e7bir etiketi bulunamad\u0131.","og_url":"https:\/\/fatihsoysal.com\/blog\/powershell-dosyanin-bos-olup-olmadigini-kontrol-etme\/","og_site_name":"Kodlar\u0131n Gizemli D\u00fcnyas\u0131","article_published_time":"2025-07-05T18:45:19+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-dosyanin-bos-olup-olmadigini-kontrol-etme\/#article","isPartOf":{"@id":"https:\/\/fatihsoysal.com\/blog\/powershell-dosyanin-bos-olup-olmadigini-kontrol-etme\/"},"author":{"name":"Fatih Soysal","@id":"https:\/\/fatihsoysal.com\/blog\/#\/schema\/person\/002a254750921dcfd568a99e48240dd1"},"headline":"PowerShell: Dosyan\u0131n Bo\u015f Olup Olmad\u0131\u011f\u0131n\u0131 Kontrol Etme","datePublished":"2025-07-05T18:45:19+00:00","mainEntityOfPage":{"@id":"https:\/\/fatihsoysal.com\/blog\/powershell-dosyanin-bos-olup-olmadigini-kontrol-etme\/"},"wordCount":940,"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-dosyanin-bos-olup-olmadigini-kontrol-etme\/#respond"]}],"copyrightYear":"2025","copyrightHolder":{"@id":"https:\/\/fatihsoysal.com\/blog\/#organization"}},{"@type":"WebPage","@id":"https:\/\/fatihsoysal.com\/blog\/powershell-dosyanin-bos-olup-olmadigini-kontrol-etme\/","url":"https:\/\/fatihsoysal.com\/blog\/powershell-dosyanin-bos-olup-olmadigini-kontrol-etme\/","name":"PowerShell: Dosyan\u0131n Bo\u015f Olup Olmad\u0131\u011f\u0131n\u0131 Kontrol Etme","isPartOf":{"@id":"https:\/\/fatihsoysal.com\/blog\/#website"},"datePublished":"2025-07-05T18:45:19+00:00","description":"Hi\u00e7bir etiketi bulunamad\u0131.","breadcrumb":{"@id":"https:\/\/fatihsoysal.com\/blog\/powershell-dosyanin-bos-olup-olmadigini-kontrol-etme\/#breadcrumb"},"inLanguage":"tr","potentialAction":[{"@type":"ReadAction","target":["https:\/\/fatihsoysal.com\/blog\/powershell-dosyanin-bos-olup-olmadigini-kontrol-etme\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/fatihsoysal.com\/blog\/powershell-dosyanin-bos-olup-olmadigini-kontrol-etme\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Anasayfa","item":"https:\/\/fatihsoysal.com\/blog\/"},{"@type":"ListItem","position":2,"name":"PowerShell: Dosyan\u0131n Bo\u015f Olup Olmad\u0131\u011f\u0131n\u0131 Kontrol Etme"}]},{"@type":"WebSite","@id":"https:\/\/fatihsoysal.com\/blog\/#website","url":"https:\/\/fatihsoysal.com\/blog\/","name":"Fatihsoysal.com","description":"Blog - Yaz\u0131l\u0131m D\u00fcnyas\u0131 Tecr\u00fcbelerim","publisher":{"@id":"https:\/\/fatihsoysal.com\/blog\/#\/schema\/person\/002a254750921dcfd568a99e48240dd1"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/fatihsoysal.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"tr"},{"@type":["Person","Organization"],"@id":"https:\/\/fatihsoysal.com\/blog\/#\/schema\/person\/002a254750921dcfd568a99e48240dd1","name":"Fatih Soysal","image":{"@type":"ImageObject","inLanguage":"tr","@id":"https:\/\/fatihsoysal.com\/blog\/#\/schema\/person\/image\/","url":"https:\/\/fatihsoysal.com\/blog\/wp-content\/uploads\/2024\/04\/cropped-replicate-prediction-3kgg1hgjn5rgp0cf0p5tr0jw7w-1.png","contentUrl":"https:\/\/fatihsoysal.com\/blog\/wp-content\/uploads\/2024\/04\/cropped-replicate-prediction-3kgg1hgjn5rgp0cf0p5tr0jw7w-1.png","width":512,"height":512,"caption":"Fatih Soysal"},"logo":{"@id":"https:\/\/fatihsoysal.com\/blog\/#\/schema\/person\/image\/"},"description":"Kullan\u0131m ve kodlama m\u00fckemmeliyetini odak alan uygulamalar olu\u015fturma deneyimine sahip, profesyonel olarak 15+ y\u0131l \u00fczeri deneyime sahip bir yaz\u0131l\u0131m m\u00fchendisi.","url":"https:\/\/fatihsoysal.com\/blog\/author\/fatihsoysal\/"}]}},"yoast_meta":{"yoast_wpseo_title":"","yoast_wpseo_metadesc":"","yoast_wpseo_canonical":""},"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/fatihsoysal.com\/blog\/wp-json\/wp\/v2\/posts\/25402","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=25402"}],"version-history":[{"count":0,"href":"https:\/\/fatihsoysal.com\/blog\/wp-json\/wp\/v2\/posts\/25402\/revisions"}],"wp:attachment":[{"href":"https:\/\/fatihsoysal.com\/blog\/wp-json\/wp\/v2\/media?parent=25402"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/fatihsoysal.com\/blog\/wp-json\/wp\/v2\/categories?post=25402"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/fatihsoysal.com\/blog\/wp-json\/wp\/v2\/tags?post=25402"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}