<?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>Zero Bug Build &#187; Powershell</title>
	<atom:link href="http://www.zerobugbuild.com/?cat=9&#038;feed=rss2" rel="self" type="application/rss+xml" />
	<link>http://www.zerobugbuild.com</link>
	<description>James World&#039;s blog for www.dotnetinsight.com</description>
	<lastBuildDate>Sat, 20 Oct 2018 15:03:26 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.4.2</generator>
		<item>
		<title>Get a .gitignore file for Visual Studio fast with gitignore.io and Powershell</title>
		<link>http://www.zerobugbuild.com/?p=370&#038;utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=get-a-gitignore-file-for-visual-studio-fast-with-gitignore-io-and-powershelll</link>
		<comments>http://www.zerobugbuild.com/?p=370#comments</comments>
		<pubDate>Sun, 21 Sep 2014 13:18:57 +0000</pubDate>
		<dc:creator>James World</dc:creator>
				<category><![CDATA[Powershell]]></category>
		<category><![CDATA[VIsual Studio]]></category>

		<guid isPermaLink="false">http://www.zerobugbuild.com/?p=370</guid>
		<description><![CDATA[I often use the wonderful service at https://www.gitignore.io to grab a .gitignore file suitable for Visual Studio use. Unfortunately, the file has unix line endings &#8211; so I&#8217;ve boiled the operation down to a single line of Powershell that sorts &#8230; <a href="http://www.zerobugbuild.com/?p=370">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>I often use the wonderful service at https://www.gitignore.io to grab a .gitignore file suitable for Visual Studio use. Unfortunately, the file has unix line endings &#8211; so I&#8217;ve boiled the operation down to a single line of Powershell that sorts that out in one go:<br />
<code><br />
(curl https://www.gitignore.io/api/visualstudio).Content<br />
&nbsp;&nbsp;-split "`n" -join "`r`n" | set-content .gitignore<br />
</code></p>
]]></content:encoded>
			<wfw:commentRss>http://www.zerobugbuild.com/?feed=rss2&#038;p=370</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Use Powershell 4 to check file signatures/hashes</title>
		<link>http://www.zerobugbuild.com/?p=361&#038;utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=use-powershell-4-to-check-file-signatureshashes</link>
		<comments>http://www.zerobugbuild.com/?p=361#comments</comments>
		<pubDate>Fri, 05 Sep 2014 09:02:18 +0000</pubDate>
		<dc:creator>James World</dc:creator>
				<category><![CDATA[Powershell]]></category>
		<category><![CDATA[powershell hash md5 sha1]]></category>

		<guid isPermaLink="false">http://www.zerobugbuild.com/?p=361</guid>
		<description><![CDATA[I wasted a couple of DVDs this morning trying to burn a corrupted download of SQL Server from MSDN. Finally the light dawned and I decided to check the file hash. MSDN subscriber downloads have the SHA1 hash on the &#8230; <a href="http://www.zerobugbuild.com/?p=361">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>I wasted a couple of DVDs this morning trying to burn a corrupted download of SQL Server from MSDN. Finally the light dawned and I decided to check the file hash. MSDN subscriber downloads have the SHA1 hash on the download page. I didn&#8217;t have my usual checker installed yet on my new laptop, and in googling I discovered that Powershell 4 can now do this natively!</p>
<p>The command you need is <strong>Get-FileHash</strong> &#8211; MSDN uses SHA1 rather than the default SHA256 of this command so the following will do it:</p>
<p><code>Get-FileHash &lt;filepath&gt; -Algorithm SHA1</code></p>
]]></content:encoded>
			<wfw:commentRss>http://www.zerobugbuild.com/?feed=rss2&#038;p=361</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
