<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
	
	>
<channel>
	<title>
	Comments on: PowerShell script to help uninstall SQL Server 2008 R2 Evaluation Edition	</title>
	<atom:link href="https://lobsterpot.com.au/blog/2011/05/24/powershell-script-to-help-uninstall-sql-server-2008-r2-evaluation-edition/feed/" rel="self" type="application/rss+xml" />
	<link>https://lobsterpot.com.au/blog/2011/05/24/powershell-script-to-help-uninstall-sql-server-2008-r2-evaluation-edition/</link>
	<description></description>
	<lastBuildDate>Tue, 12 Apr 2016 11:58:16 +0000</lastBuildDate>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=7.1.3</generator>
	<item>
		<title>
		By: Rob Farley		</title>
		<link>https://lobsterpot.com.au/blog/2011/05/24/powershell-script-to-help-uninstall-sql-server-2008-r2-evaluation-edition/#comment-1913</link>

		<dc:creator><![CDATA[Rob Farley]]></dc:creator>
		<pubDate>Tue, 12 Apr 2016 11:58:16 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.lobsterpot.com.au/?p=2941#comment-1913</guid>

					<description><![CDATA[Yes, Eric. If you make a Unicode file, it won&#039;t work. It must be ASCII / UTF8.]]></description>
			<content:encoded><![CDATA[<p>Yes, Eric. If you make a Unicode file, it won&#8217;t work. It must be ASCII / UTF8.</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Eric		</title>
		<link>https://lobsterpot.com.au/blog/2011/05/24/powershell-script-to-help-uninstall-sql-server-2008-r2-evaluation-edition/#comment-1912</link>

		<dc:creator><![CDATA[Eric]]></dc:creator>
		<pubDate>Tue, 12 Apr 2016 11:46:43 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.lobsterpot.com.au/?p=2941#comment-1912</guid>

					<description><![CDATA[Hello i&#039;ve the solution :
you need to encode the result file (uninstallR2.bat) in UTF8 without Bom
following a powershell code :
$Path =&#034;D:\DBA\uninstallR2.bat&#034;
$MyFile = Get-Content $Path
$Utf8NoBomEncoding = New-Object System.Text.UTF8Encoding($False)
[System.IO.File]::WriteAllLines($Path, $MyFile, $Utf8NoBomEncoding)
And you can execute :
## Execute command file
$Path =&#034;D:\DBA\uninstallR2.bat&#034;
pushd $Path
.\uninstallR2.bat
popd
Enjoy]]></description>
			<content:encoded><![CDATA[<p>Hello i&#8217;ve the solution :<br />
you need to encode the result file (uninstallR2.bat) in UTF8 without Bom<br />
following a powershell code :<br />
$Path =&quot;D:\DBA\uninstallR2.bat&quot;<br />
$MyFile = Get-Content $Path<br />
$Utf8NoBomEncoding = New-Object System.Text.UTF8Encoding($False)<br />
[System.IO.File]::WriteAllLines($Path, $MyFile, $Utf8NoBomEncoding)<br />
And you can execute :<br />
## Execute command file<br />
$Path =&quot;D:\DBA\uninstallR2.bat&quot;<br />
pushd $Path<br />
.\uninstallR2.bat<br />
popd<br />
Enjoy</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Rob Farley		</title>
		<link>https://lobsterpot.com.au/blog/2011/05/24/powershell-script-to-help-uninstall-sql-server-2008-r2-evaluation-edition/#comment-1911</link>

		<dc:creator><![CDATA[Rob Farley]]></dc:creator>
		<pubDate>Sat, 20 Feb 2016 22:30:07 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.lobsterpot.com.au/?p=2941#comment-1911</guid>

					<description><![CDATA[No worries. Glad it helped.]]></description>
			<content:encoded><![CDATA[<p>No worries. Glad it helped.</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Rockie		</title>
		<link>https://lobsterpot.com.au/blog/2011/05/24/powershell-script-to-help-uninstall-sql-server-2008-r2-evaluation-edition/#comment-1910</link>

		<dc:creator><![CDATA[Rockie]]></dc:creator>
		<pubDate>Sat, 20 Feb 2016 21:24:16 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.lobsterpot.com.au/?p=2941#comment-1910</guid>

					<description><![CDATA[Hi guy!
You are Great! :) Thank You very much for script, helped a lot.
p.s.: I\d recomment to add &#034;/quiet&#034; on the end of msiexec command - it will avoid confirmations and dialogs
Best regards,
Gennady]]></description>
			<content:encoded><![CDATA[<p>Hi guy!<br />
You are Great! 🙂 Thank You very much for script, helped a lot.<br />
p.s.: I\d recomment to add &quot;/quiet&quot; on the end of msiexec command &#8211; it will avoid confirmations and dialogs<br />
Best regards,<br />
Gennady</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Varun		</title>
		<link>https://lobsterpot.com.au/blog/2011/05/24/powershell-script-to-help-uninstall-sql-server-2008-r2-evaluation-edition/#comment-1909</link>

		<dc:creator><![CDATA[Varun]]></dc:creator>
		<pubDate>Sat, 19 Jul 2014 00:16:57 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.lobsterpot.com.au/?p=2941#comment-1909</guid>

					<description><![CDATA[To What THeo was facing with some strange characters. If you save the bat file in ASCII format you wont get that strange character.
Get-ChildItem HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall &#124; 
select @{Name=&#039;Guid&#039;;Expression={$_.PSChildName}}, @{Name=&#039;Disp&#039;;Expression={($_.GetValue(&#034;DisplayName&#034;))}} &#124; 
where-object {$_.Disp -ilike &#034;*SQL*R2*&#034;} &#124; 
where-object {$_.Guid -like &#039;{*&#039;} &#124; 
% {&#034;rem &#034; + $_.Disp; &#039;msiexec /x &#034;&#039; + $_.Guid + &#039;&#034;&#039;; &#039;&#039;} &#124; Out-File .\uninstallR2.bat -Encoding ascii]]></description>
			<content:encoded><![CDATA[<p>To What THeo was facing with some strange characters. If you save the bat file in ASCII format you wont get that strange character.<br />
Get-ChildItem HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall |<br />
select @{Name=&#8217;Guid&#8217;;Expression={$_.PSChildName}}, @{Name=&#8217;Disp&#8217;;Expression={($_.GetValue(&quot;DisplayName&quot;))}} |<br />
where-object {$_.Disp -ilike &quot;*SQL*R2*&quot;} |<br />
where-object {$_.Guid -like &#8216;{*&#8217;} |<br />
% {&quot;rem &quot; + $_.Disp; &#8216;msiexec /x &quot;&#8217; + $_.Guid + &#8216;&quot;&#8217;; &#8221;} | Out-File .\uninstallR2.bat -Encoding ascii</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Ed		</title>
		<link>https://lobsterpot.com.au/blog/2011/05/24/powershell-script-to-help-uninstall-sql-server-2008-r2-evaluation-edition/#comment-1908</link>

		<dc:creator><![CDATA[Ed]]></dc:creator>
		<pubDate>Fri, 21 Jun 2013 02:18:36 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.lobsterpot.com.au/?p=2941#comment-1908</guid>

					<description><![CDATA[Brilliant, thanks! Service Pack 1 was not picked up by the script, and I am unable to uninstall it or a hot fix I had installed. Be sure to remove those first before uninstalling sql server.]]></description>
			<content:encoded><![CDATA[<p>Brilliant, thanks! Service Pack 1 was not picked up by the script, and I am unable to uninstall it or a hot fix I had installed. Be sure to remove those first before uninstalling sql server.</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Rob Farley		</title>
		<link>https://lobsterpot.com.au/blog/2011/05/24/powershell-script-to-help-uninstall-sql-server-2008-r2-evaluation-edition/#comment-1907</link>

		<dc:creator><![CDATA[Rob Farley]]></dc:creator>
		<pubDate>Thu, 31 Jan 2013 13:33:00 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.lobsterpot.com.au/?p=2941#comment-1907</guid>

					<description><![CDATA[It runs just fine on my machine as is.
Try changing directory one level at a time into HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall to make sure you can. Then slowly add the rest of the script to see what fails.
Could be you don&#039;t have enough privilege? You could try making sure you have admin rights escalated in your PowerShell window (ie, Run As Administrator).]]></description>
			<content:encoded><![CDATA[<p>It runs just fine on my machine as is.<br />
Try changing directory one level at a time into HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall to make sure you can. Then slowly add the rest of the script to see what fails.<br />
Could be you don&#8217;t have enough privilege? You could try making sure you have admin rights escalated in your PowerShell window (ie, Run As Administrator).</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Ross Gallagher		</title>
		<link>https://lobsterpot.com.au/blog/2011/05/24/powershell-script-to-help-uninstall-sql-server-2008-r2-evaluation-edition/#comment-1906</link>

		<dc:creator><![CDATA[Ross Gallagher]]></dc:creator>
		<pubDate>Thu, 31 Jan 2013 01:01:45 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.lobsterpot.com.au/?p=2941#comment-1906</guid>

					<description><![CDATA[Hi Rob, 
I am trying to use your script to help me remove a SQL Server 2008 R2 installation but when I run it I get this message below: 
Get-ChildItem : A parameter cannot be found that matches parameter name &#039;System.Object[]&#039;.
Should I be able to just run your script exactly the way you have written it ?
 Thanks.]]></description>
			<content:encoded><![CDATA[<p>Hi Rob,<br />
I am trying to use your script to help me remove a SQL Server 2008 R2 installation but when I run it I get this message below:<br />
Get-ChildItem : A parameter cannot be found that matches parameter name &#8216;System.Object[]&#8217;.<br />
Should I be able to just run your script exactly the way you have written it ?<br />
 Thanks.</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: llyjak		</title>
		<link>https://lobsterpot.com.au/blog/2011/05/24/powershell-script-to-help-uninstall-sql-server-2008-r2-evaluation-edition/#comment-1905</link>

		<dc:creator><![CDATA[llyjak]]></dc:creator>
		<pubDate>Fri, 19 Oct 2012 22:55:49 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.lobsterpot.com.au/?p=2941#comment-1905</guid>

					<description><![CDATA[Thanks, you &#039;ve saved lot of my time :) Nice job !]]></description>
			<content:encoded><![CDATA[<p>Thanks, you &#8216;ve saved lot of my time 🙂 Nice job !</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Stef Locke		</title>
		<link>https://lobsterpot.com.au/blog/2011/05/24/powershell-script-to-help-uninstall-sql-server-2008-r2-evaluation-edition/#comment-1904</link>

		<dc:creator><![CDATA[Stef Locke]]></dc:creator>
		<pubDate>Fri, 31 Aug 2012 17:03:15 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.lobsterpot.com.au/?p=2941#comment-1904</guid>

					<description><![CDATA[I just used this to give my infrastructure guys an uninstall script for all my various bits of sql server lying around. &#160;This has saved me so much time and if they say it doesn&#039;t work, then I&#039;ll chuck it into notepad and save as ANSI. &#160;I&#039;ve been looking for something like this for ages. &#160;Great work!]]></description>
			<content:encoded><![CDATA[<p>I just used this to give my infrastructure guys an uninstall script for all my various bits of sql server lying around. &nbsp;This has saved me so much time and if they say it doesn&#8217;t work, then I&#8217;ll chuck it into notepad and save as ANSI. &nbsp;I&#8217;ve been looking for something like this for ages. &nbsp;Great work!</p>
]]></content:encoded>
		
			</item>
	</channel>
</rss>
