<?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>Developer OneNote &#187; Tutorial</title>
	<atom:link href="http://devonenote.com/category/tutorial/feed/" rel="self" type="application/rss+xml" />
	<link>http://devonenote.com</link>
	<description>Emma&#039;s OneNote for Microsoft Windows, Office and Programming</description>
	<lastBuildDate>Thu, 02 Feb 2012 05:19:49 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>TFS How to change the computer name or owner for a workspace</title>
		<link>http://devonenote.com/2012/01/tfs-how-to-change-the-computer-name-or-owner-for-a-workspace/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=tfs-how-to-change-the-computer-name-or-owner-for-a-workspace</link>
		<comments>http://devonenote.com/2012/01/tfs-how-to-change-the-computer-name-or-owner-for-a-workspace/#comments</comments>
		<pubDate>Sat, 21 Jan 2012 14:34:40 +0000</pubDate>
		<dc:creator>emma</dc:creator>
				<category><![CDATA[Development]]></category>
		<category><![CDATA[Tutorial]]></category>
		<category><![CDATA[Source Control]]></category>
		<category><![CDATA[TFS]]></category>
		<category><![CDATA[TFS 2010]]></category>

		<guid isPermaLink="false">http://devonenote.com/?p=566</guid>
		<description><![CDATA[The owner and computer name of the workspace are not editable in Visual Studio 2010. However, you might need it when you renamed your machine or your account is renamed. To do this, open a Visual Studio Command Prompt (2010) &#8230; <a href="http://devonenote.com/2012/01/tfs-how-to-change-the-computer-name-or-owner-for-a-workspace/">Continue reading <span class="meta-nav">&#8594;</span></a>
Related posts:<ol>
<li><a href='http://devonenote.com/2011/01/common-tfs-commands/' rel='bookmark' title='Common TFS commands'>Common TFS commands</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>The owner and computer name of the workspace are not editable in Visual Studio 2010. However, you might need it when you renamed your machine or your account is renamed. <font style="font-weight: normal">To do this, open a Visual Studio Command Prompt (2010) from program files, and cd to your workspace, then run following</font></p>
<h1>Change the computer name for a workspace</h1>
<p class="textborder">tf workspaces /updateComputerName:&lt;<font color="#ff0000">OldComputerName&gt;</font> /collection:<font color="#ff0000">&lt;CollectionURL&gt;</font></p>
<p>You need replace <font color="#ff0000">&lt;OldComputerName&gt;</font> to your actual old computer name and <font color="#ff0000">&lt;CollectionURL&gt;</font> to your actual TFS collection URL.</p>
<h1>Change the owner for a workspace</h1>
<p class="textborder">tf workspaces /updateUserName:<font color="#ff0000">&lt;OldUserName&gt;</font> /collection:<font color="#ff0000">&lt;CollectionURL&gt;</font></p>
<p>Related posts:<ol>
<li><a href='http://devonenote.com/2011/01/common-tfs-commands/' rel='bookmark' title='Common TFS commands'>Common TFS commands</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://devonenote.com/2012/01/tfs-how-to-change-the-computer-name-or-owner-for-a-workspace/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Using SCVMM 2012 Cmdlets in PowerShell</title>
		<link>http://devonenote.com/2012/01/using-scvmm-2012-cmdlets-in-powershell/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=using-scvmm-2012-cmdlets-in-powershell</link>
		<comments>http://devonenote.com/2012/01/using-scvmm-2012-cmdlets-in-powershell/#comments</comments>
		<pubDate>Sun, 08 Jan 2012 11:39:23 +0000</pubDate>
		<dc:creator>emma</dc:creator>
				<category><![CDATA[Script]]></category>
		<category><![CDATA[Tutorial]]></category>
		<category><![CDATA[Virtualization]]></category>
		<category><![CDATA[PowerShell]]></category>
		<category><![CDATA[SCVMM]]></category>
		<category><![CDATA[System Center]]></category>

		<guid isPermaLink="false">http://devonenote.com/?p=564</guid>
		<description><![CDATA[SCVMM Cmdlets allow SCVMM admin/users to do everything they can do in SCVMM AdminConsole in windows PowerShell command line. In SCVMM 2008 R2, you can run following command in PowerShell to run SCVMM cmdlets. Add-PSSnapin Microsoft.SystemCenter.VirtualMachineManager But this does not &#8230; <a href="http://devonenote.com/2012/01/using-scvmm-2012-cmdlets-in-powershell/">Continue reading <span class="meta-nav">&#8594;</span></a>
Related posts:<ol>
<li><a href='http://devonenote.com/2011/09/improve-vm-deploy-performance-in-scvmm/' rel='bookmark' title='Improve VM deploy performance in SCVMM'>Improve VM deploy performance in SCVMM</a></li>
<li><a href='http://devonenote.com/2010/07/install-powershell-from-command-line/' rel='bookmark' title='Install PowerShell From Command Line'>Install PowerShell From Command Line</a></li>
<li><a href='http://devonenote.com/2011/01/configure-powershell-to-use-dotnet-4-0/' rel='bookmark' title='Configure PowerShell to use DotNet 4.0'>Configure PowerShell to use DotNet 4.0</a></li>
<li><a href='http://devonenote.com/2011/03/could-not-load-file-or-assembly-tracewrapper-version1-0-523-0/' rel='bookmark' title='Could not load file or assembly TraceWrapper, Version=1.0.523.0'>Could not load file or assembly TraceWrapper, Version=1.0.523.0</a></li>
<li><a href='http://devonenote.com/2011/01/how-to-run-ps1-scripts/' rel='bookmark' title='How to run ps1 scripts'>How to run ps1 scripts</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>SCVMM Cmdlets allow SCVMM admin/users to do everything they can do in SCVMM AdminConsole in windows PowerShell command line. In SCVMM 2008 R2, you can run following command in PowerShell to run SCVMM cmdlets. </p>
<p class="textborder">Add-PSSnapin Microsoft.SystemCenter.VirtualMachineManager</p>
<p>But this does not work in SCVMM 2012 as SCVMM 2012 uses PowerShell module. For SCVMM 2012 now you need run following in PowerShell instead</p>
<p class="textborder">Import-Module &quot;C:\Program Files\Microsoft System Center 2012\Virtual Machine Manager\bin\psModules\virtualmachinemanager\virtualmachinemanager&quot;</p>
<p>(This assumes that you have SCVMM 2012 installed on the default location C:\Program Files\Microsoft System Center 2012 )</p>
<p>The PowerShell cmdlets in SCVMM 2012 change a lot in SCVMM 2012, you can get a list of all SCVMM 2012 cmdlets by typing the following at the PowerShell command shell prompt</p>
<p class="textborder">Get-Command -Module virtualmachinemanager -Type cmdlet</p>
<p>And you can run Get-Help on any of the cmdlets to get the syntax for that cmdlet.</p>
<p class="textborder">Get-Help &lt;cmdlet name&gt; -detailed</p>
<p>Update: Microsoft has published the SCVMM 2012 cmdlets help to TechNet, check it out <a title="http://technet.microsoft.com/en-us/library/hh801697.aspx" href="http://technet.microsoft.com/en-us/library/hh801697.aspx">http://technet.microsoft.com/en-us/library/hh801697.aspx</a></p>
<p>Related posts:<ol>
<li><a href='http://devonenote.com/2011/09/improve-vm-deploy-performance-in-scvmm/' rel='bookmark' title='Improve VM deploy performance in SCVMM'>Improve VM deploy performance in SCVMM</a></li>
<li><a href='http://devonenote.com/2010/07/install-powershell-from-command-line/' rel='bookmark' title='Install PowerShell From Command Line'>Install PowerShell From Command Line</a></li>
<li><a href='http://devonenote.com/2011/01/configure-powershell-to-use-dotnet-4-0/' rel='bookmark' title='Configure PowerShell to use DotNet 4.0'>Configure PowerShell to use DotNet 4.0</a></li>
<li><a href='http://devonenote.com/2011/03/could-not-load-file-or-assembly-tracewrapper-version1-0-523-0/' rel='bookmark' title='Could not load file or assembly TraceWrapper, Version=1.0.523.0'>Could not load file or assembly TraceWrapper, Version=1.0.523.0</a></li>
<li><a href='http://devonenote.com/2011/01/how-to-run-ps1-scripts/' rel='bookmark' title='How to run ps1 scripts'>How to run ps1 scripts</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://devonenote.com/2012/01/using-scvmm-2012-cmdlets-in-powershell/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to install DotNet 2.0 or 3.5 on Windows 8</title>
		<link>http://devonenote.com/2011/09/how-to-install-dotnet-2-0-or-3-5-on-windows-8/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=how-to-install-dotnet-2-0-or-3-5-on-windows-8</link>
		<comments>http://devonenote.com/2011/09/how-to-install-dotnet-2-0-or-3-5-on-windows-8/#comments</comments>
		<pubDate>Sun, 25 Sep 2011 08:48:21 +0000</pubDate>
		<dc:creator>emma</dc:creator>
				<category><![CDATA[Tutorial]]></category>
		<category><![CDATA[Windows]]></category>
		<category><![CDATA[Windows 8]]></category>

		<guid isPermaLink="false">http://devonenote.com/2011/09/how-to-install-dotnet-2-0-or-3-5-on-windows-8/</guid>
		<description><![CDATA[Windows 8 Developer Preview includes the 2.0, 3.5 and 4.5 versions of the .NET Framework. However, only 4.5 is available for immediate use after a clean install. The versions 2.0 and 3.5 of the framework are not installed by default. &#8230; <a href="http://devonenote.com/2011/09/how-to-install-dotnet-2-0-or-3-5-on-windows-8/">Continue reading <span class="meta-nav">&#8594;</span></a>
Related posts:<ol>
<li><a href='http://devonenote.com/2011/09/hal_initialization_failed-error-when-install-windows-8-developer-preview-on-vpc/' rel='bookmark' title='HAL_INITIALIZATION_FAILED Error when install Windows 8 Developer Preview on VPC'>HAL_INITIALIZATION_FAILED Error when install Windows 8 Developer Preview on VPC</a></li>
<li><a href='http://devonenote.com/2011/10/windows-8-developer-preview-key/' rel='bookmark' title='Windows 8 Developer Preview Key'>Windows 8 Developer Preview Key</a></li>
<li><a href='http://devonenote.com/2012/01/how-to-turn-on-client-hyper-v-in-windows-8/' rel='bookmark' title='How to turn on client hyper-v in Windows 8'>How to turn on client hyper-v in Windows 8</a></li>
<li><a href='http://devonenote.com/2011/10/windows-8-shortcut-key-combination/' rel='bookmark' title='Windows 8 Shortcut Key Combination'>Windows 8 Shortcut Key Combination</a></li>
<li><a href='http://devonenote.com/2010/04/delete-windows-old/' rel='bookmark' title='Delete windows.old'>Delete windows.old</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>Windows 8 Developer Preview includes the 2.0, 3.5 and 4.5 versions of the .NET Framework. However, only 4.5 is available for immediate use after a clean install. The versions 2.0 and 3.5 of the framework are not installed by default. If you open the Add/Remove Windows Features dialog you’ll see the “Microsoft .NET Framework 3.5.1” listed, but disabled.</p>
<p><a href="http://devonenote.com/wp-content/uploads/2011/09/image10.png"><img style="background-image: none; margin: 0px auto; padding-left: 0px; padding-right: 0px; display: block; float: none; padding-top: 0px; border-width: 0px;" title="image" src="http://devonenote.com/wp-content/uploads/2011/09/image_thumb10.png" alt="image" width="418" height="372" border="0" /></a></p>
<p>To install DotNet 2.0 or 3.5 on Windows 8,</p>
<ol>
<li>Go to Control Panel – Programs</li>
<li>Turn Windows features on or off</li>
<li>Check ‘Microsoft .NET Framework 3.5.1′</li>
<li>Click OK.</li>
</ol>
<p><span id="more-550"></span></p>
<p>This Microsoft .Net Framework 3.5.1 feature contains both the 2.0 and 3.5 versions of the Framework, so you won’t install standalone 2.0 Framework.</p>
<p>Actually for .NET 3.5,  you don’t need to manual install it. When user runs an app that requires .NET 3.5 runtime, Windows 8 will prompt automatically Turn Windows features on or off dialog walk thru user enable .NET 3.5.</p>
<p><a href="http://devonenote.com/wp-content/uploads/2011/09/image11.png"><img style="background-image: none; margin: 0px auto; padding-left: 0px; padding-right: 0px; display: block; float: none; padding-top: 0px; border-width: 0px;" title="image" src="http://devonenote.com/wp-content/uploads/2011/09/image_thumb11.png" alt="image" width="480" height="373" border="0" /></a></p>
<p>Alternatively, you can enable dotnet 3.5 from command line, just run following from elevated command prompt</p>
<p class="textborder">dism /online /enable-feature /featurename:NetFx3 /all</p>
<p>Related posts:<ol>
<li><a href='http://devonenote.com/2011/09/hal_initialization_failed-error-when-install-windows-8-developer-preview-on-vpc/' rel='bookmark' title='HAL_INITIALIZATION_FAILED Error when install Windows 8 Developer Preview on VPC'>HAL_INITIALIZATION_FAILED Error when install Windows 8 Developer Preview on VPC</a></li>
<li><a href='http://devonenote.com/2011/10/windows-8-developer-preview-key/' rel='bookmark' title='Windows 8 Developer Preview Key'>Windows 8 Developer Preview Key</a></li>
<li><a href='http://devonenote.com/2012/01/how-to-turn-on-client-hyper-v-in-windows-8/' rel='bookmark' title='How to turn on client hyper-v in Windows 8'>How to turn on client hyper-v in Windows 8</a></li>
<li><a href='http://devonenote.com/2011/10/windows-8-shortcut-key-combination/' rel='bookmark' title='Windows 8 Shortcut Key Combination'>Windows 8 Shortcut Key Combination</a></li>
<li><a href='http://devonenote.com/2010/04/delete-windows-old/' rel='bookmark' title='Delete windows.old'>Delete windows.old</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://devonenote.com/2011/09/how-to-install-dotnet-2-0-or-3-5-on-windows-8/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>Find VM Host Name</title>
		<link>http://devonenote.com/2010/10/find-vm-host-name/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=find-vm-host-name</link>
		<comments>http://devonenote.com/2010/10/find-vm-host-name/#comments</comments>
		<pubDate>Wed, 20 Oct 2010 15:41:22 +0000</pubDate>
		<dc:creator>emma</dc:creator>
				<category><![CDATA[Tips and Tricks]]></category>
		<category><![CDATA[Tutorial]]></category>
		<category><![CDATA[Virtualization]]></category>
		<category><![CDATA[Hyper-V]]></category>

		<guid isPermaLink="false">http://devonenote.com/2010/10/find-vm-host-name/</guid>
		<description><![CDATA[To identify the host machine from the virtual machine, just access the virtual machine’s registry HKLM\Software\Microsoft\Virtual Machine\Guest\Parameters\PhysicalHostName Related posts: IDE/ATAPI Account does not have sufficient privilege to open attachment How to Install Hyper-V HAL_INITIALIZATION_FAILED Error when install Windows 8 Developer &#8230; <a href="http://devonenote.com/2010/10/find-vm-host-name/">Continue reading <span class="meta-nav">&#8594;</span></a>
Related posts:<ol>
<li><a href='http://devonenote.com/2011/04/ideatapi-account-does-not-have-sufficient-privilege-to-open-attachment/' rel='bookmark' title='IDE/ATAPI Account does not have sufficient privilege to open attachment'>IDE/ATAPI Account does not have sufficient privilege to open attachment</a></li>
<li><a href='http://devonenote.com/2010/04/how-to-install-hyper-v/' rel='bookmark' title='How to Install Hyper-V'>How to Install Hyper-V</a></li>
<li><a href='http://devonenote.com/2011/09/hal_initialization_failed-error-when-install-windows-8-developer-preview-on-vpc/' rel='bookmark' title='HAL_INITIALIZATION_FAILED Error when install Windows 8 Developer Preview on VPC'>HAL_INITIALIZATION_FAILED Error when install Windows 8 Developer Preview on VPC</a></li>
<li><a href='http://devonenote.com/2010/04/manage-hyper-v-remotely-from-windows-7/' rel='bookmark' title='Manage Hyper-V remotely from windows 7'>Manage Hyper-V remotely from windows 7</a></li>
<li><a href='http://devonenote.com/2012/01/hyper-v-tip-use-windows-key-without-fullscreen/' rel='bookmark' title='Hyper-v Tip: Use windows key without fullscreen'>Hyper-v Tip: Use windows key without fullscreen</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>To identify the host machine from the virtual machine, just access the virtual machine’s registry </p>
<p class="textborder">HKLM\Software\Microsoft\Virtual Machine\Guest\Parameters\PhysicalHostName</p>
<p>Related posts:<ol>
<li><a href='http://devonenote.com/2011/04/ideatapi-account-does-not-have-sufficient-privilege-to-open-attachment/' rel='bookmark' title='IDE/ATAPI Account does not have sufficient privilege to open attachment'>IDE/ATAPI Account does not have sufficient privilege to open attachment</a></li>
<li><a href='http://devonenote.com/2010/04/how-to-install-hyper-v/' rel='bookmark' title='How to Install Hyper-V'>How to Install Hyper-V</a></li>
<li><a href='http://devonenote.com/2011/09/hal_initialization_failed-error-when-install-windows-8-developer-preview-on-vpc/' rel='bookmark' title='HAL_INITIALIZATION_FAILED Error when install Windows 8 Developer Preview on VPC'>HAL_INITIALIZATION_FAILED Error when install Windows 8 Developer Preview on VPC</a></li>
<li><a href='http://devonenote.com/2010/04/manage-hyper-v-remotely-from-windows-7/' rel='bookmark' title='Manage Hyper-V remotely from windows 7'>Manage Hyper-V remotely from windows 7</a></li>
<li><a href='http://devonenote.com/2012/01/hyper-v-tip-use-windows-key-without-fullscreen/' rel='bookmark' title='Hyper-v Tip: Use windows key without fullscreen'>Hyper-v Tip: Use windows key without fullscreen</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://devonenote.com/2010/10/find-vm-host-name/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Install PowerShell From Command Line</title>
		<link>http://devonenote.com/2010/07/install-powershell-from-command-line/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=install-powershell-from-command-line</link>
		<comments>http://devonenote.com/2010/07/install-powershell-from-command-line/#comments</comments>
		<pubDate>Thu, 22 Jul 2010 16:42:04 +0000</pubDate>
		<dc:creator>emma</dc:creator>
				<category><![CDATA[Script]]></category>
		<category><![CDATA[Tutorial]]></category>
		<category><![CDATA[Windows]]></category>
		<category><![CDATA[Command line]]></category>
		<category><![CDATA[PowerShell]]></category>

		<guid isPermaLink="false">http://devonenote.com/2010/07/install-powershell-from-command-line/</guid>
		<description><![CDATA[To install PowerShell on Windows Server 2008 R2 or Hyper-V Server 2008 R2, following features needs to be installed. NetFx2-ServerCore NetFx3-ServerCore MicrosoftWindowsPowerShell Because Powershell is built on DotNet framework, DotNet 2.0 and 3.5&#160; has to be installed prior to PowerShell &#8230; <a href="http://devonenote.com/2010/07/install-powershell-from-command-line/">Continue reading <span class="meta-nav">&#8594;</span></a>
Related posts:<ol>
<li><a href='http://devonenote.com/2010/07/enable-dotnet-3-5-from-command-line/' rel='bookmark' title='Enable DotNet 3.5 from command line'>Enable DotNet 3.5 from command line</a></li>
<li><a href='http://devonenote.com/2011/01/configure-powershell-to-use-dotnet-4-0/' rel='bookmark' title='Configure PowerShell to use DotNet 4.0'>Configure PowerShell to use DotNet 4.0</a></li>
<li><a href='http://devonenote.com/2011/01/enabledisable-ipv6-in-command-line/' rel='bookmark' title='Enable/Disable ipv6 in command line'>Enable/Disable ipv6 in command line</a></li>
<li><a href='http://devonenote.com/2012/01/using-scvmm-2012-cmdlets-in-powershell/' rel='bookmark' title='Using SCVMM 2012 Cmdlets in PowerShell'>Using SCVMM 2012 Cmdlets in PowerShell</a></li>
<li><a href='http://devonenote.com/2011/01/how-to-run-ps1-scripts/' rel='bookmark' title='How to run ps1 scripts'>How to run ps1 scripts</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>To install PowerShell on Windows Server 2008 R2 or Hyper-V Server 2008 R2, following features needs to be installed.</p>
<ol>
<li>NetFx2-ServerCore </li>
<li>NetFx3-ServerCore </li>
<li>MicrosoftWindowsPowerShell </li>
</ol>
<p>Because Powershell is built on DotNet framework, DotNet 2.0 and 3.5&#160; has to be installed prior to PowerShell installation.</p>
<p>To install PowerShell from command line, run following from elevated command prompt</p>
<p class="textborder">DISM.exe /online /enable-feature /featurename:NetFx2-ServerCore DISM.exe /online /enable-feature /featurename:NetFx3-ServerCore DISM.exe /online /enable-feature /featurename:MicrosoftWindowsPowerShell </p>
<p>Or run following command if it’s an 64bit machine</p>
<p class="textborder">DISM.exe /online /enable-feature /featurename:NetFx2-ServerCore-WOW64&#160; <br />DISM.exe /online /enable-feature /featurename:NetFx3-ServerCore-WOW64&#160; <br />DISM.exe /online /enable-feature /featurename:MicrosoftWindowsPowerShell-WOW64&#160; </p>
<p>Related posts:<ol>
<li><a href='http://devonenote.com/2010/07/enable-dotnet-3-5-from-command-line/' rel='bookmark' title='Enable DotNet 3.5 from command line'>Enable DotNet 3.5 from command line</a></li>
<li><a href='http://devonenote.com/2011/01/configure-powershell-to-use-dotnet-4-0/' rel='bookmark' title='Configure PowerShell to use DotNet 4.0'>Configure PowerShell to use DotNet 4.0</a></li>
<li><a href='http://devonenote.com/2011/01/enabledisable-ipv6-in-command-line/' rel='bookmark' title='Enable/Disable ipv6 in command line'>Enable/Disable ipv6 in command line</a></li>
<li><a href='http://devonenote.com/2012/01/using-scvmm-2012-cmdlets-in-powershell/' rel='bookmark' title='Using SCVMM 2012 Cmdlets in PowerShell'>Using SCVMM 2012 Cmdlets in PowerShell</a></li>
<li><a href='http://devonenote.com/2011/01/how-to-run-ps1-scripts/' rel='bookmark' title='How to run ps1 scripts'>How to run ps1 scripts</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://devonenote.com/2010/07/install-powershell-from-command-line/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Manual Uninstall Windows Desktop Search</title>
		<link>http://devonenote.com/2010/06/manual-uninstall-windows-desktop-search-if-it-is-not-found-in-addremove-programs/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=manual-uninstall-windows-desktop-search-if-it-is-not-found-in-addremove-programs</link>
		<comments>http://devonenote.com/2010/06/manual-uninstall-windows-desktop-search-if-it-is-not-found-in-addremove-programs/#comments</comments>
		<pubDate>Tue, 01 Jun 2010 15:03:34 +0000</pubDate>
		<dc:creator>emma</dc:creator>
				<category><![CDATA[Tutorial]]></category>
		<category><![CDATA[Troubleshooting]]></category>
		<category><![CDATA[Uninstall]]></category>
		<category><![CDATA[Windows Desktop Search]]></category>

		<guid isPermaLink="false">http://devonenote.com/2010/06/manual-uninstall-windows-desktop-search-if-it-is-not-found-in-addremove-programs/</guid>
		<description><![CDATA[Here is how to uninstall Windows Desktop Search (WDS) as it is not visible in add-remove programs Manual uninstall Windows Desktop Search 3 Click on the Start Menu, then Run. Type cmd in the box and click OK. This will &#8230; <a href="http://devonenote.com/2010/06/manual-uninstall-windows-desktop-search-if-it-is-not-found-in-addremove-programs/">Continue reading <span class="meta-nav">&#8594;</span></a>
Related posts:<ol>
<li><a href='http://devonenote.com/2010/04/windows-could-not-connect-to-the-system-event-notification-service/' rel='bookmark' title='Windows could not connect to the System Event Notification Service'>Windows could not connect to the System Event Notification Service</a></li>
<li><a href='http://devonenote.com/2010/01/find-computer-owner/' rel='bookmark' title='Find Computer Owner'>Find Computer Owner</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>Here is how to uninstall Windows Desktop Search (WDS) as it is not visible in add-remove programs</p>
<h3>Manual uninstall Windows Desktop Search 3</h3>
<ol>
<li>Click on the Start Menu, then Run.</li>
<li>Type cmd in the box and click OK. This will bring up the command line.</li>
<li>Type the following and press enter
<p class="textborder">%windir%\$NtUninstallKB917013$\spuninst\spuninst.exe /q /promptrestart</p>
</li>
<li>A box will now appear to confirm the WDS has been uninstalled and asks you to restart. Once you have restarted the PC WDS will be gone.</li>
</ol>
<p><span id="more-372"></span></p>
<h3>Manual uninstall Windows Desktop Search 4</h3>
<ol>
<li>Click on the Start Menu, then Run.</li>
<li>Type cmd in the box and click OK. This will bring up the command line.</li>
<li>Type the following and press enter.
<p class="textborder">%windir%\$NtUninstallKB940157$\spuninst\spuninst.exe /q /promptrestart</p>
</li>
<li>A box will now appear to confirm the WDS has been uninstalled and asks you to restart. Once you have restarted the PC WDS will be gone.</li>
</ol>
<p>Related posts:<ol>
<li><a href='http://devonenote.com/2010/04/windows-could-not-connect-to-the-system-event-notification-service/' rel='bookmark' title='Windows could not connect to the System Event Notification Service'>Windows could not connect to the System Event Notification Service</a></li>
<li><a href='http://devonenote.com/2010/01/find-computer-owner/' rel='bookmark' title='Find Computer Owner'>Find Computer Owner</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://devonenote.com/2010/06/manual-uninstall-windows-desktop-search-if-it-is-not-found-in-addremove-programs/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Remove Earlier Version of Windows boot option</title>
		<link>http://devonenote.com/2010/05/remove-earlier-version-of-windows-boot-option/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=remove-earlier-version-of-windows-boot-option</link>
		<comments>http://devonenote.com/2010/05/remove-earlier-version-of-windows-boot-option/#comments</comments>
		<pubDate>Wed, 05 May 2010 08:52:14 +0000</pubDate>
		<dc:creator>emma</dc:creator>
				<category><![CDATA[Tutorial]]></category>
		<category><![CDATA[Windows 7]]></category>
		<category><![CDATA[Windows How to]]></category>

		<guid isPermaLink="false">http://devonenote.com/2010/05/remove-earlier-version-of-windows-boot-choice/</guid>
		<description><![CDATA[After I upgrade from Windows XP to Windows 7, I see two options at boot up, one is to logon to Earlier Version of Windows, the other is Windows 7. The default option is boot into Windows 7. There is &#8230; <a href="http://devonenote.com/2010/05/remove-earlier-version-of-windows-boot-option/">Continue reading <span class="meta-nav">&#8594;</span></a>
Related posts:<ol>
<li><a href='http://devonenote.com/2011/02/syspreped-windows-7-fail-with-windows-could-not-finish-configuring-the-system/' rel='bookmark' title='Syspreped Windows 7 fail with &quot;Windows could not finish configuring the system&quot;'>Syspreped Windows 7 fail with &quot;Windows could not finish configuring the system&quot;</a></li>
<li><a href='http://devonenote.com/2011/02/install-remote-server-administration-tools-on-windows-7-sp1/' rel='bookmark' title='Install Remote Server Administration Tools on Windows 7 SP1'>Install Remote Server Administration Tools on Windows 7 SP1</a></li>
<li><a href='http://devonenote.com/2010/04/delete-windows-old/' rel='bookmark' title='Delete windows.old'>Delete windows.old</a></li>
<li><a href='http://devonenote.com/2010/04/manage-hyper-v-remotely-from-windows-7/' rel='bookmark' title='Manage Hyper-V remotely from windows 7'>Manage Hyper-V remotely from windows 7</a></li>
<li><a href='http://devonenote.com/2010/04/windows-could-not-connect-to-the-system-event-notification-service/' rel='bookmark' title='Windows could not connect to the System Event Notification Service'>Windows could not connect to the System Event Notification Service</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>After I upgrade from Windows XP to Windows 7, I see two options at boot up, one is to logon to Earlier Version of Windows, the other is Windows 7. The default option is boot into Windows 7.</p>
<p>There is a workaround to remove the Earlier Version of Windows option from the boot up screen so that it will boot straight into Windows 7 instead of asking users to choose which OS or waiting for 30 seconds and boot into Windows 7.</p>
<p><span id="more-320"></span></p>
<ol>
<li>Click on <strong>Start</strong>, <strong>All Programs</strong>, <strong>Accessories</strong>.</li>
<li>Right click on <strong>Command Prompt</strong> and choose <strong>Run as administrator</strong>.</li>
<li>Type the following command and press enter. Be sure to include the brackets around “{ntldr}”.</li>
</ol>
<p class="textborder">Bcdedit /delete {ntldr} /f</p>
<p><a href="http://devonenote.com/wp-content/uploads/2010/05/image13.png"><img class="wlDisabledImage" style="display: block; float: none; margin-left: auto; margin-right: auto; border-width: 0px;" title="image" src="http://devonenote.com/wp-content/uploads/2010/05/image_thumb10.png" alt="image" width="560" height="103" border="0" /></a></p>
<p>You should see a message The operation completed successfully after that, then restart your computer, you will not see Earlier Version of Windows boot option any more and now your computer will boot directly into Windows 7.</p>
<p>Related posts:<ol>
<li><a href='http://devonenote.com/2011/02/syspreped-windows-7-fail-with-windows-could-not-finish-configuring-the-system/' rel='bookmark' title='Syspreped Windows 7 fail with &quot;Windows could not finish configuring the system&quot;'>Syspreped Windows 7 fail with &quot;Windows could not finish configuring the system&quot;</a></li>
<li><a href='http://devonenote.com/2011/02/install-remote-server-administration-tools-on-windows-7-sp1/' rel='bookmark' title='Install Remote Server Administration Tools on Windows 7 SP1'>Install Remote Server Administration Tools on Windows 7 SP1</a></li>
<li><a href='http://devonenote.com/2010/04/delete-windows-old/' rel='bookmark' title='Delete windows.old'>Delete windows.old</a></li>
<li><a href='http://devonenote.com/2010/04/manage-hyper-v-remotely-from-windows-7/' rel='bookmark' title='Manage Hyper-V remotely from windows 7'>Manage Hyper-V remotely from windows 7</a></li>
<li><a href='http://devonenote.com/2010/04/windows-could-not-connect-to-the-system-event-notification-service/' rel='bookmark' title='Windows could not connect to the System Event Notification Service'>Windows could not connect to the System Event Notification Service</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://devonenote.com/2010/05/remove-earlier-version-of-windows-boot-option/feed/</wfw:commentRss>
		<slash:comments>9</slash:comments>
		</item>
		<item>
		<title>How to Install Hyper-V</title>
		<link>http://devonenote.com/2010/04/how-to-install-hyper-v/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=how-to-install-hyper-v</link>
		<comments>http://devonenote.com/2010/04/how-to-install-hyper-v/#comments</comments>
		<pubDate>Fri, 30 Apr 2010 08:05:41 +0000</pubDate>
		<dc:creator>emma</dc:creator>
				<category><![CDATA[Tutorial]]></category>
		<category><![CDATA[Virtualization]]></category>
		<category><![CDATA[Hyper-V]]></category>

		<guid isPermaLink="false">http://devonenote.com/2010/04/how-to-install-hyper-v/</guid>
		<description><![CDATA[What is Hyper-V Hyper-V is Microsoft&#8217;s supported form of machine virtualization.  It allows you to run any number of guest machines on your host machine.  Each guest thinks it&#8217;s running on its own hardware, and is unaware that it&#8217;s just &#8230; <a href="http://devonenote.com/2010/04/how-to-install-hyper-v/">Continue reading <span class="meta-nav">&#8594;</span></a>
Related posts:<ol>
<li><a href='http://devonenote.com/2012/01/how-to-turn-on-client-hyper-v-in-windows-8/' rel='bookmark' title='How to turn on client hyper-v in Windows 8'>How to turn on client hyper-v in Windows 8</a></li>
<li><a href='http://devonenote.com/2010/04/manage-hyper-v-remotely-from-windows-7/' rel='bookmark' title='Manage Hyper-V remotely from windows 7'>Manage Hyper-V remotely from windows 7</a></li>
<li><a href='http://devonenote.com/2010/08/hyper-v-vm-slow-on-windows-server-2008-r2/' rel='bookmark' title='Hyper-V VM Slow on Windows Server 2008 R2'>Hyper-V VM Slow on Windows Server 2008 R2</a></li>
<li><a href='http://devonenote.com/2011/09/hal_initialization_failed-error-when-install-windows-8-developer-preview-on-vpc/' rel='bookmark' title='HAL_INITIALIZATION_FAILED Error when install Windows 8 Developer Preview on VPC'>HAL_INITIALIZATION_FAILED Error when install Windows 8 Developer Preview on VPC</a></li>
<li><a href='http://devonenote.com/2012/01/hyper-v-tip-use-windows-key-without-fullscreen/' rel='bookmark' title='Hyper-v Tip: Use windows key without fullscreen'>Hyper-v Tip: Use windows key without fullscreen</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<h3>What is Hyper-V</h3>
<p>Hyper-V is Microsoft&#8217;s supported form of machine virtualization.  It allows you to run any number of guest machines on your host machine.  Each guest thinks it&#8217;s running on its own hardware, and is unaware that it&#8217;s just a simulation.</p>
<p>Hyper-V also provides an easy way to snapshot and rollback virtual machine to an old saved stage.</p>
<h3>Hyper Installation Prerequisites</h3>
<ul>
<li>Operation System &#8211; Hyper-V is only available in 64 bit versions of Windows Server 2008 and Windows Server 2008 R2</li>
<li>Hardware – Processors should include a virtualization option. For example, Intel Virtualization Technology (Intel VT) or AMD Virtualization (AMD-V).</li>
</ul>
<p>If you are not sure if your computer processor supports hardware virtualization, you can checkout Microsoft’s <a href="http://www.microsoft.com/downloads/details.aspx?displaylang=en&amp;FamilyID=0ee2a17f-8538-4619-8d1c-05d27e11adb2" target="_blank">Hardware-Assisted Virtualization Detection Tool</a>. The tool also checks if virtualization is enabled on the processor.</p>
<h3><span id="more-314"></span>Hyper-V Installation</h3>
<ol>
<li>Log on to the system using an account with administrative privileges.</li>
<li>From the <strong>Start / Administrative Tools</strong>, run the <strong>Server Manager</strong> snap-in.</li>
<li>On the <strong>User Account Control</strong> dialog click <strong>Continue</strong>.</li>
<li>Navigate to the <strong>Roles</strong> node and click <strong>Add Roles</strong>.</li>
<li>On the <strong>Before You Begin</strong> page, click <strong>Next</strong>.</li>
<li>On the <strong>Select Server Roles</strong> page, select <strong>Hyper-V</strong> and click <strong>Next</strong>.</li>
<li>On the <strong>Create Virtual Networks</strong> page, click on the network adapters you want to make available to virtual machines and click <strong>Next</strong>.</li>
<li>On the <strong>Confirm Installation Selections</strong> page, click <strong>Install</strong>.</li>
<li>Click <strong>Close</strong> to finish the wizard, and then click <strong>Yes</strong> to restart the computer.</li>
<li>After the <strong>Resume Configuration Wizard</strong> completes the installation, click <strong>Close</strong> to finish the wizard.</li>
</ol>
<p>Note: The Hpyer-V in Windows Server 2008 media is a pre-release version. If you used the Windows Server 2008 x64 RTM as host operation system, you will need to upgrade the Hyper-V to RTM version by installing the <strong>Hyper-V Update for Windows Server 2008 (KB950050)</strong>.</p>
<ol>
<li>Download and install the <strong>Windows6.0-KB950050-x86.msu</strong> update from the following link: <a href="http://www.microsoft.com/downloads/details.aspx?FamilyId=6F69D661-5B91-4E5E-A6C0-210E629E1C42&amp;displaylang=en" target="_blank">http://www.microsoft.com/downloads/details.aspx?FamilyId=6F69D661-5B91-4E5E-A6C0-210E629E1C42&amp;displaylang=en</a></li>
<li>Restart the system.</li>
</ol>
<p>Related posts:<ol>
<li><a href='http://devonenote.com/2012/01/how-to-turn-on-client-hyper-v-in-windows-8/' rel='bookmark' title='How to turn on client hyper-v in Windows 8'>How to turn on client hyper-v in Windows 8</a></li>
<li><a href='http://devonenote.com/2010/04/manage-hyper-v-remotely-from-windows-7/' rel='bookmark' title='Manage Hyper-V remotely from windows 7'>Manage Hyper-V remotely from windows 7</a></li>
<li><a href='http://devonenote.com/2010/08/hyper-v-vm-slow-on-windows-server-2008-r2/' rel='bookmark' title='Hyper-V VM Slow on Windows Server 2008 R2'>Hyper-V VM Slow on Windows Server 2008 R2</a></li>
<li><a href='http://devonenote.com/2011/09/hal_initialization_failed-error-when-install-windows-8-developer-preview-on-vpc/' rel='bookmark' title='HAL_INITIALIZATION_FAILED Error when install Windows 8 Developer Preview on VPC'>HAL_INITIALIZATION_FAILED Error when install Windows 8 Developer Preview on VPC</a></li>
<li><a href='http://devonenote.com/2012/01/hyper-v-tip-use-windows-key-without-fullscreen/' rel='bookmark' title='Hyper-v Tip: Use windows key without fullscreen'>Hyper-v Tip: Use windows key without fullscreen</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://devonenote.com/2010/04/how-to-install-hyper-v/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>CopySourceAsHtml for Visual Studio 2010</title>
		<link>http://devonenote.com/2010/04/copysourceashtml-for-visual-studio-2010/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=copysourceashtml-for-visual-studio-2010</link>
		<comments>http://devonenote.com/2010/04/copysourceashtml-for-visual-studio-2010/#comments</comments>
		<pubDate>Tue, 27 Apr 2010 17:23:18 +0000</pubDate>
		<dc:creator>emma</dc:creator>
				<category><![CDATA[Development]]></category>
		<category><![CDATA[Productivity Tools]]></category>
		<category><![CDATA[Tips and Tricks]]></category>
		<category><![CDATA[Tutorial]]></category>
		<category><![CDATA[Code]]></category>
		<category><![CDATA[Tools]]></category>
		<category><![CDATA[Visual Studio]]></category>

		<guid isPermaLink="false">http://devonenote.com/2010/04/copysourceashtml-for-visual-studio-2010/</guid>
		<description><![CDATA[CopySourceAsHtml is an add-in for Microsoft Visual Studio 2008 that allows you be able to quickly get your code as HTML from Visual Studio, just like being able to save it as a HTML file from the Save As dialog. &#8230; <a href="http://devonenote.com/2010/04/copysourceashtml-for-visual-studio-2010/">Continue reading <span class="meta-nav">&#8594;</span></a>
Related posts:<ol>
<li><a href='http://devonenote.com/2010/04/final-visual-studio-2010-available-for-download/' rel='bookmark' title='Final Visual Studio 2010 available for download'>Final Visual Studio 2010 available for download</a></li>
<li><a href='http://devonenote.com/2010/05/visual-studio-themes-and-color-schemes/' rel='bookmark' title='Visual Studio Themes and Color Schemes'>Visual Studio Themes and Color Schemes</a></li>
<li><a href='http://devonenote.com/2010/03/visual-studio-plug-in-ghostdoc/' rel='bookmark' title='Visual Studio plug-in: GhostDoc'>Visual Studio plug-in: GhostDoc</a></li>
<li><a href='http://devonenote.com/2011/10/in-the-vs-solution-explorer-highlight-the-current-edited-file/' rel='bookmark' title='Highlight the file you work with in Visual Studio Solution Explorer'>Highlight the file you work with in Visual Studio Solution Explorer</a></li>
<li><a href='http://devonenote.com/2010/03/find-dead-code/' rel='bookmark' title='Find Dead Code'>Find Dead Code</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p><a href="http://copysourceashtml.codeplex.com/" target="_blank">CopySourceAsHtml</a> is an add-in for Microsoft Visual Studio 2008 that allows you be able to quickly get your code as HTML from Visual Studio, just like being able to save it as a HTML file from the Save As dialog. It’s very helpful if you frequently post code to blog or send code in email.</p>
<p>I recently switched to Visual Studio 2010 and noticed this plug in is not ready for Visual Studio 2010 yet. Here is how you can get it work for Visual Studio before CopySourceAsHtml owner releases an official update to support Visual Studio 2010.</p>
<p><span id="more-313"></span></p>
<p>Download latest CopySourceAsHtml <a href="http://copysourceashtml.codeplex.com/releases/view/31129" target="_blank">msi</a> and install it</p>
<ol>
<li>By default it will be installed toC:\Users\<span style="color: #ff0000;">&lt;username&gt;</span>\Documents\Visual Studio 2008\Addins</li>
<li>Create a folder named Addins under C:\Users\<span style="color: #ff0000;">&lt;username&gt;</span>\Documents\Visual Studio 2010 and copy CopySourceAsHtml.AddIn here.</li>
<li>Modify Line #5 and #9 change &lt;Version&gt;<span style="background-color: #ffff00;">9</span>.0&lt;/Version&gt; to&lt;Version&gt;<span style="background-color: #ffff00;">10</span>.0&lt;/Version&gt;</li>
<li>Launch Visual Studio 2010 –&gt; Tools –&gt; Addin Manager, if you see CopySourceAsHtml shows up, then it’s enabled successfully.<a href="http://devonenote.com/wp-content/uploads/2010/04/image17.png"><img class="wlDisabledImage" style="display: block; float: none; margin-left: auto; margin-right: auto; border-width: 0px;" title="image" src="http://devonenote.com/wp-content/uploads/2010/04/image_thumb14.png" border="0" alt="image" width="480" height="312" /></a></li>
</ol>
<p>6. Now you can select the code and get html by clicking Copy As Html</p>
<p><a href="http://devonenote.com/wp-content/uploads/2010/04/image18.png"><img class="wlDisabledImage" style="margin: 0px auto; display: block; float: none; border-width: 0px;" title="image" src="http://devonenote.com/wp-content/uploads/2010/04/image_thumb15.png" border="0" alt="image" width="364" height="459" /></a></p>
<p>This is an example. CopySourceAsHtml also provides options to show/hide control line number, word wrap and so on.</p>
<div style="font-family: consolas; background: white; color: black; font-size: 10pt;">
<p style="margin: 0px;"><span style="color: #2b91af;"> </span></p>
<p style="margin: 0px;"><span style="color: #2b91af;">1</span> <span style="color: blue;">using</span> System;</p>
<p style="margin: 0px;"><span style="color: #2b91af;">2</span> <span style="color: blue;">using</span> System.Collections.Generic;</p>
<p style="margin: 0px;"><span style="color: #2b91af;">3</span> <span style="color: blue;">using</span> System.Linq;</p>
<p style="margin: 0px;"><span style="color: #2b91af;">4</span> <span style="color: blue;">using</span> System.Text;</p>
<p style="margin: 0px;"><span style="color: #2b91af;">5</span></p>
<p style="margin: 0px;"><span style="color: #2b91af;">6</span> <span style="color: blue;">namespace</span> HelloWorld</p>
<p style="margin: 0px;"><span style="color: #2b91af;">7</span> {</p>
<p style="margin: 0px;"><span style="color: #2b91af;">8</span> <span style="color: blue;">class</span> <span style="color: #2b91af;">Program</span></p>
<p style="margin: 0px;"><span style="color: #2b91af;">9</span> {</p>
<p style="margin: 0px;"><span style="color: #2b91af;">10</span> <span style="color: blue;">static</span> <span style="color: blue;">void</span> Main(<span style="color: blue;">string</span>[] args)</p>
<p style="margin: 0px;"><span style="color: #2b91af;">11</span> {</p>
<p style="margin: 0px;"><span style="color: #2b91af;">12</span> <span style="color: green;">// My first application</span></p>
<p style="margin: 0px;"><span style="color: #2b91af;">13</span> System.<span style="color: #2b91af;">Console</span>.WriteLine(<span style="color: #a31515;">&#8220;Hello, World!&#8221;</span>);</p>
<p style="margin: 0px;"><span style="color: #2b91af;">14</span> }</p>
<p style="margin: 0px;"><span style="color: #2b91af;">15</span> }</p>
<p style="margin: 0px;"><span style="color: #2b91af;">16</span> }</p>
<p style="margin: 0px;">
</div>
<p>Related posts:<ol>
<li><a href='http://devonenote.com/2010/04/final-visual-studio-2010-available-for-download/' rel='bookmark' title='Final Visual Studio 2010 available for download'>Final Visual Studio 2010 available for download</a></li>
<li><a href='http://devonenote.com/2010/05/visual-studio-themes-and-color-schemes/' rel='bookmark' title='Visual Studio Themes and Color Schemes'>Visual Studio Themes and Color Schemes</a></li>
<li><a href='http://devonenote.com/2010/03/visual-studio-plug-in-ghostdoc/' rel='bookmark' title='Visual Studio plug-in: GhostDoc'>Visual Studio plug-in: GhostDoc</a></li>
<li><a href='http://devonenote.com/2011/10/in-the-vs-solution-explorer-highlight-the-current-edited-file/' rel='bookmark' title='Highlight the file you work with in Visual Studio Solution Explorer'>Highlight the file you work with in Visual Studio Solution Explorer</a></li>
<li><a href='http://devonenote.com/2010/03/find-dead-code/' rel='bookmark' title='Find Dead Code'>Find Dead Code</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://devonenote.com/2010/04/copysourceashtml-for-visual-studio-2010/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>WordPress Keyword Description</title>
		<link>http://devonenote.com/2010/04/wordpress-keyword-description/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=wordpress-keyword-description</link>
		<comments>http://devonenote.com/2010/04/wordpress-keyword-description/#comments</comments>
		<pubDate>Sat, 24 Apr 2010 20:09:59 +0000</pubDate>
		<dc:creator>emma</dc:creator>
				<category><![CDATA[Tutorial]]></category>
		<category><![CDATA[SEO]]></category>
		<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://devonenote.com/2010/04/wordpress-keyword-description/</guid>
		<description><![CDATA[In most of WordPress themes, there is not meta description and meta keywords handle. This result every page of site has a empty description and keyword in page header, which is not good from search engine’s perspective. This can be &#8230; <a href="http://devonenote.com/2010/04/wordpress-keyword-description/">Continue reading <span class="meta-nav">&#8594;</span></a>
Related posts:<ol>
<li><a href='http://devonenote.com/2010/06/wordpress-3-0-cannot-export/' rel='bookmark' title='WordPress 3.0 Cannot Export'>WordPress 3.0 Cannot Export</a></li>
<li><a href='http://devonenote.com/2010/03/install-local-wordpress-environment-on-windows/' rel='bookmark' title='Install Local WordPress Environment on Windows'>Install Local WordPress Environment on Windows</a></li>
<li><a href='http://devonenote.com/2010/05/wordpress-3-0-beta-2-released/' rel='bookmark' title='WordPress 3.0 Beta 2 Released'>WordPress 3.0 Beta 2 Released</a></li>
<li><a href='http://devonenote.com/2010/04/wordpress-3-0-features/' rel='bookmark' title='WordPress 3.0 Features'>WordPress 3.0 Features</a></li>
<li><a href='http://devonenote.com/2011/01/wordpress-remove-admin-bar/' rel='bookmark' title='WordPress Remove Admin Bar'>WordPress Remove Admin Bar</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>In most of WordPress themes, there is not meta description and meta keywords handle. This result every page of site has a empty description and keyword in page header, which is not good from search engine’s perspective.</p>
<p>This can be workaround by installing plug All in One SEO. But for those who concern plugin will slow down their sites, here is a simple hack, all needs to do here is just adding a few lines in header.php.</p>
<p>Firstly open header.php, find this line &lt;meta http-equiv=&#8221;content-type&#8221; content=&#8221;text/html; charset=&lt;?php bloginfo(&#8216;charset&#8217;); ?&gt;&#8221; /&gt;</p>
<p><span id="more-306"></span>Secondly, add following code after it.</p>
<p class="textborder">
&lt;?php if (is_single()){<br />
$description =  substr(strip_tags($post-&gt;post_content),0,220);<br />
$keywords = &#8220;&#8221;;<br />
$tags = wp_get_post_tags($post-&gt;ID);<br />
foreach ($tags as $tag ) {<br />
$keywords = $keywords . $tag-&gt;name . &#8220;, &#8220;;<br />
}<br />
}else{<br />
$description = &#8220;<span style="color: #ff0000;">REPLACE W HOMEPAGE DESCRIPTION STRINGS</span>&#8220;;<br />
$keywords = &#8220;<span style="color: #ff0000;">REPLACE W HOMEPAGE KEYWORDS</span>&#8220;;<br />
}<br />
?&gt;<br />
&lt;meta name=&#8221;keywords&#8221; content=&#8221;&lt;?php echo $keywords; ?&gt;&#8221; /&gt;<br />
&lt;meta name=&#8221;description&#8221; content=&#8221;&lt;?php echo $description; ?&gt;&#8221; /&gt;
</p>
<p>Here is how it works, when a web page is loaded, wordpress will check page type, if it’s a single post, tags strings will be set as keywords and the first 220 letters of post will be set as descriptions. Otherwise, a hard coded keyword and description strings will be set.</p>
<p>Now giving up adding keywords and description in every single post and get rid of All in One SEO.</p>
<p>Related posts:<ol>
<li><a href='http://devonenote.com/2010/06/wordpress-3-0-cannot-export/' rel='bookmark' title='WordPress 3.0 Cannot Export'>WordPress 3.0 Cannot Export</a></li>
<li><a href='http://devonenote.com/2010/03/install-local-wordpress-environment-on-windows/' rel='bookmark' title='Install Local WordPress Environment on Windows'>Install Local WordPress Environment on Windows</a></li>
<li><a href='http://devonenote.com/2010/05/wordpress-3-0-beta-2-released/' rel='bookmark' title='WordPress 3.0 Beta 2 Released'>WordPress 3.0 Beta 2 Released</a></li>
<li><a href='http://devonenote.com/2010/04/wordpress-3-0-features/' rel='bookmark' title='WordPress 3.0 Features'>WordPress 3.0 Features</a></li>
<li><a href='http://devonenote.com/2011/01/wordpress-remove-admin-bar/' rel='bookmark' title='WordPress Remove Admin Bar'>WordPress Remove Admin Bar</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://devonenote.com/2010/04/wordpress-keyword-description/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

