<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>powershell arşivleri - Zülfü Mehmet</title>
	<atom:link href="https://www.zulfumehmet.com/tag/powershell/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.zulfumehmet.com/tag/powershell/</link>
	<description>Kişisel Bir Olay</description>
	<lastBuildDate>Mon, 16 Oct 2023 11:32:04 +0000</lastBuildDate>
	<language>tr</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=7.1.5</generator>

<image>
	<url>https://www.zulfumehmet.com/wp-content/uploads/2016/10/favicon.ico</url>
	<title>powershell arşivleri - Zülfü Mehmet</title>
	<link>https://www.zulfumehmet.com/tag/powershell/</link>
	<width>32</width>
	<height>32</height>
</image> 
	<item>
		<title>Powershell İle Chrome Kurulumu</title>
		<link>https://www.zulfumehmet.com/powershell-ile-chrome-kurulumu/</link>
					<comments>https://www.zulfumehmet.com/powershell-ile-chrome-kurulumu/#respond</comments>
		
		<dc:creator><![CDATA[Zülfü Mehmet ÖZÇİFÇİ]]></dc:creator>
		<pubDate>Sun, 11 Jun 2023 06:21:01 +0000</pubDate>
				<category><![CDATA[Bilgisayar]]></category>
		<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[chrome]]></category>
		<category><![CDATA[install]]></category>
		<category><![CDATA[kurulum]]></category>
		<category><![CDATA[powershell]]></category>
		<category><![CDATA[windows core]]></category>
		<guid isPermaLink="false">https://www.zulfumehmet.com/?p=5224</guid>

					<description><![CDATA[<p>Merhaba, PowerShell ile Chrome nasıl kurabiliriz. Linux&#8217;dan alışık olduğumuz SSH terminali gibi Windows sunucularda da powershell bu işi devralmış durumdadır. Aynı ssh de tüm işlemleri yapabildiğimiz gibi powershell üzerinden de windows server üzerinde bulunan tüm rolleri (DNS, ISS, DHCP, File Server vb..) yönetebilirsiniz. Windows Server Core yapılarda masaüstü desteği olmadığından sistem tüketimi daha az olmakta &#8230; <a href="https://www.zulfumehmet.com/powershell-ile-chrome-kurulumu/" class="more-link">Continue reading <span class="screen-reader-text">Powershell İle Chrome Kurulumu</span></a></p>
<p>The post <a href="https://www.zulfumehmet.com/powershell-ile-chrome-kurulumu/">Powershell İle Chrome Kurulumu</a> appeared first on <a href="https://www.zulfumehmet.com">Zülfü Mehmet</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>Merhaba, PowerShell ile Chrome nasıl kurabiliriz. Linux&#8217;dan alışık olduğumuz SSH terminali gibi Windows sunucularda da powershell bu işi devralmış durumdadır. Aynı ssh de tüm işlemleri yapabildiğimiz gibi powershell üzerinden de windows server üzerinde bulunan tüm rolleri (<a href="https://www.zulfumehmet.com/powershell-ile-iis-dns-kurulum-ve-yapilanmasi/">DNS, ISS</a>, DHCP, File Server vb..) yönetebilirsiniz. Windows Server Core yapılarda masaüstü desteği olmadığından sistem tüketimi daha az olmakta ve daha az sistem özellikleri ile daha fazla verim almanıza olanak sağlamaktadır.  Core olarak kurulmuş, masaüstü desteği olmayan sunucularda direk komut ekranı gelmekte ve tüm yapılandırmaları powershell üzerinen yapılmaktadır. Bazen internetten bir şey indirmeniz gerektiğinde veya bir şey araştırmak istediğinizde web tarayıcıya ihtiyaç duyabiliyorsunuz, bizde bu ihtiyaçtan dolayı Windows Core olarak kurulmuş bir sunucuda chrome nasıl kurabileceğinize değineceğiz.<br />
<script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script><br />
<!-- Makale_ici --><br />
<ins class="adsbygoogle" style="display: block;" data-ad-client="ca-pub-1000738755084616" data-ad-slot="2280084802" data-ad-format="auto" data-full-width-responsive="true"></ins><br />
<script>
(adsbygoogle = window.adsbygoogle || []).push({});
</script><br />
Aşağıda bulunan tek satırlık komutu girdiğimizde kurulum işlemlerini gerçekleştirecektir. Komutu girdikten sonra internet hızınız veya sistem özelliklerinize bağlı olarak biraz zaman alabilecektir.</p>
<pre class="brush: php; title: ; notranslate">$LocalTempDir = $env:TEMP; $ChromeInstaller = &quot;ChromeInstaller.exe&quot;; (new-object    System.Net.WebClient).DownloadFile('http://dl.google.com/chrome/install/375.126/chrome_installer.exe', &quot;$LocalTempDir\$ChromeInstaller&quot;); &amp; &quot;$LocalTempDir\$ChromeInstaller&quot; /silent /install; $Process2Monitor =  &quot;ChromeInstaller&quot;; Do { $ProcessesFound = Get-Process | ?{$Process2Monitor -contains $_.Name} | Select-Object -ExpandProperty Name; If ($ProcessesFound) { &quot;Still running: $($ProcessesFound -join ', ')&quot; | Write-Host; Start-Sleep -Seconds 2 } else { rm &quot;$LocalTempDir\$ChromeInstaller&quot; -ErrorAction SilentlyContinue -Verbose } } Until (!$ProcessesFound)
</pre>
<p><img fetchpriority="high" decoding="async" class="alignnone size-full wp-image-5225" src="https://www.zulfumehmet.com/wp-content/uploads/2023/06/chromepowershell1.png" alt="" width="991" height="766" srcset="https://www.zulfumehmet.com/wp-content/uploads/2023/06/chromepowershell1.png?v=1686462547 991w, https://www.zulfumehmet.com/wp-content/uploads/2023/06/chromepowershell1-300x232.png?v=1686462547 300w, https://www.zulfumehmet.com/wp-content/uploads/2023/06/chromepowershell1-768x594.png?v=1686462547 768w" sizes="(max-width: 991px) 100vw, 991px" /></p>
<p>Komut satırını girdikten sonra kurulum tamamlanacaktır. Chrome web tarayıcıyı çalıştırabilmek için; komut satırıı yada Task Manger kullanarak çalıştırabiliriz.</p>
<p>Komut satırından açmak için;</p>
<p><img decoding="async" class="alignnone size-full wp-image-5228" src="https://www.zulfumehmet.com/wp-content/uploads/2023/06/chromepowershell4.png" alt="powershell chrome kurulmu" width="606" height="362" srcset="https://www.zulfumehmet.com/wp-content/uploads/2023/06/chromepowershell4.png?v=1686463863 606w, https://www.zulfumehmet.com/wp-content/uploads/2023/06/chromepowershell4-300x179.png?v=1686463863 300w" sizes="(max-width: 606px) 100vw, 606px" /></p>
<p>Task Manager için; sırasıyla File&gt;Run new task tıklayınız. Açılan pencereden chrome yazmanız yeterlidir.</p>
<p><img decoding="async" class="alignnone wp-image-5226 size-full" src="https://www.zulfumehmet.com/wp-content/uploads/2023/06/chromepowershell2.png" alt="windows server core power shell chrome kurlumu" width="677" height="604" srcset="https://www.zulfumehmet.com/wp-content/uploads/2023/06/chromepowershell2.png?v=1686462834 677w, https://www.zulfumehmet.com/wp-content/uploads/2023/06/chromepowershell2-300x268.png?v=1686462834 300w" sizes="(max-width: 677px) 100vw, 677px" /></p>
<p>Chrome yazıp OK dediğimizde powershell açılacaktır.</p>
<p><img loading="lazy" decoding="async" class="alignnone wp-image-5227 size-full" src="https://www.zulfumehmet.com/wp-content/uploads/2023/06/chromepowershell3.png" alt="windows server core power shell chrome kurlumu" width="1119" height="901" srcset="https://www.zulfumehmet.com/wp-content/uploads/2023/06/chromepowershell3.png?v=1686462837 1119w, https://www.zulfumehmet.com/wp-content/uploads/2023/06/chromepowershell3-300x242.png?v=1686462837 300w, https://www.zulfumehmet.com/wp-content/uploads/2023/06/chromepowershell3-1024x825.png?v=1686462837 1024w, https://www.zulfumehmet.com/wp-content/uploads/2023/06/chromepowershell3-768x618.png?v=1686462837 768w" sizes="auto, (max-width: 1119px) 100vw, 1119px" /></p>
<p>Chrome web tarayıcımız açtık. İhtiyaç halinde kullanılmaya hazırdır. İyi çalışmalar.</p>
<p><a href="https://en.wikipedia.org/wiki/Server_Core" target="_blank" rel="noopener">https://en.wikipedia.org/wiki/Server_Core</a></p>
<p><script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script><br />
<!-- Makale_ici --><br />
<ins class="adsbygoogle" style="display: block;" data-ad-client="ca-pub-1000738755084616" data-ad-slot="2280084802" data-ad-format="auto" data-full-width-responsive="true"></ins><br />
<script>
(adsbygoogle = window.adsbygoogle || []).push({});
</script></p>
<p>The post <a href="https://www.zulfumehmet.com/powershell-ile-chrome-kurulumu/">Powershell İle Chrome Kurulumu</a> appeared first on <a href="https://www.zulfumehmet.com">Zülfü Mehmet</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.zulfumehmet.com/powershell-ile-chrome-kurulumu/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>PowerShell İle IIS, DNS Kurulum ve Yapılanması</title>
		<link>https://www.zulfumehmet.com/powershell-ile-iis-dns-kurulum-ve-yapilanmasi/</link>
					<comments>https://www.zulfumehmet.com/powershell-ile-iis-dns-kurulum-ve-yapilanmasi/#comments</comments>
		
		<dc:creator><![CDATA[Zülfü Mehmet ÖZÇİFÇİ]]></dc:creator>
		<pubDate>Wed, 18 Oct 2017 08:42:46 +0000</pubDate>
				<category><![CDATA[Genel]]></category>
		<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[dns]]></category>
		<category><![CDATA[iis]]></category>
		<category><![CDATA[install]]></category>
		<category><![CDATA[kurulum]]></category>
		<category><![CDATA[powershell]]></category>
		<category><![CDATA[web server]]></category>
		<guid isPermaLink="false">https://www.zulfumehmet.com/?p=2414</guid>

					<description><![CDATA[<p>Daha önceki makalemizde Windows Serverimize Openssh kurulumu yapıp uzaktan Powershelle erişim sağlamıştık. Makalede PowerShell üzerinden masaüstüne bağlanmadan istediğimiz işlemleri yapabileceğimizi yazmıştım. Bu makalede de masaüstüne bağlanmadan powershell üzerinden Web Server (IIS) kurulumunu  ve DNS yapısını nasıl yapabileceğimizi anlatacağım. Kurulum SSH ile sunucumuza erişim sağlayalım. SSH panelden PowerShell diyerek PowerShell açalım. Kurulum baya basit. IIS ile &#8230; <a href="https://www.zulfumehmet.com/powershell-ile-iis-dns-kurulum-ve-yapilanmasi/" class="more-link">Continue reading <span class="screen-reader-text">PowerShell İle IIS, DNS Kurulum ve Yapılanması</span></a></p>
<p>The post <a href="https://www.zulfumehmet.com/powershell-ile-iis-dns-kurulum-ve-yapilanmasi/">PowerShell İle IIS, DNS Kurulum ve Yapılanması</a> appeared first on <a href="https://www.zulfumehmet.com">Zülfü Mehmet</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>Daha önceki makalemizde Windows Serverimize Openssh kurulumu yapıp uzaktan Powershelle erişim sağlamıştık. Makalede PowerShell üzerinden masaüstüne bağlanmadan istediğimiz işlemleri yapabileceğimizi yazmıştım. Bu makalede de masaüstüne bağlanmadan powershell üzerinden Web Server (IIS) kurulumunu  ve DNS yapısını nasıl yapabileceğimizi anlatacağım.<br />
<script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script><br />
<!-- Makale_ici --><br />
<ins class="adsbygoogle"
     style="display:block"
     data-ad-client="ca-pub-1000738755084616"
     data-ad-slot="2280084802"
     data-ad-format="auto"
     data-full-width-responsive="true"></ins><br />
<script>
(adsbygoogle = window.adsbygoogle || []).push({});
</script></p>
<h3>Kurulum</h3>
<p><img loading="lazy" decoding="async" class="alignnone size-full wp-image-2415" src="https://www.zulfumehmet.com/wp-content/uploads/2017/10/powershell1.png" alt="" width="622" height="188" srcset="https://www.zulfumehmet.com/wp-content/uploads/2017/10/powershell1.png?v=1654870533 622w, https://www.zulfumehmet.com/wp-content/uploads/2017/10/powershell1-300x91.png?v=1654870533 300w" sizes="auto, (max-width: 622px) 100vw, 622px" /></p>
<p>SSH ile sunucumuza erişim sağlayalım. SSH panelden PowerShell diyerek PowerShell açalım.</p>
<p><img loading="lazy" decoding="async" class="alignnone size-full wp-image-2421" src="https://www.zulfumehmet.com/wp-content/uploads/2017/10/iiskurulum.png" alt="" width="637" height="81" srcset="https://www.zulfumehmet.com/wp-content/uploads/2017/10/iiskurulum.png?v=1654870528 637w, https://www.zulfumehmet.com/wp-content/uploads/2017/10/iiskurulum-300x38.png?v=1654870528 300w" sizes="auto, (max-width: 637px) 100vw, 637px" /></p>
<p>Kurulum baya basit.</p>
<p>IIS ile ilgili paketleri listelemek için</p>
<pre class="brush: php; title: ; notranslate"> Get-WindowsFeature Web*</pre>
<p>IIS ile ilgili hangi paketleri kurmak istiyorsanız listeden bakıp kurmak istediğiniz paketleri yazmanız gerekiyor. Örnek:</p>
<pre class="brush: php; title: ; notranslate">Add-WindowsFeature Web-Server, ASP, Ftp Service</pre>
<p>Kurmak istediğiniz paketleri tek tek yazıp virgül ile ayırınız. IIS ile ilgili tüm paketleri kurmak için komut satırına şunu yazmanız yeterli.</p>
<pre class="brush: php; title: ; notranslate">Add-WindowsFeature Web-Server -IncludeAllSubFeature</pre>
<p><img loading="lazy" decoding="async" class="alignnone size-full wp-image-2416" src="https://www.zulfumehmet.com/wp-content/uploads/2017/10/powershell2.png" alt="" width="983" height="109" srcset="https://www.zulfumehmet.com/wp-content/uploads/2017/10/powershell2.png?v=1654870532 983w, https://www.zulfumehmet.com/wp-content/uploads/2017/10/powershell2-300x33.png?v=1654870532 300w, https://www.zulfumehmet.com/wp-content/uploads/2017/10/powershell2-768x85.png?v=1654870532 768w" sizes="auto, (max-width: 983px) 100vw, 983px" /></p>
<p><img loading="lazy" decoding="async" class="alignnone size-full wp-image-2417" src="https://www.zulfumehmet.com/wp-content/uploads/2017/10/powershell3.png" alt="" width="960" height="140" srcset="https://www.zulfumehmet.com/wp-content/uploads/2017/10/powershell3.png?v=1654870531 960w, https://www.zulfumehmet.com/wp-content/uploads/2017/10/powershell3-300x44.png?v=1654870531 300w, https://www.zulfumehmet.com/wp-content/uploads/2017/10/powershell3-768x112.png?v=1654870531 768w" sizes="auto, (max-width: 960px) 100vw, 960px" /></p>
<p>Kurulum başladı ve bitti. Servislere bakalım tümünü kurmuş mu?</p>
<pre class="brush: php; title: ; notranslate"> Get-WindowsFeature Web*</pre>
<p><img loading="lazy" decoding="async" class="alignnone size-full wp-image-2426" src="https://www.zulfumehmet.com/wp-content/uploads/2017/10/iis-list.png" alt="" width="718" height="624" srcset="https://www.zulfumehmet.com/wp-content/uploads/2017/10/iis-list.png?v=1654870527 718w, https://www.zulfumehmet.com/wp-content/uploads/2017/10/iis-list-300x261.png?v=1654870527 300w" sizes="auto, (max-width: 718px) 100vw, 718px" /></p>
<p>Paketlerin hepsi kurulmuş.</p>
<p>Şimdi iis wwwrot dizinine gidelim</p>
<pre class="brush: php; title: ; notranslate">cd c:\inetpud\wwwroot

ls</pre>
<p><img loading="lazy" decoding="async" class="alignnone size-full wp-image-2418" src="https://www.zulfumehmet.com/wp-content/uploads/2017/10/powershell4.png" alt="" width="469" height="244" srcset="https://www.zulfumehmet.com/wp-content/uploads/2017/10/powershell4.png?v=1654870530 469w, https://www.zulfumehmet.com/wp-content/uploads/2017/10/powershell4-300x156.png?v=1654870530 300w" sizes="auto, (max-width: 469px) 100vw, 469px" /></p>
<p>Dizine eriştik. Kurulumla gelen standart dosyalar gelmiş. Şimdi bir index.html dosyası oluşturalım.</p>
<p>Dosya oluşturmak için aşağıdaki komutları kullanabilirsiniz.</p>
<pre class="brush: php; title: ; notranslate">$exampleFile = @&quot;
&lt;p&gt;Bu sayfa powershell uzerinden olusturuldu&lt;/p&gt;
&quot;@ 
$exampleFile | Out-File .\index.html </pre>
<p><img loading="lazy" decoding="async" class="alignnone size-full wp-image-2419" src="https://www.zulfumehmet.com/wp-content/uploads/2017/10/powershell5.png" alt="" width="493" height="315" srcset="https://www.zulfumehmet.com/wp-content/uploads/2017/10/powershell5.png?v=1654870530 493w, https://www.zulfumehmet.com/wp-content/uploads/2017/10/powershell5-300x192.png?v=1654870530 300w" sizes="auto, (max-width: 493px) 100vw, 493px" /></p>
<p>Dosyamızı da oluşturduk. Şimdi bir web browser ile sunucumuza erişmeye çalışalım.</p>
<p><img loading="lazy" decoding="async" class="alignnone size-full wp-image-2420" src="https://www.zulfumehmet.com/wp-content/uploads/2017/10/powershell6.png" alt="" width="433" height="123" srcset="https://www.zulfumehmet.com/wp-content/uploads/2017/10/powershell6.png?v=1654870529 433w, https://www.zulfumehmet.com/wp-content/uploads/2017/10/powershell6-300x85.png?v=1654870529 300w" sizes="auto, (max-width: 433px) 100vw, 433px" /></p>
<p>Gördüğünüz gibi web sunucumuz aktif şekilde çalışıyor. Uzak Masaüstü bağlantısı sağlayıp kontrol edelim birde.</p>
<p><img loading="lazy" decoding="async" class="alignnone size-full wp-image-2423" src="https://www.zulfumehmet.com/wp-content/uploads/2017/10/powershell7.png" alt="" width="762" height="328" srcset="https://www.zulfumehmet.com/wp-content/uploads/2017/10/powershell7.png?v=1654870528 762w, https://www.zulfumehmet.com/wp-content/uploads/2017/10/powershell7-300x129.png?v=1654870528 300w" sizes="auto, (max-width: 762px) 100vw, 762px" /></p>
<p>Server Manager açtığımızda IIS sekmesini görmemiz gerekiyor. IIS sekmesine girip aşağı doğru indiğimizde Roles and Features bölümünde kurulu olan özellikleri göreceksiniz.</p>
<h3>PowerShell Üzerinden IIS Yeni Web Sitesi Ekleme</h3>
<p>PowerShell üzerinden IIS kurulumunu gerçekleştirdik. Şimdi de bir web sitesi ekleyelim. Tekrar ssh üzerinden PowerShell erişelim. IIS açmak için sırasıyla komutları giriniz.</p>
<p><img loading="lazy" decoding="async" class="alignnone size-full wp-image-2427" src="https://www.zulfumehmet.com/wp-content/uploads/2017/10/iisgiris.png" alt="" width="620" height="178" srcset="https://www.zulfumehmet.com/wp-content/uploads/2017/10/iisgiris.png?v=1654870526 620w, https://www.zulfumehmet.com/wp-content/uploads/2017/10/iisgiris-300x86.png?v=1654870526 300w" sizes="auto, (max-width: 620px) 100vw, 620px" /></p>
<pre class="brush: php; title: ; notranslate">Set-ExecutionPolicy unrestricted –force

Import-Module WebAdministration

Set-Location IIS:\

Get-Website</pre>
<p>Get-Website diyerek hangi siteler olduğuna da bakmış olduk. Bir diğer listeleme yoluda:</p>
<p><img loading="lazy" decoding="async" class="alignnone size-full wp-image-2428" src="https://www.zulfumehmet.com/wp-content/uploads/2017/10/iissitelist.png" alt="" width="592" height="293" srcset="https://www.zulfumehmet.com/wp-content/uploads/2017/10/iissitelist.png?v=1654870525 592w, https://www.zulfumehmet.com/wp-content/uploads/2017/10/iissitelist-300x148.png?v=1654870525 300w" sizes="auto, (max-width: 592px) 100vw, 592px" /></p>
<pre class="brush: php; title: ; notranslate">ls

cd sites

ls</pre>
<p>Sadece default olarak bir ilk kurulumla gelen site var. Şimdi ZulfuMehmet adında hostname olarak www.zulfumehmet.tk diye bir site ekleyelim.</p>
<p><img loading="lazy" decoding="async" class="alignnone size-full wp-image-2447" src="https://www.zulfumehmet.com/wp-content/uploads/2017/10/siteekle.png" alt="" width="739" height="163" srcset="https://www.zulfumehmet.com/wp-content/uploads/2017/10/siteekle.png?v=1654870515 739w, https://www.zulfumehmet.com/wp-content/uploads/2017/10/siteekle-300x66.png?v=1654870515 300w" sizes="auto, (max-width: 739px) 100vw, 739px" /></p>
<pre class="brush: php; title: ; notranslate">New-Item iis:\Sites\ZulfuMehmet -bindings @{protocol=&quot;http&quot;;bindingInformation=&quot;:80:www.zulfumehmet.tk&quot;} -physicalPath c:\inetpub\wwwroot</pre>
<p><img loading="lazy" decoding="async" class="alignnone size-full wp-image-2430" src="https://www.zulfumehmet.com/wp-content/uploads/2017/10/iis-sitelist.png" alt="" width="219" height="235" /></p>
<p>Masaüstünden iis manegerden  baktığımızda sitenin eklendiğini göreceksiniz.  Şimdide zulfumehmet.tk diye bir domain ekleyelim oluşturduğumuz siteye.</p>
<p><img loading="lazy" decoding="async" class="alignnone size-full wp-image-2448" src="https://www.zulfumehmet.com/wp-content/uploads/2017/10/domainekle.png" alt="" width="738" height="45" srcset="https://www.zulfumehmet.com/wp-content/uploads/2017/10/domainekle.png?v=1654870514 738w, https://www.zulfumehmet.com/wp-content/uploads/2017/10/domainekle-300x18.png?v=1654870514 300w" sizes="auto, (max-width: 738px) 100vw, 738px" /></p>
<pre class="brush: php; title: ; notranslate">New-WebBinding -Name &quot;ZulfuMehmet&quot; -IPAddress &quot;*&quot; -Port 80 -HostHeader &quot;zulfumehmet.tk&quot;</pre>
<p>Sitelere listeleyelim.</p>
<p><img loading="lazy" decoding="async" class="alignnone size-full wp-image-2449" src="https://www.zulfumehmet.com/wp-content/uploads/2017/10/sitelerliste.png" alt="" width="716" height="117" srcset="https://www.zulfumehmet.com/wp-content/uploads/2017/10/sitelerliste.png?v=1654870514 716w, https://www.zulfumehmet.com/wp-content/uploads/2017/10/sitelerliste-300x49.png?v=1654870514 300w" sizes="auto, (max-width: 716px) 100vw, 716px" /></p>
<pre class="brush: php; title: ; notranslate">Get-Website</pre>
<p>Buraya kadar PowerShell aracılığı ile IIS kurulumu yaptık ve ZulfuMehmet diye web sitesi ekledik. IIS ile işlemlerimiz bitti. Domain adresimizi sunucumuza eşleştirmek için şimdide DNS kurulumuna geçelim.<br />
<script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script><br />
<!-- Makale_ici --><br />
<ins class="adsbygoogle"
     style="display:block"
     data-ad-client="ca-pub-1000738755084616"
     data-ad-slot="2280084802"
     data-ad-format="auto"
     data-full-width-responsive="true"></ins><br />
<script>
(adsbygoogle = window.adsbygoogle || []).push({});
</script></p>
<h3>PowerShell ile DNS Kurulumu ve Yapılanması</h3>
<p>DNS nedir, Domain Name Server kıslatmasıdır. Host isimlerini ip yönlendirmemize yarayan bir sistemdir. DNS olmadan ip adresi ile sitelerimize ulaşabiliriz. DNS de isimleri çözümleyip isimle sitemize erişmemizi sağlayan sistemdir.</p>
<p>PowerShelli SSH üzerinden açıp DNS rolünü ekleyelim.</p>
<p><img loading="lazy" decoding="async" class="alignnone size-full wp-image-2433" src="https://www.zulfumehmet.com/wp-content/uploads/2017/10/powershellDnsinstall.png" alt="" width="690" height="273" srcset="https://www.zulfumehmet.com/wp-content/uploads/2017/10/powershellDnsinstall.png?v=1654870521 690w, https://www.zulfumehmet.com/wp-content/uploads/2017/10/powershellDnsinstall-300x119.png?v=1654870521 300w" sizes="auto, (max-width: 690px) 100vw, 690px" /></p>
<pre class="brush: php; title: ; notranslate">Install-WindowsFeature DNS -IncludeManagementTools</pre>
<p>DNS serveri sunucumuza kurduk şimdide zulfumehmet.tk domainin ekleyelim.</p>
<p><img loading="lazy" decoding="async" class="alignnone size-full wp-image-2436" src="https://www.zulfumehmet.com/wp-content/uploads/2017/10/zoneekleme.png" alt="" width="737" height="68" srcset="https://www.zulfumehmet.com/wp-content/uploads/2017/10/zoneekleme.png?v=1654870520 737w, https://www.zulfumehmet.com/wp-content/uploads/2017/10/zoneekleme-300x28.png?v=1654870520 300w" sizes="auto, (max-width: 737px) 100vw, 737px" /></p>
<pre class="brush: php; title: ; notranslate">Add-DnsServerPrimaryZone -Name &quot;zulfumehmet.tk&quot; -ZoneFile &quot;zulfumehmet.tk.dns&quot; </pre>
<p>Bakalım domainimiz kaydolmuş mu?</p>
<p><img loading="lazy" decoding="async" class="alignnone size-full wp-image-2437" src="https://www.zulfumehmet.com/wp-content/uploads/2017/10/domain-listele.png" alt="" width="735" height="219" srcset="https://www.zulfumehmet.com/wp-content/uploads/2017/10/domain-listele.png?v=1654870519 735w, https://www.zulfumehmet.com/wp-content/uploads/2017/10/domain-listele-300x89.png?v=1654870519 300w" sizes="auto, (max-width: 735px) 100vw, 735px" /></p>
<pre class="brush: php; title: ; notranslate">Get-DnsServerZone</pre>
<p><img loading="lazy" decoding="async" class="alignnone size-full wp-image-2435" src="https://www.zulfumehmet.com/wp-content/uploads/2017/10/masaustuzone.png" alt="" width="694" height="125" srcset="https://www.zulfumehmet.com/wp-content/uploads/2017/10/masaustuzone.png?v=1654870520 694w, https://www.zulfumehmet.com/wp-content/uploads/2017/10/masaustuzone-300x54.png?v=1654870520 300w" sizes="auto, (max-width: 694px) 100vw, 694px" /></p>
<p>Masaüstü bağlantısı sağladığımızda da listede domin adresimizin eklendiğini görüyoruz. Domain adresimizi tanımladık. Şimdi, A, Cname, MX, NS kayıtlarını ekleyelim.</p>
<h3>A Kaydı</h3>
<p>DNS sunucumuzda bulunan network agıtlarının isimlerini ve IPv4 adresleri ile tutar. Eğer IPv6 kullanıyorsanız AAAA Kaydı oluşturmanız gerekiyor. Çünkü AAAA IPv6 kayıtları ile tutar.</p>
<p><img loading="lazy" decoding="async" class="alignnone size-full wp-image-2440" src="https://www.zulfumehmet.com/wp-content/uploads/2017/10/recort-a.png" alt="" width="725" height="56" srcset="https://www.zulfumehmet.com/wp-content/uploads/2017/10/recort-a.png?v=1654870519 725w, https://www.zulfumehmet.com/wp-content/uploads/2017/10/recort-a-300x23.png?v=1654870519 300w" sizes="auto, (max-width: 725px) 100vw, 725px" /></p>
<pre class="brush: php; title: ; notranslate">Add-DnsServerResourceRecordA -Name &quot;@&quot; -ZoneName &quot;zulfumehmet.tk&quot; -AllowUpdateAny -IPv4Address &quot;sunucu-ip-adres&quot; -TimeToLive 01:00:00</pre>
<p>Birtanede A isiminde kaydı oluşturalım. Cname, mx yönlendirmeleri için. Oluşturmazsanız Hat ve mx yönlendirmelerinde site adını yazmanız yeterli örnek zulfumehmet.tk</p>
<pre class="brush: php; title: ; notranslate">Add-DnsServerResourceRecordA -Name &quot;a&quot; -ZoneName &quot;zulfumehmet.tk&quot; -AllowUpdateAny -IPv4Address &quot;sunucu-ip-adres&quot; -TimeToLive 01:00:00</pre>
<p><script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script><br />
<!-- Makale_ici --><br />
<ins class="adsbygoogle"
     style="display:block"
     data-ad-client="ca-pub-1000738755084616"
     data-ad-slot="2280084802"
     data-ad-format="auto"
     data-full-width-responsive="true"></ins><br />
<script>
(adsbygoogle = window.adsbygoogle || []).push({});
</script></p>
<h3> Cname Kaydı</h3>
<p>A ve AAAA kayıtlarımızı farklı isim altında çözümlenmesini sağlar.</p>
<p><img loading="lazy" decoding="async" class="alignnone size-full wp-image-2443" src="https://www.zulfumehmet.com/wp-content/uploads/2017/10/Cname-record.png" alt="" width="733" height="99" srcset="https://www.zulfumehmet.com/wp-content/uploads/2017/10/Cname-record.png?v=1654870517 733w, https://www.zulfumehmet.com/wp-content/uploads/2017/10/Cname-record-300x41.png?v=1654870517 300w" sizes="auto, (max-width: 733px) 100vw, 733px" /></p>
<pre class="brush: php; title: ; notranslate">Add-DnsServerResourceRecordCName -Name &quot;www&quot; -HostNameAlias &quot;a.zulfumehmet.tk&quot; -ZoneName &quot;zulfumehmet.tk&quot;</pre>
<h3>MX Kaydı</h3>
<p>Mail sunucumuzun ip kaydını tutar.</p>
<p><img loading="lazy" decoding="async" class="alignnone size-full wp-image-2444" src="https://www.zulfumehmet.com/wp-content/uploads/2017/10/mx-Record.png" alt="" width="740" height="58" srcset="https://www.zulfumehmet.com/wp-content/uploads/2017/10/mx-Record.png?v=1654870516 740w, https://www.zulfumehmet.com/wp-content/uploads/2017/10/mx-Record-300x24.png?v=1654870516 300w" sizes="auto, (max-width: 740px) 100vw, 740px" /></p>
<pre class="brush: php; title: ; notranslate">Add-DnsServerResourceRecordMX -Preference 10 -Name &quot;.&quot; -TimeToLive 01:00:00 -MailExchange &quot;a.zulfumehmet.tk&quot; -ZoneName &quot;zulfumehmet.tk&quot;</pre>
<p><strong>NS Kaydı</strong></p>
<p>Bir DNSZone nin DNS kayıtlarının tutulduğu sunucunun ip adresi tutar.</p>
<p><img loading="lazy" decoding="async" class="alignnone size-full wp-image-2441" src="https://www.zulfumehmet.com/wp-content/uploads/2017/10/record-ns.png" alt="" width="730" height="269" srcset="https://www.zulfumehmet.com/wp-content/uploads/2017/10/record-ns.png?v=1654870518 730w, https://www.zulfumehmet.com/wp-content/uploads/2017/10/record-ns-300x111.png?v=1654870518 300w" sizes="auto, (max-width: 730px) 100vw, 730px" /></p>
<pre class="brush: php; title: ; notranslate">Add-DnsServerResourceRecord -ZoneName &quot;zulfumehmet.tk&quot; -NS -Name &quot;@&quot; -NameServer ns1.zulfumehmet.tk -PassThru
Add-DnsServerResourceRecord -ZoneName &quot;zulfumehmet.tk&quot; -NS -Name &quot;@&quot; -NameServer ns2.zulfumehmet.tk -PassThru</pre>
<p>Yaptığımız Kayıtları Listeleyelim</p>
<p><img loading="lazy" decoding="async" class="alignnone size-full wp-image-2445" src="https://www.zulfumehmet.com/wp-content/uploads/2017/10/liste-1.png" alt="" width="734" height="244" srcset="https://www.zulfumehmet.com/wp-content/uploads/2017/10/liste-1.png?v=1654870516 734w, https://www.zulfumehmet.com/wp-content/uploads/2017/10/liste-1-300x100.png?v=1654870516 300w" sizes="auto, (max-width: 734px) 100vw, 734px" /></p>
<pre class="brush: php; title: ; notranslate">Get-DnsServerResourceRecord  -ZoneName zulfumehmet.tk</pre>
<p>Yaptığımız tüm kayıtlar listelendi. Şimdi DNS serveri resetleyelim. Yaptığımız değişiklikler kaydolsun.</p>
<p><img loading="lazy" decoding="async" class="alignnone size-full wp-image-2446" src="https://www.zulfumehmet.com/wp-content/uploads/2017/10/dns-reset.png" alt="" width="400" height="57" srcset="https://www.zulfumehmet.com/wp-content/uploads/2017/10/dns-reset.png?v=1654870515 400w, https://www.zulfumehmet.com/wp-content/uploads/2017/10/dns-reset-300x43.png?v=1654870515 300w" sizes="auto, (max-width: 400px) 100vw, 400px" /></p>
<p>Domain panelinizden NameServer iplerini sunucunuza yönlendirdiyseniz bir web browser ile domain ile sunucunuza erişmeye çalışalım. Domain yönlendirmesi uzun sürebilir. (24 saat kadar)</p>
<p><img loading="lazy" decoding="async" class="alignnone size-full wp-image-2450" src="https://www.zulfumehmet.com/wp-content/uploads/2017/10/siteacilis.png" alt="" width="499" height="313" srcset="https://www.zulfumehmet.com/wp-content/uploads/2017/10/siteacilis.png?v=1654870513 499w, https://www.zulfumehmet.com/wp-content/uploads/2017/10/siteacilis-300x188.png?v=1654870513 300w" sizes="auto, (max-width: 499px) 100vw, 499px" /></p>
<p>Kurulumumuz ve yapılanmamız bitti. Bir dahaki makalede de PowerShell üzerinden FTP protokolünün çalıştırıp nasıl erişim sağlayabileceğimize değineceğim.</p>
<p>Kolay gelsin.</p>
<p>The post <a href="https://www.zulfumehmet.com/powershell-ile-iis-dns-kurulum-ve-yapilanmasi/">PowerShell İle IIS, DNS Kurulum ve Yapılanması</a> appeared first on <a href="https://www.zulfumehmet.com">Zülfü Mehmet</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.zulfumehmet.com/powershell-ile-iis-dns-kurulum-ve-yapilanmasi/feed/</wfw:commentRss>
			<slash:comments>2</slash:comments>
		
		
			</item>
	</channel>
</rss>
