<?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>Jonathan Medd&#039;s Blog &#187; Windows Server 2008</title>
	<atom:link href="http://www.jonathanmedd.net/category/windows-server-2008/feed" rel="self" type="application/rss+xml" />
	<link>http://www.jonathanmedd.net</link>
	<description>Scripting. Powershell, VMware, Windows, Active Directory &#38; Exchange. All that kind of stuff.....</description>
	<lastBuildDate>Wed, 21 Jul 2010 12:41:22 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>PowerShell ISE on Windows Server 2008 &#8211; what version of .NET is required?</title>
		<link>http://www.jonathanmedd.net/2009/12/powershell-ise-on-windows-server-2008-what-version-of-net-is-required.html</link>
		<comments>http://www.jonathanmedd.net/2009/12/powershell-ise-on-windows-server-2008-what-version-of-net-is-required.html#comments</comments>
		<pubDate>Tue, 15 Dec 2009 12:00:33 +0000</pubDate>
		<dc:creator>Jonathan Medd</dc:creator>
				<category><![CDATA[Windows Server 2008]]></category>
		<category><![CDATA[powershell]]></category>

		<guid isPermaLink="false">http://www.jonathanmedd.net/?p=413</guid>
		<description><![CDATA[After installing the Windows Management Framework, a.k.a PowerShell 2.0, on my test Windows 2008 64 bit Server I fired up the new PowerShell ISE tool and was prompted with this error:

I already knew that PowerShell ISE had a higher dependency on .NET than PowerShell itself which only requires .NET 2.0, however I was curious about [...]]]></description>
			<content:encoded><![CDATA[<p>After installing the Windows Management Framework, a.k.a <a href="http://support.microsoft.com/kb/968929" target="_blank">PowerShell 2.0</a>, on my test Windows 2008 64 bit Server I fired up the new PowerShell ISE tool and was prompted with this error:</p>
<p><a rel="attachment wp-att-414" href="http://www.jonathanmedd.net/2009/12/powershell-ise-on-windows-server-2008-what-version-of-net-is-required.html/ise351"><img class="aligncenter size-full wp-image-414" title="ISE351" src="http://www.jonathanmedd.net/wp-content/uploads/2009/12/ISE351.png" alt="ISE351" width="462" height="175" /></a></p>
<p>I already knew that PowerShell ISE had a higher dependency on .NET than PowerShell itself which only requires .NET 2.0, however I was curious about the statement in the above message which states:</p>
<p><strong>&#8220;If you are running Windows Server 2008, you must use Server Manager to install or configure &#8220;.NET Framework 3.5.1&#8243;</strong></p>
<p>I knew on my test Windows Server 2008 box that in Server Manager I only had the option to install .NET Framework 3.0, not 3.5.1.</p>
<p><a rel="attachment wp-att-416" href="http://www.jonathanmedd.net/2009/12/powershell-ise-on-windows-server-2008-what-version-of-net-is-required.html/net30-2"><img class="aligncenter size-full wp-image-416" title="NET30" src="http://www.jonathanmedd.net/wp-content/uploads/2009/12/NET301.png" alt="NET30" width="583" height="158" /></a></p>
<p>Anyway, I duly installed .NET 3.0 through Server Manager to see what the effect would be on PowerShell ISE.</p>
<p><a rel="attachment wp-att-417" href="http://www.jonathanmedd.net/2009/12/powershell-ise-on-windows-server-2008-what-version-of-net-is-required.html/net30succeed"><img class="aligncenter size-full wp-image-417" title="NET30Succeed" src="http://www.jonathanmedd.net/wp-content/uploads/2009/12/NET30Succeed.png" alt="NET30Succeed" width="583" height="161" /></a></p>
<p>After the successful installation of .NET 3.0 I fired up the very useful tool <a href="http://www.raymond.cc/blog/archives/2008/11/06/how-to-check-what-version-of-microsoft-net-framework-is-installed-in-computer/" target="_blank">ASoft .NET Version Detector 2007</a> to confirm what versions of of .NET where installed on the machine. (I had already checked in C:\Windows\Microsoft.NET , but ran this tool just to make doubly sure I wasn&#8217;t missing something.)</p>
<p><a rel="attachment wp-att-418" href="http://www.jonathanmedd.net/2009/12/powershell-ise-on-windows-server-2008-what-version-of-net-is-required.html/netcheck"><img class="aligncenter size-full wp-image-418" title="NETCheck" src="http://www.jonathanmedd.net/wp-content/uploads/2009/12/NETCheck.png" alt="NETCheck" width="353" height="448" /></a></p>
<p>So I had .NET 2.0 SP2 and 3.0, but not 3.5.1. I fired up PowerShell ISE and low and behold it opened.</p>
<p><a rel="attachment wp-att-419" href="http://www.jonathanmedd.net/2009/12/powershell-ise-on-windows-server-2008-what-version-of-net-is-required.html/powershellise"><img class="aligncenter size-full wp-image-419" title="PowerShellISE" src="http://www.jonathanmedd.net/wp-content/uploads/2009/12/PowerShellISE.png" alt="PowerShellISE" width="523" height="374" /></a></p>
<p>So my question is does PowerShell ISE require .NET 3.5.1 or only .NET 3.0? Answers on a postcard or comments on the blog please!</p>
<h3>Update:</h3>
<p>Thanks to <a href="http://powershellers.blogspot.com/" target="_blank">Aleksandar</a> who pointed out that the answer is in PowerShell help itself and that only .NET 3.0 is required.</p>
<pre><span style="color: #5F9EA0; font-weight: bold;">Get-Help</span><span style="color: #000000;"> </span><span style="color: #800000;">about_Windows_PowerShell_ISE</span></pre>
<p><a rel="attachment wp-att-431" href="http://www.jonathanmedd.net/2009/12/powershell-ise-on-windows-server-2008-what-version-of-net-is-required.html/powershellisehelp"><img class="aligncenter size-full wp-image-431" title="PowerShellISEHelp" src="http://www.jonathanmedd.net/wp-content/uploads/2009/12/PowerShellISEHelp.png" alt="PowerShellISEHelp" width="612" height="174" /></a></p>
<p>So it would appear that the error message in Windows Server 2008 at the top of this post is slightly misleading&#8230;&#8230;&#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.jonathanmedd.net/2009/12/powershell-ise-on-windows-server-2008-what-version-of-net-is-required.html/feed</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Extending the System Disk in Windows Server 2008</title>
		<link>http://www.jonathanmedd.net/2009/11/extending-the-system-disk-in-windows-server-2008.html</link>
		<comments>http://www.jonathanmedd.net/2009/11/extending-the-system-disk-in-windows-server-2008.html#comments</comments>
		<pubDate>Wed, 11 Nov 2009 18:51:51 +0000</pubDate>
		<dc:creator>Jonathan Medd</dc:creator>
				<category><![CDATA[Windows Server 2008]]></category>
		<category><![CDATA[vmware]]></category>

		<guid isPermaLink="false">http://www.jonathanmedd.net/?p=228</guid>
		<description><![CDATA[As a system administrator it is often not the latest and greatest big new features of a new operating system which you end up finding the most useful, sometimes its the small improvements which really make your life easier. I&#8217;ve been spending a lot more time with Windows Server 2008 recently (OK, I know R2 [...]]]></description>
			<content:encoded><![CDATA[<p>As a system administrator it is often not the latest and greatest big new features of a new operating system which you end up finding the most useful, sometimes its the small improvements which really make your life easier. I&#8217;ve been spending a lot more time with Windows Server 2008 recently (OK, I know R2 is out, but it takes time for large organisations to move away from older OS&#8217;s and applications.)</p>
<p>Obviously there are great new headline features with things like Server Core and Read-Only Domain Controllers, but I have found a new feature I love which is the abilty to extend a system disk without having to go through some kind of convoluted process. It is particularly easy if it is a VM and you have enough space on the existing datastore to extend the VM&#8217;s disk without requesting more storage from your SAN team.</p>
<p>In VSphere 4.0 it even lets me extend the size of the vmdk with the server powered on, I don&#8217;t remember that being possible in 3.5, but I might be wrong. The big advantage for this for me is the fact that you do not need downtime to carry out this whole process, either extending the vmdk or the system volume!</p>
<p><strong>Update:</strong> I just read in <a href="http://blog.scottlowe.org/2009/08/18/mastering-vmware-vsphere-4-is-out/" target="_blank">Mastering vSphere by Scott Lowe</a> that the above is a new feature in vSphere 4.0 and the VM is required to be hardware version 7.</p>
<p>Take the following steps to carry it out:</p>
<p>1) Edit the settings of the 2008 VM and increase the size of the disk.</p>
<p>2) Within the Disk Management MMC, kick off a &#8216;Rescan Disks&#8217;</p>
<p><a rel="attachment wp-att-229" href="http://www.jonathanmedd.net/2009/11/extending-the-system-disk-in-windows-server-2008.html/rescan"><img class="aligncenter size-medium wp-image-229" title="Rescan" src="http://www.jonathanmedd.net/wp-content/uploads/2009/11/Rescan-300x132.png" alt="Rescan" width="300" height="132" /></a></p>
<p>3) You will now see the additional space available at the end of the current disk.</p>
<p><a rel="attachment wp-att-230" href="http://www.jonathanmedd.net/2009/11/extending-the-system-disk-in-windows-server-2008.html/extra2gb"><img class="aligncenter size-medium wp-image-230" title="Extra2GB" src="http://www.jonathanmedd.net/wp-content/uploads/2009/11/Extra2GB-300x40.png" alt="Extra2GB" width="300" height="40" /></a></p>
<p>4) Right-click the C: drive and choose &#8216;Extend Volume&#8217;</p>
<p><a rel="attachment wp-att-231" href="http://www.jonathanmedd.net/2009/11/extending-the-system-disk-in-windows-server-2008.html/extend-volume"><img class="aligncenter size-medium wp-image-231" title="Extend Volume" src="http://www.jonathanmedd.net/wp-content/uploads/2009/11/Extend-Volume-300x150.png" alt="Extend Volume" width="300" height="150" /></a></p>
<p>5) Follow the wizard through to add the additonal space. On completion your system disk will now have the additional space added &#8211; all with no downtime!</p>
<p><a rel="attachment wp-att-232" href="http://www.jonathanmedd.net/2009/11/extending-the-system-disk-in-windows-server-2008.html/17gb"><img class="aligncenter size-medium wp-image-232" title="17GB" src="http://www.jonathanmedd.net/wp-content/uploads/2009/11/17GB-300x38.png" alt="17GB" width="300" height="38" /></a></p>
<p>For completeness there are a number of ways you could do this in Window Server 2003, the way I have typically used is the following. (Make sure you have a good backup of this VM before going ahead)</p>
<p>1) Power down the VM. Edit the settings of the VM to grow the VMDK. Do not power on the VM!</p>
<p>2) Find another Windows Server 2003 VM which is Powered On and has access to the same datastores. Edit the settings of the VM, add an additional hard disk, select the option to use an existing virtual disk, browse to the initial VM&#8217;s vmdk and select it.</p>
<p>3) In Disk Management Rescan the disks and you will see an additional drive with unallocated space available other than your current drives.</p>
<p>4) Use the command line utility <strong>diskpart </strong>to extend this drive.</p>
<ul>
<li>Enter <strong>diskpart</strong> to start</li>
<li><strong>List Volume</strong> will show available volumes on the machine</li>
<li>Check the additional volume has not been listed as a<strong> System</strong> partition</li>
<li>Select that volume with <strong>Select Volume <em>volumenumber</em></strong></li>
<li>Enter <strong>Extend</strong> to increase the size of the drive with all available space</li>
<li><strong>List Volume</strong> will let you check it was successful</li>
<li><strong>Exit</strong> to finish</li>
</ul>
<p>Go back into Disk Management and you should be able to see a larger drive.</p>
<p>5) Edit the settings of the VM and remove the additional disk &#8211; make sure you do not select the option to delete the files from disk!</p>
<p>6) Power the initial VM back on. After logging back in the first time you will most likely be prompted to restart the server. Once logged back in, check Disk Management to see the larger system disk.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.jonathanmedd.net/2009/11/extending-the-system-disk-in-windows-server-2008.html/feed</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
	</channel>
</rss>
