{"id":29166,"date":"2025-09-08T18:15:27","date_gmt":"2025-09-08T15:15:27","guid":{"rendered":"https:\/\/fatihsoysal.com\/blog\/powershell-a-simple-formula-for-if-like-ceviri\/"},"modified":"2025-09-08T18:15:27","modified_gmt":"2025-09-08T15:15:27","slug":"powershell-a-simple-formula-for-if-like-ceviri","status":"publish","type":"post","link":"https:\/\/fatihsoysal.com\/blog\/powershell-a-simple-formula-for-if-like-ceviri\/","title":{"rendered":"PowerShell: A Simple Formula for &#8220;If Like&#8221; (\u00c7eviri)"},"content":{"rendered":"<p># PowerShell: &#8220;If Like&#8221; Operat\u00f6r\u00fcn\u00fcn S\u0131rr\u0131 \u00c7\u00f6z\u00fcl\u00fcyor<\/p>\n<p>PowerShell&#8217;de dosya isimlerini, dizinleri veya metinleri filtrelemek, belirli kal\u0131plarla e\u015fle\u015fen \u00f6\u011feleri se\u00e7mek i\u00e7in s\u0131kl\u0131kla &#8220;If Like&#8221; mant\u0131\u011f\u0131na ihtiya\u00e7 duyar\u0131z.  Bu makale, PowerShell&#8217;de &#8220;If Like&#8221; kullan\u0131m\u0131n\u0131 ad\u0131m ad\u0131m a\u00e7\u0131klayarak, yeni ba\u015flayanlardan uzman seviyesine kadar her seviyeden kullan\u0131c\u0131n\u0131n bu g\u00fc\u00e7l\u00fc arac\u0131 kullanmas\u0131n\u0131 sa\u011flayacak.  Basit \u00f6rneklerden karma\u015f\u0131k senaryolara, performans optimizasyonundan ileri d\u00fczey tekniklere kadar her \u015feyi kapsayan kapsaml\u0131 bir rehber sunaca\u011f\u0131z.  PowerShell&#8217;de veri i\u015fleme yeteneklerinizi bir \u00fcst seviyeye ta\u015f\u0131maya haz\u0131r olun!<\/p>\n<p><strong>\u00d6\u011frenme Yol Haritas\u0131<\/strong><\/p>\n<p>Bu makale, PowerShell&#8217;deki &#8220;If Like&#8221; kullan\u0131m\u0131n\u0131 \u00fc\u00e7 farkl\u0131 seviyeye ay\u0131rarak ele al\u0131yor: Yeni Ba\u015flayan, Orta ve \u0130leri D\u00fczey.  Her seviye i\u00e7in ad\u0131m ad\u0131m a\u00e7\u0131klamalar, kod \u00f6rnekleri ve ger\u00e7ek d\u00fcnya senaryolar\u0131 sunulacakt\u0131r.<\/p>\n<p><strong># Yeni Ba\u015flayan: &#8220;If Like&#8221; ile \u0130lk Tan\u0131\u015fma<\/strong><\/p>\n<p>&#8220;If Like&#8221; operat\u00f6r\u00fc, bir dizenin belirli bir kal\u0131pla e\u015fle\u015fip e\u015fle\u015fmedi\u011fini kontrol etmek i\u00e7in kullan\u0131l\u0131r.  Wildcard karakterleri (<code class=\"language-\">*<\/code> ve <code class=\"language-\">?<\/code>) kullan\u0131larak esnek e\u015fle\u015fmeler yap\u0131labilir. <code class=\"language-\">*<\/code>, s\u0131f\u0131r veya daha fazla karakteri, <code class=\"language-\">?<\/code>, tek bir karakteri temsil eder.<\/p>\n<p><strong>Ad\u0131m 1: Temel Senaryo<\/strong><\/p>\n<p>A\u015fa\u011f\u0131daki \u00f6rnekte, <code class=\"language-\">$dosyaAdi<\/code> de\u011fi\u015fkeninin &#8220;belge*.txt&#8221; kal\u0131b\u0131yla e\u015fle\u015fip e\u015fle\u015fmedi\u011fini kontrol ediyoruz:<\/p>\n<pre class=\"language-powershell\"><code>$dosyaAdi = &quot;belge1.txt&quot;\nif ($dosyaAdi -like &quot;belge*.txt&quot;) {\n  Write-Host &quot;Dosya ad\u0131 e\u015fle\u015fiyor!&quot;\n} else {\n  Write-Host &quot;Dosya ad\u0131 e\u015fle\u015fmiyor!&quot;\n}<\/code><\/pre>\n<p>Bu kod, &#8220;belge&#8221; ile ba\u015flayan ve &#8220;.txt&#8221; ile biten herhangi bir dosya ad\u0131yla e\u015fle\u015fir.  &#8220;belge1.txt&#8221;, &#8220;belge2023.txt&#8221; gibi dosya adlar\u0131 bu ko\u015fulu sa\u011flar.<\/p>\n<p><strong>Ad\u0131m 2:  Wildcard Karakterleri ile Daha Esnek E\u015fle\u015fmeler<\/strong><\/p>\n<p><code class=\"language-\">?<\/code> karakteri ile tek bir karakteri temsil edebiliriz:<\/p>\n<pre class=\"language-powershell\"><code>$dosyaAdi = &quot;belge1.txt&quot;\nif ($dosyaAdi -like &quot;belge?.txt&quot;) {\n  Write-Host &quot;Dosya ad\u0131 e\u015fle\u015fiyor!&quot;\n} else {\n  Write-Host &quot;Dosya ad\u0131 e\u015fle\u015fmiyor!&quot;\n}<\/code><\/pre>\n<p>Bu kod, &#8220;belge&#8221; ile ba\u015flayan, ard\u0131ndan tek bir karakter bulunan ve &#8220;.txt&#8221; ile biten dosya adlar\u0131yla e\u015fle\u015fir. &#8220;belge1.txt&#8221; e\u015fle\u015firken, &#8220;belge12.txt&#8221; e\u015fle\u015fmez.<\/p>\n<p><strong># Orta Seviye: Ger\u00e7ek D\u00fcnya \u00d6rnekleri ve Optimizasyon \u0130pu\u00e7lar\u0131<\/strong><\/p>\n<p>\u015eimdi, ger\u00e7ek d\u00fcnya senaryolar\u0131na bakal\u0131m ve performans optimizasyonunu ele alal\u0131m.<\/p>\n<p><strong>Vaka Analizi 1:  Belirli Bir Uzant\u0131l\u0131 Dosyalar\u0131 Bulma<\/strong><\/p>\n<p>Bir dizindeki t\u00fcm &#8220;.log&#8221; uzant\u0131l\u0131 dosyalar\u0131 listelemek istedi\u011fimizi varsayal\u0131m:<\/p>\n<pre class=\"language-powershell\"><code>Get-ChildItem -Path &quot;C:\\Logs&quot; -Filter &quot;*.log&quot; | ForEach-Object {\n  if ($_.Name -like &quot;*.log&quot;) {\n    Write-Host &quot;Bulunan dosya: $($_.FullName)&quot;\n  }\n}<\/code><\/pre>\n<p>Bu kod, <code class=\"language-\">Get-ChildItem<\/code> cmdlet&#8217;i ile daha etkili bir \u015fekilde filtreleme yapar. <code class=\"language-\">-Filter<\/code> parametresi, PowerShell&#8217;in dosya sisteminde do\u011frudan filtreleme yapmas\u0131n\u0131 sa\u011flar, bu da performans\u0131 art\u0131r\u0131r.<\/p>\n<p><strong>Vaka Analizi 2:  Metin \u0130\u00e7inde Kal\u0131p Arama<\/strong><\/p>\n<p>Bir metin dosyas\u0131nda belirli bir kelime veya ifadeyi aramak i\u00e7in &#8220;If Like&#8221; operat\u00f6r\u00fcn\u00fc kullanabiliriz:<\/p>\n<pre class=\"language-powershell\"><code>$metin = Get-Content &quot;C:\\metin.txt&quot;\nforeach ($satir in $metin) {\n    if ($satir -like &quot;*hata*&quot;) {\n        Write-Host &quot;Hata i\u00e7eren sat\u0131r: $satir&quot;\n    }\n}<\/code><\/pre>\n<p>Bu \u00f6rnekte, her sat\u0131r\u0131 kontrol edip &#8220;hata&#8221; kelimesini i\u00e7eren sat\u0131rlar\u0131 ekrana yazd\u0131r\u0131yoruz.  B\u00fcy\u00fck\/k\u00fc\u00e7\u00fck harf duyarl\u0131l\u0131\u011f\u0131 i\u00e7in <code class=\"language-\">-clike<\/code> operat\u00f6r\u00fcn\u00fc kullanabilirsiniz.<\/p>\n<p><strong>Optimizasyon \u0130pu\u00e7lar\u0131:<\/strong><\/p>\n<p>* <strong><code class=\"language-\">-Filter<\/code> parametresini kullan\u0131n:<\/strong> <code class=\"language-\">Get-ChildItem<\/code> cmdlet&#8217;i ile birlikte <code class=\"language-\">-Filter<\/code> parametresi, filtrelemeyi PowerShell&#8217;in kendisi yapmas\u0131n\u0131 sa\u011flar ve performans\u0131 art\u0131r\u0131r.<br \/>\n* <strong>Gereksiz d\u00f6ng\u00fclerden ka\u00e7\u0131n\u0131n:<\/strong>  E\u011fer m\u00fcmk\u00fcnse, <code class=\"language-\">Where-Object<\/code> gibi daha etkili y\u00f6ntemler kullan\u0131n.<br \/>\n* <strong>Regex kullan\u0131n:<\/strong> Karma\u015f\u0131k kal\u0131plar i\u00e7in d\u00fczenli ifadeler (Regex) daha g\u00fc\u00e7l\u00fc ve esnektir.<\/p>\n<p><strong># \u0130leri D\u00fczey: Performans Analizi ve Edge Case&#8217;ler<\/strong><\/p>\n<p>Performans analizi ve edge case&#8217;leri ele alarak konuyu daha derinlemesine inceleyelim.<\/p>\n<p><strong>Performans Analizi:<\/strong><\/p>\n<p>B\u00fcy\u00fck veri k\u00fcmeleri \u00fczerinde \u00e7al\u0131\u015f\u0131rken, &#8220;If Like&#8221; operat\u00f6r\u00fcn\u00fcn performans\u0131 \u00f6nemli hale gelir.  Y\u00fcksek performans i\u00e7in, <code class=\"language-\">-Filter<\/code> parametresini kullanmak, gereksiz d\u00f6ng\u00fclerden ka\u00e7\u0131nmak ve m\u00fcmk\u00fcnse <code class=\"language-\">Where-Object<\/code> kullanmak \u00f6nemlidir.  A\u015f\u0131r\u0131 karma\u015f\u0131k kal\u0131plar i\u00e7in Regex kullan\u0131m\u0131 performans\u0131 olumsuz etkileyebilir, bu nedenle dengeli bir yakla\u015f\u0131m gereklidir.<\/p>\n<p><strong>Edge Case&#8217;ler:<\/strong><\/p>\n<p>Wildcard karakterlerinin beklenmedik davran\u0131\u015flara yol a\u00e7abilece\u011fi durumlar vard\u0131r.  \u00d6rne\u011fin, <code class=\"language-\">*<\/code> karakteri, bir dizenin ba\u015f\u0131nda veya sonunda bo\u015fluk karakterlerini de e\u015fle\u015ftirir.  Bu durumlar\u0131 \u00f6nlemek i\u00e7in, kal\u0131plar\u0131 dikkatlice olu\u015fturmak ve gerekirse <code class=\"language-\">-clike<\/code> operat\u00f6r\u00fcn\u00fc kullanarak b\u00fcy\u00fck\/k\u00fc\u00e7\u00fck harf duyarl\u0131l\u0131\u011f\u0131n\u0131 kontrol etmek \u00f6nemlidir.<\/p>\n<p><strong>\u00d6rnek:  Regex ile Daha G\u00fc\u00e7l\u00fc E\u015fle\u015fmeler<\/strong><\/p>\n<p>Karma\u015f\u0131k kal\u0131plar i\u00e7in Regex kullanmak daha esnek ve g\u00fc\u00e7l\u00fc bir \u00e7\u00f6z\u00fcm sunar:<\/p>\n<pre class=\"language-powershell\"><code>$dosyaAdi = &quot;belge_v1.2.txt&quot;\nif ($dosyaAdi -match &quot;belge_v\\d+\\.\\d+\\.txt&quot;) {\n  Write-Host &quot;Dosya ad\u0131 e\u015fle\u015fiyor!&quot;\n} else {\n  Write-Host &quot;Dosya ad\u0131 e\u015fle\u015fmiyor!&quot;\n}<\/code><\/pre>\n<p>Bu \u00f6rnekte, Regex kullanarak &#8220;belge_v&#8221; ile ba\u015flayan, ard\u0131ndan bir veya daha fazla rakam, nokta, bir veya daha fazla rakam ve &#8220;.txt&#8221; uzant\u0131s\u0131 olan dosya adlar\u0131n\u0131 e\u015fle\u015ftiriyoruz.<\/p>\n<p><strong>PowerShell&#8217;de &#8220;If Like&#8221; Operat\u00f6r\u00fcn\u00fc Etkili Kullanmak \u0130\u00e7in \u0130pu\u00e7lar\u0131<\/strong><\/p>\n<p>* <strong>Wildcard karakterlerini do\u011fru kullan\u0131n:<\/strong> <code class=\"language-\">*<\/code> ve <code class=\"language-\">?<\/code> karakterlerinin kullan\u0131m\u0131n\u0131 iyi anlay\u0131n.<br \/>\n* <strong>B\u00fcy\u00fck\/k\u00fc\u00e7\u00fck harf duyarl\u0131l\u0131\u011f\u0131n\u0131 kontrol edin:<\/strong>  <code class=\"language-\">-like<\/code>, <code class=\"language-\">-ilike<\/code>, <code class=\"language-\">-clike<\/code> operat\u00f6rleri aras\u0131ndaki farklar\u0131 bilin.<br \/>\n* <strong>Performans optimizasyonuna dikkat edin:<\/strong>  B\u00fcy\u00fck veri k\u00fcmeleri i\u00e7in uygun teknikleri kullan\u0131n.<br \/>\n* <strong>Regex kullanmay\u0131 \u00f6\u011frenin:<\/strong>  Karma\u015f\u0131k kal\u0131plar i\u00e7in Regex kullan\u0131m\u0131 daha g\u00fc\u00e7l\u00fc ve esnektir.<br \/>\n* <strong>Hatalar\u0131 dikkatlice inceleyin:<\/strong>  Wildcard karakterleri beklenmedik sonu\u00e7lara yol a\u00e7abilir.<\/p>\n<p><strong>Sonu\u00e7<\/strong><\/p>\n<p>PowerShell&#8217;deki &#8220;If Like&#8221; operat\u00f6r\u00fc, dosya ve dizin i\u015flemlerinde, metin i\u015flemede ve daha bir\u00e7ok alanda g\u00fc\u00e7l\u00fc bir ara\u00e7t\u0131r.  Bu makalede, temel kullan\u0131mdan ileri d\u00fczey tekniklere kadar geni\u015f bir yelpazede bilgi verdik.  Ancak, en etkili kullan\u0131m i\u00e7in s\u00fcrekli \u00f6\u011frenme ve pratik yapman\u0131z \u00f6nemlidir.  Daha fazla bilgi i\u00e7in [Fatih Soysal&#8217;\u0131n bloguna](https:\/\/fatihsoysal.com) g\u00f6z atabilirsiniz.<\/p>\n<p><strong>S\u0131k\u00e7a Sorulan Sorular:<\/strong><\/p>\n<p>1. <strong><code class=\"language-\">-like<\/code>, <code class=\"language-\">-ilike<\/code> ve <code class=\"language-\">-clike<\/code> aras\u0131ndaki fark nedir?<\/strong>  <code class=\"language-\">-like<\/code> b\u00fcy\u00fck\/k\u00fc\u00e7\u00fck harfe duyarl\u0131d\u0131r, <code class=\"language-\">-ilike<\/code> b\u00fcy\u00fck\/k\u00fc\u00e7\u00fck harfe duyars\u0131zd\u0131r, <code class=\"language-\">-clike<\/code> ise tam e\u015fle\u015fme yapar.<\/p>\n<p>2. <strong>Regex kullanman\u0131n avantajlar\u0131 nelerdir?<\/strong>  Regex, daha karma\u015f\u0131k ve esnek kal\u0131p e\u015fle\u015ftirmeleri sa\u011flar.<\/p>\n<p>3. <strong>B\u00fcy\u00fck veri k\u00fcmeleri i\u00e7in hangi teknikleri kullanmal\u0131y\u0131m?<\/strong>  <code class=\"language-\">-Filter<\/code> parametresini, <code class=\"language-\">Where-Object<\/code> cmdlet&#8217;ini ve m\u00fcmk\u00fcnse paralel i\u015fleme tekniklerini kullan\u0131n.<\/p>\n<p>4. <strong>&#8220;If Like&#8221; operat\u00f6r\u00fcn\u00fcn performans\u0131n\u0131 nas\u0131l \u00f6l\u00e7ebilirim?<\/strong>  <code class=\"language-\">Measure-Command<\/code> cmdlet&#8217;ini kullanarak kod bloklar\u0131n\u0131n \u00e7al\u0131\u015fma s\u00fcresini \u00f6l\u00e7ebilirsiniz.<\/p>\n<p>5. <strong>Wildcard karakterleri d\u0131\u015f\u0131nda ba\u015fka e\u015fle\u015ftirme y\u00f6ntemleri var m\u0131?<\/strong>  Evet, Regex ve di\u011fer e\u015fle\u015ftirme algoritmalar\u0131 mevcuttur.<\/p>\n<p>Yazar: Fatih Soysal<\/p>\n","protected":false},"excerpt":{"rendered":"# PowerShell: &#8220;If Like&#8221; Operat\u00f6r\u00fcn\u00fcn S\u0131rr\u0131 \u00c7\u00f6z\u00fcl\u00fcyor PowerShell&#8217;de dosya isimlerini, dizinleri veya metinleri filtrelemek, belirli kal\u0131plarla e\u015fle\u015fen \u00f6\u011feleri&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-29166","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: A Simple Formula for &#8220;If Like&#8221; (\u00c7eviri)<\/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-a-simple-formula-for-if-like-ceviri\/\" \/>\n<meta property=\"og:locale\" content=\"tr_TR\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"PowerShell: A Simple Formula for &#8220;If Like&#8221; (\u00c7eviri)\" \/>\n<meta property=\"og:description\" content=\"Hi\u00e7bir etiketi bulunamad\u0131.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/fatihsoysal.com\/blog\/powershell-a-simple-formula-for-if-like-ceviri\/\" \/>\n<meta property=\"og:site_name\" content=\"Kodlar\u0131n Gizemli D\u00fcnyas\u0131\" \/>\n<meta property=\"article:published_time\" content=\"2025-09-08T15:15:27+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=\"6 dakika\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/fatihsoysal.com\/blog\/powershell-a-simple-formula-for-if-like-ceviri\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/fatihsoysal.com\/blog\/powershell-a-simple-formula-for-if-like-ceviri\/\"},\"author\":{\"name\":\"Fatih Soysal\",\"@id\":\"https:\/\/fatihsoysal.com\/blog\/#\/schema\/person\/002a254750921dcfd568a99e48240dd1\"},\"headline\":\"PowerShell: A Simple Formula for &#8220;If Like&#8221; (\u00c7eviri)\",\"datePublished\":\"2025-09-08T15:15:27+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/fatihsoysal.com\/blog\/powershell-a-simple-formula-for-if-like-ceviri\/\"},\"wordCount\":1005,\"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-a-simple-formula-for-if-like-ceviri\/#respond\"]}],\"copyrightYear\":\"2025\",\"copyrightHolder\":{\"@id\":\"https:\/\/fatihsoysal.com\/blog\/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/fatihsoysal.com\/blog\/powershell-a-simple-formula-for-if-like-ceviri\/\",\"url\":\"https:\/\/fatihsoysal.com\/blog\/powershell-a-simple-formula-for-if-like-ceviri\/\",\"name\":\"PowerShell: A Simple Formula for &#8220;If Like&#8221; (\u00c7eviri)\",\"isPartOf\":{\"@id\":\"https:\/\/fatihsoysal.com\/blog\/#website\"},\"datePublished\":\"2025-09-08T15:15:27+00:00\",\"description\":\"Hi\u00e7bir etiketi bulunamad\u0131.\",\"breadcrumb\":{\"@id\":\"https:\/\/fatihsoysal.com\/blog\/powershell-a-simple-formula-for-if-like-ceviri\/#breadcrumb\"},\"inLanguage\":\"tr\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/fatihsoysal.com\/blog\/powershell-a-simple-formula-for-if-like-ceviri\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/fatihsoysal.com\/blog\/powershell-a-simple-formula-for-if-like-ceviri\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Anasayfa\",\"item\":\"https:\/\/fatihsoysal.com\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"PowerShell: A Simple Formula for &#8220;If Like&#8221; (\u00c7eviri)\"}]},{\"@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: A Simple Formula for &#8220;If Like&#8221; (\u00c7eviri)","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-a-simple-formula-for-if-like-ceviri\/","og_locale":"tr_TR","og_type":"article","og_title":"PowerShell: A Simple Formula for &#8220;If Like&#8221; (\u00c7eviri)","og_description":"Hi\u00e7bir etiketi bulunamad\u0131.","og_url":"https:\/\/fatihsoysal.com\/blog\/powershell-a-simple-formula-for-if-like-ceviri\/","og_site_name":"Kodlar\u0131n Gizemli D\u00fcnyas\u0131","article_published_time":"2025-09-08T15:15:27+00:00","author":"Fatih Soysal","twitter_card":"summary_large_image","twitter_misc":{"Yazan:":"Fatih Soysal","Tahmini okuma s\u00fcresi":"6 dakika"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/fatihsoysal.com\/blog\/powershell-a-simple-formula-for-if-like-ceviri\/#article","isPartOf":{"@id":"https:\/\/fatihsoysal.com\/blog\/powershell-a-simple-formula-for-if-like-ceviri\/"},"author":{"name":"Fatih Soysal","@id":"https:\/\/fatihsoysal.com\/blog\/#\/schema\/person\/002a254750921dcfd568a99e48240dd1"},"headline":"PowerShell: A Simple Formula for &#8220;If Like&#8221; (\u00c7eviri)","datePublished":"2025-09-08T15:15:27+00:00","mainEntityOfPage":{"@id":"https:\/\/fatihsoysal.com\/blog\/powershell-a-simple-formula-for-if-like-ceviri\/"},"wordCount":1005,"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-a-simple-formula-for-if-like-ceviri\/#respond"]}],"copyrightYear":"2025","copyrightHolder":{"@id":"https:\/\/fatihsoysal.com\/blog\/#organization"}},{"@type":"WebPage","@id":"https:\/\/fatihsoysal.com\/blog\/powershell-a-simple-formula-for-if-like-ceviri\/","url":"https:\/\/fatihsoysal.com\/blog\/powershell-a-simple-formula-for-if-like-ceviri\/","name":"PowerShell: A Simple Formula for &#8220;If Like&#8221; (\u00c7eviri)","isPartOf":{"@id":"https:\/\/fatihsoysal.com\/blog\/#website"},"datePublished":"2025-09-08T15:15:27+00:00","description":"Hi\u00e7bir etiketi bulunamad\u0131.","breadcrumb":{"@id":"https:\/\/fatihsoysal.com\/blog\/powershell-a-simple-formula-for-if-like-ceviri\/#breadcrumb"},"inLanguage":"tr","potentialAction":[{"@type":"ReadAction","target":["https:\/\/fatihsoysal.com\/blog\/powershell-a-simple-formula-for-if-like-ceviri\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/fatihsoysal.com\/blog\/powershell-a-simple-formula-for-if-like-ceviri\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Anasayfa","item":"https:\/\/fatihsoysal.com\/blog\/"},{"@type":"ListItem","position":2,"name":"PowerShell: A Simple Formula for &#8220;If Like&#8221; (\u00c7eviri)"}]},{"@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\/29166","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=29166"}],"version-history":[{"count":0,"href":"https:\/\/fatihsoysal.com\/blog\/wp-json\/wp\/v2\/posts\/29166\/revisions"}],"wp:attachment":[{"href":"https:\/\/fatihsoysal.com\/blog\/wp-json\/wp\/v2\/media?parent=29166"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/fatihsoysal.com\/blog\/wp-json\/wp\/v2\/categories?post=29166"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/fatihsoysal.com\/blog\/wp-json\/wp\/v2\/tags?post=29166"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}