<?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>Thomas Maurer (tm) &#187; Microsoft</title>
	<atom:link href="http://www.thomasmaurer.ch/tag/microsoft/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.thomasmaurer.ch</link>
	<description>Just another private cloud weblog</description>
	<lastBuildDate>Mon, 06 Feb 2012 19:10:45 +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>TechNet Wiki: Hyper-V Tool Collection</title>
		<link>http://www.thomasmaurer.ch/2012/02/technet-wiki-hyper-v-tool-collection/</link>
		<comments>http://www.thomasmaurer.ch/2012/02/technet-wiki-hyper-v-tool-collection/#comments</comments>
		<pubDate>Mon, 06 Feb 2012 19:10:45 +0000</pubDate>
		<dc:creator>Thomas Maurer</dc:creator>
				<category><![CDATA[Hyper-V]]></category>
		<category><![CDATA[IT]]></category>
		<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[Server Core]]></category>
		<category><![CDATA[Virtualization]]></category>
		<category><![CDATA[Web]]></category>
		<category><![CDATA[Windows Server]]></category>
		<category><![CDATA[Windows Server 2008 R2]]></category>
		<category><![CDATA[Work]]></category>
		<category><![CDATA[Hyper-v r2]]></category>
		<category><![CDATA[Hyper-V Tools]]></category>
		<category><![CDATA[TechNet]]></category>
		<category><![CDATA[Tools]]></category>
		<category><![CDATA[Wiki]]></category>

		<guid isPermaLink="false">http://www.thomasmaurer.ch/?p=3149</guid>
		<description><![CDATA[Microsoft and the community are really starting to work with the TechNet Wiki platform. Now thanks to James van den Berg I found a great wiki page with a collection of Hyper-V tools. The collection includes a list of the &#8230; <a href="http://www.thomasmaurer.ch/2012/02/technet-wiki-hyper-v-tool-collection/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<!-- Start Shareaholic LikeButtonSetTop Automatic --><!-- End Shareaholic LikeButtonSetTop Automatic --><div class='dd_post_share'><div class='dd_buttons'><div class='dd_button'><script type='text/javascript' src='https://apis.google.com/js/plusone.js'></script><g:plusone size='small' href='http://www.thomasmaurer.ch/2012/02/technet-wiki-hyper-v-tool-collection/'></g:plusone></div><div class='dd_button'><a href="http://twitter.com/share" class="twitter-share-button" data-url="http://www.thomasmaurer.ch/2012/02/technet-wiki-hyper-v-tool-collection/" data-count="horizontal" data-text="TechNet Wiki: Hyper-V Tool Collection" data-via="thomasmaurer" ></a><script type="text/javascript" src="http://platform.twitter.com/widgets.js"></script></div><div class='dd_button'><iframe src='http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Fwww.thomasmaurer.ch%2F2012%2F02%2Ftechnet-wiki-hyper-v-tool-collection%2F&amp;locale=en_US&amp;layout=button_count&amp;action=like&amp;width=92&amp;height=20&amp;colorscheme=light' scrolling='no' frameborder='0' style='border:none; overflow:hidden; width:92px; height:20px;' allowTransparency='true'></iframe></div></div><div style='clear:both'></div></div><div style='clear:both'></div><p><img class="aligncenter size-medium wp-image-1867" title="Hyper-V R2 SP1" src="http://www.thomasmaurer.ch/wp-content/uploads/2011/04/3056.hyper-v2-large-msg_thumb_0D8890EC-300x168.jpg" alt="Hyper-V R2 SP1" width="300" height="168" /></p>
<p>Microsoft and the community are really starting to work with the <a title="Microsoft TechNet Wiki" href="http://social.technet.microsoft.com/wiki/contents/articles/default.aspx" target="_blank">TechNet Wiki platform</a>. Now thanks to <a title="James van den Berg" href="http://mountainss.wordpress.com/" target="_blank">James van den Berg</a> I found a great wiki page with a <a title="TechNet Hyper-V Tools" href="http://social.technet.microsoft.com/wiki/contents/articles/121.hyper-v-tools.aspx" target="_blank">collection of Hyper-V tools</a>.</p>
<p>The collection includes a list of the following content:</p>
<ul>
<li>Supported Microsoft Tools (Solution Accelerators, Product Downloads, etc.)</li>
<li>Microsoft Products and Solutions that are Built upon Hyper-V Technology</li>
<li>Remote Management from Client Versions of Windows</li>
<li>Unsupported Microsoft Tools (Sysinternals, MSDN/ScriptCenter Code Galleries, TechNet/MSDN Blogs)</li>
<li>Community Tools (CodePlex and blogs)</li>
<li>Third-party Free Tools</li>
<li>Hardware-Specific Tools from OEMs and Vendors</li>
<li>Partner Solutions (Commercially Available)</li>
<li>Application-specific Performance Planning/Testing/Analysis tools</li>
</ul>
<p>You can find also a lot of other interessting content on the TechNet Wiki. For example for Exchange, PowerShell and SQL.</p>
<!-- Social Buttons Generated by Digg Digg plugin v4.5.3.4, 
    Author : Yong Mook Kim
    Website : http://www.diggdigg2u.com --><div class="shr-publisher-3149"></div><!-- Start Shareaholic LikeButtonSetBottom Automatic --><!-- End Shareaholic LikeButtonSetBottom Automatic -->]]></content:encoded>
			<wfw:commentRss>http://www.thomasmaurer.ch/2012/02/technet-wiki-hyper-v-tool-collection/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Hyper-V.nu Event 2012 Videos</title>
		<link>http://www.thomasmaurer.ch/2012/02/hyper-v-nu-event-2012-videos/</link>
		<comments>http://www.thomasmaurer.ch/2012/02/hyper-v-nu-event-2012-videos/#comments</comments>
		<pubDate>Wed, 01 Feb 2012 15:15:07 +0000</pubDate>
		<dc:creator>Thomas Maurer</dc:creator>
				<category><![CDATA[Hyper-V]]></category>
		<category><![CDATA[IT]]></category>
		<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[Server Core]]></category>
		<category><![CDATA[System Center]]></category>
		<category><![CDATA[System Center Virtual Machine Manager 2012]]></category>
		<category><![CDATA[Virtualization]]></category>
		<category><![CDATA[Web]]></category>
		<category><![CDATA[Windows Server]]></category>
		<category><![CDATA[Windows Server 8]]></category>
		<category><![CDATA[Work]]></category>
		<category><![CDATA[Hyper-V 3]]></category>
		<category><![CDATA[hyper-v.nu]]></category>
		<category><![CDATA[Movies]]></category>
		<category><![CDATA[Private Cloud]]></category>
		<category><![CDATA[SCVMM]]></category>
		<category><![CDATA[SCVMM 2012]]></category>
		<category><![CDATA[Videos]]></category>

		<guid isPermaLink="false">http://www.thomasmaurer.ch/?p=3139</guid>
		<description><![CDATA[A few weeks ago was the Hyper-V.nu Community Event in Amsterdam. Carsten Rachfahl recorded the sessions. Hyper-V.NU &#8211; Keynote &#8211; Jaap Wesselius and Peter Noorderijk Hyper-V.NU &#8211; Windows Server 8 Hyper-V Networking &#8211; Aidan Finn listen carefully at 59:00 Hyper-V.NU &#8230; <a href="http://www.thomasmaurer.ch/2012/02/hyper-v-nu-event-2012-videos/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<!-- Start Shareaholic LikeButtonSetTop Automatic --><!-- End Shareaholic LikeButtonSetTop Automatic --><div class='dd_post_share'><div class='dd_buttons'><div class='dd_button'><script type='text/javascript' src='https://apis.google.com/js/plusone.js'></script><g:plusone size='small' href='http://www.thomasmaurer.ch/2012/02/hyper-v-nu-event-2012-videos/'></g:plusone></div><div class='dd_button'><a href="http://twitter.com/share" class="twitter-share-button" data-url="http://www.thomasmaurer.ch/2012/02/hyper-v-nu-event-2012-videos/" data-count="horizontal" data-text="Hyper-V.nu Event 2012 Videos" data-via="thomasmaurer" ></a><script type="text/javascript" src="http://platform.twitter.com/widgets.js"></script></div><div class='dd_button'><iframe src='http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Fwww.thomasmaurer.ch%2F2012%2F02%2Fhyper-v-nu-event-2012-videos%2F&amp;locale=en_US&amp;layout=button_count&amp;action=like&amp;width=92&amp;height=20&amp;colorscheme=light' scrolling='no' frameborder='0' style='border:none; overflow:hidden; width:92px; height:20px;' allowTransparency='true'></iframe></div></div><div style='clear:both'></div></div><div style='clear:both'></div><p>A few weeks ago was the <a title="hyper-v.nu" href="http://www.hyper-v.nu" target="_blank">Hyper-V.nu Community </a>Event in Amsterdam. <a title="hyper-v-server.de" href="http://www-hyper-v-server.de" target="_blank">Carsten Rachfahl</a> recorded the sessions.</p>
<h2>Hyper-V.NU &#8211; Keynote &#8211; Jaap Wesselius and Peter Noorderijk</h2>
<p><iframe src="http://www.youtube.com/embed/pTQ74Pnu5Fs" frameborder="0" width="560" height="315"></iframe></p>
<h2>Hyper-V.NU &#8211; Windows Server 8 Hyper-V Networking &#8211; Aidan Finn</h2>
<p>listen carefully at 59:00 <img src='http://www.thomasmaurer.ch/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' /><br />
<iframe src="http://www.youtube.com/embed/rGVrhNDpJLA" frameborder="0" width="560" height="315"></iframe></p>
<h2>Hyper-V.NU &#8211; SCVMM 2012 &#8211; Maarten Wijsman</h2>
<p><iframe src="http://www.youtube.com/embed/GctPTenGxu0" frameborder="0" width="560" height="315"></iframe></p>
<h2>Hyper-V.NU &#8211; Windows Server 8 Hyper-V Storage &#8212; Hans Vredevoort</h2>
<p><iframe src="http://www.youtube.com/embed/aPCf3zI9oDw" frameborder="0" width="560" height="315"></iframe></p>
<h2>Hyper-V.NU &#8211; Windows 8 DDDD &#8211; Ronald Beekelaar</h2>
<p><iframe src="http://www.youtube.com/embed/m1EsWaF0KBU" frameborder="0" width="560" height="315"></iframe></p>
<p>&nbsp;</p>
<!-- Social Buttons Generated by Digg Digg plugin v4.5.3.4, 
    Author : Yong Mook Kim
    Website : http://www.diggdigg2u.com --><div class="shr-publisher-3139"></div><!-- Start Shareaholic LikeButtonSetBottom Automatic --><!-- End Shareaholic LikeButtonSetBottom Automatic -->]]></content:encoded>
			<wfw:commentRss>http://www.thomasmaurer.ch/2012/02/hyper-v-nu-event-2012-videos/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>ThinkPad X1 and Windows 8</title>
		<link>http://www.thomasmaurer.ch/2012/01/thinkpad-x1-and-windows-8/</link>
		<comments>http://www.thomasmaurer.ch/2012/01/thinkpad-x1-and-windows-8/#comments</comments>
		<pubDate>Tue, 31 Jan 2012 18:35:44 +0000</pubDate>
		<dc:creator>Thomas Maurer</dc:creator>
				<category><![CDATA[Hardware]]></category>
		<category><![CDATA[Hyper-V]]></category>
		<category><![CDATA[IT]]></category>
		<category><![CDATA[Lenovo]]></category>
		<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[Pictures]]></category>
		<category><![CDATA[ThinkPad]]></category>
		<category><![CDATA[ThinkPad X1]]></category>
		<category><![CDATA[Virtualization]]></category>
		<category><![CDATA[Web]]></category>
		<category><![CDATA[Windows]]></category>
		<category><![CDATA[Windows 8]]></category>
		<category><![CDATA[Windows Server]]></category>
		<category><![CDATA[Work]]></category>
		<category><![CDATA[Review]]></category>
		<category><![CDATA[X1]]></category>

		<guid isPermaLink="false">http://www.thomasmaurer.ch/?p=3074</guid>
		<description><![CDATA[In the last days I got my new machine for work, a Lenovo ThinkPad X1. As usual I always want to work with the latest and greates technology, that&#8217;s why I have chosen to set up the ThinkPad X1 with Windows &#8230; <a href="http://www.thomasmaurer.ch/2012/01/thinkpad-x1-and-windows-8/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<!-- Start Shareaholic LikeButtonSetTop Automatic --><!-- End Shareaholic LikeButtonSetTop Automatic --><div class='dd_post_share'><div class='dd_buttons'><div class='dd_button'><script type='text/javascript' src='https://apis.google.com/js/plusone.js'></script><g:plusone size='small' href='http://www.thomasmaurer.ch/2012/01/thinkpad-x1-and-windows-8/'></g:plusone></div><div class='dd_button'><a href="http://twitter.com/share" class="twitter-share-button" data-url="http://www.thomasmaurer.ch/2012/01/thinkpad-x1-and-windows-8/" data-count="horizontal" data-text="ThinkPad X1 and Windows 8" data-via="thomasmaurer" ></a><script type="text/javascript" src="http://platform.twitter.com/widgets.js"></script></div><div class='dd_button'><iframe src='http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Fwww.thomasmaurer.ch%2F2012%2F01%2Fthinkpad-x1-and-windows-8%2F&amp;locale=en_US&amp;layout=button_count&amp;action=like&amp;width=92&amp;height=20&amp;colorscheme=light' scrolling='no' frameborder='0' style='border:none; overflow:hidden; width:92px; height:20px;' allowTransparency='true'></iframe></div></div><div style='clear:both'></div></div><div style='clear:both'></div><p><a href="http://www.thomasmaurer.ch/wp-content/uploads/2012/01/WP_000374.jpg" rel="lightbox[3074]"><img class="aligncenter size-medium wp-image-3131" title="ThinkPad X1 Windows 8" src="http://www.thomasmaurer.ch/wp-content/uploads/2012/01/WP_000374-300x225.jpg" alt="ThinkPad X1 Windows 8" width="300" height="225" /></a></p>
<p>In the last days I got my new machine for work, a Lenovo ThinkPad X1. As usual I always want to work with the latest and greates technology, that&#8217;s why I have chosen to set up the ThinkPad X1 with Windows 8.</p>
<p><a href="http://www.thomasmaurer.ch/wp-content/uploads/2012/01/WP_000366.jpg" rel="lightbox[3074]"><img class="aligncenter size-medium wp-image-3128" title="ThinkPad X1 Windows 8" src="http://www.thomasmaurer.ch/wp-content/uploads/2012/01/WP_000366-300x225.jpg" alt="ThinkPad X1 Windows 8" width="300" height="225" /></a></p>
<p>Even in Developer Preview state Windows 8 runs very stable and brings a lot of cool new features which I can use for my daily work. I love the new PowerShell versions and Internet Explorer 10. But the best and the biggest feature for me, is the integration of Hyper-V 3 in Windows 8. So I don&#8217;t have to use VMware Workstation or VirtualBox to run virtual machines on my notebook for testing or presentations. I also can simply use the VHD (or VHDX) format to play with virtual machines or even boot them via boot from VHD.</p>
<p><a href="http://www.thomasmaurer.ch/wp-content/uploads/2012/01/WP_000370.jpg" rel="lightbox[3074]"><img class="aligncenter size-medium wp-image-3130" title="ThinkPad X1 Windows 8" src="http://www.thomasmaurer.ch/wp-content/uploads/2012/01/WP_000370-300x225.jpg" alt="ThinkPad X1 Windows 8" width="300" height="225" /></a></p>
<p>The downside of the Windows 8 Developer Preview is missing .NET framework 3.5, but I think the Windows 8 beta, which should be released by the end of February, should fix this.</p>
<p><a href="http://www.thomasmaurer.ch/wp-content/uploads/2012/01/WP_000368.jpg" rel="lightbox[3074]"><img class="aligncenter size-medium wp-image-3129" title="ThinkPad X1 Windows 8" src="http://www.thomasmaurer.ch/wp-content/uploads/2012/01/WP_000368-300x225.jpg" alt="ThinkPad X1 Windows 8" width="300" height="225" /></a></p>
<p>Maybe some people have realized that I am a big fan of business style notebooks. And what would be better business design than the ThinkPad series. Lenovo tried to combine good old ThinkPad values with new design features, and in my opinion succeeded. I really like the ThinkPad design in this very slim chassis. It looks elegant and business &#8220;high-class&#8221;.</p>
<p>The build quality of the Lenovo ThinkPad X1 is like you would expect it from a ThinkPad. It feels great and very robust. <a href="http://blogs.technet.com/b/keithcombs/archive/2011/06/21/lenovo-thinkpad-x1-mini-review.aspx" target="_blank">Keith Combs </a>describes it in his review &#8221;The ThinkPad X1 is build like a tank.  It’s probably the most solid notebook I’ve ever had in my hands.&#8221; and I have to agree with him.</p>
<p><a href="http://www.thomasmaurer.ch/wp-content/uploads/2012/01/WP_0003791.jpg" rel="lightbox[3074]"><img class="aligncenter size-medium wp-image-3132" title="ThinkPad X1 Windows 8" src="http://www.thomasmaurer.ch/wp-content/uploads/2012/01/WP_0003791-300x225.jpg" alt="ThinkPad X1 Windows 8" width="300" height="225" /></a></p>
<p>More information on the Lenovo ThinkPad X1 <a title="Thinkpad X1" href="http://www.lenovo.com/products/us/laptop/thinkpad/x-series/x1/" target="_blank">here</a>.</p>
<p>&nbsp;</p>
<!-- Social Buttons Generated by Digg Digg plugin v4.5.3.4, 
    Author : Yong Mook Kim
    Website : http://www.diggdigg2u.com --><div class="shr-publisher-3074"></div><!-- Start Shareaholic LikeButtonSetBottom Automatic --><!-- End Shareaholic LikeButtonSetBottom Automatic -->]]></content:encoded>
			<wfw:commentRss>http://www.thomasmaurer.ch/2012/01/thinkpad-x1-and-windows-8/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>My new Nokia Lumia 800 &#8211; Windows Phone</title>
		<link>http://www.thomasmaurer.ch/2012/01/my-new-nokia-lumia-800-windows-phone/</link>
		<comments>http://www.thomasmaurer.ch/2012/01/my-new-nokia-lumia-800-windows-phone/#comments</comments>
		<pubDate>Mon, 23 Jan 2012 16:26:40 +0000</pubDate>
		<dc:creator>Thomas Maurer</dc:creator>
				<category><![CDATA[Hardware]]></category>
		<category><![CDATA[IT]]></category>
		<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[Nokia]]></category>
		<category><![CDATA[Web]]></category>
		<category><![CDATA[Windows Phone]]></category>
		<category><![CDATA[Windows Phone 7]]></category>
		<category><![CDATA[Work]]></category>
		<category><![CDATA[Lumia]]></category>
		<category><![CDATA[Lumia 800]]></category>
		<category><![CDATA[Swisscom]]></category>
		<category><![CDATA[Windowsphone]]></category>

		<guid isPermaLink="false">http://www.thomasmaurer.ch/?p=3106</guid>
		<description><![CDATA[Last week I got my Nokia Lumia 800 and even I already have read a lot of articles and reviews about it, I am impressed about the beautiful design and the build quality. The first problem noticed was the battery &#8230; <a href="http://www.thomasmaurer.ch/2012/01/my-new-nokia-lumia-800-windows-phone/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<!-- Start Shareaholic LikeButtonSetTop Automatic --><!-- End Shareaholic LikeButtonSetTop Automatic --><div class='dd_post_share'><div class='dd_buttons'><div class='dd_button'><script type='text/javascript' src='https://apis.google.com/js/plusone.js'></script><g:plusone size='small' href='http://www.thomasmaurer.ch/2012/01/my-new-nokia-lumia-800-windows-phone/'></g:plusone></div><div class='dd_button'><a href="http://twitter.com/share" class="twitter-share-button" data-url="http://www.thomasmaurer.ch/2012/01/my-new-nokia-lumia-800-windows-phone/" data-count="horizontal" data-text="My new Nokia Lumia 800 - Windows Phone" data-via="thomasmaurer" ></a><script type="text/javascript" src="http://platform.twitter.com/widgets.js"></script></div><div class='dd_button'><iframe src='http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Fwww.thomasmaurer.ch%2F2012%2F01%2Fmy-new-nokia-lumia-800-windows-phone%2F&amp;locale=en_US&amp;layout=button_count&amp;action=like&amp;width=92&amp;height=20&amp;colorscheme=light' scrolling='no' frameborder='0' style='border:none; overflow:hidden; width:92px; height:20px;' allowTransparency='true'></iframe></div></div><div style='clear:both'></div></div><div style='clear:both'></div><p><a href="http://www.thomasmaurer.ch/wp-content/uploads/2012/01/WP_000353.jpg" rel="lightbox[3106]"><img class="aligncenter size-medium wp-image-3108" title="Gift from Finland #nokia" src="http://www.thomasmaurer.ch/wp-content/uploads/2012/01/WP_000353-300x225.jpg" alt="Nokia Lumia 800" width="300" height="225" /></a></p>
<p>Last week I got my Nokia Lumia 800 and even I already have read a lot of articles and reviews about it, I am impressed about the beautiful design and the build quality.</p>
<p>The first problem noticed was the battery life. My HTC Titan had something like two days of battery life and the battery of my Lumia 800 was empty after just one day. At the same day I also got the Windows Phone update (7.10.8107.79) and I deactivated the Exchange Push for my work mail account. Now the battery life seems to be the same or better than on my HTC Titan.</p>
<p><a href="http://www.thomasmaurer.ch/wp-content/uploads/2012/01/WP_000360.jpg" rel="lightbox[3106]"><img class="aligncenter size-medium wp-image-3109" title="Updating my new Nokia Lumia 800 #windowsphone" src="http://www.thomasmaurer.ch/wp-content/uploads/2012/01/WP_000360-300x225.jpg" alt="Nokia Lumia 800" width="300" height="225" /></a></p>
<p>Now the Lumia 800 (3.7-inch screen) cloud be a bit bigger for me (the Lumia 900 with a 4.3-inch Screen could be perfect). I also miss the Internet Sharing feature, but there should be an update soon to activate this feature.<br />
Overall I really like the Nokia Lumia 800 and it will be my main phone for the next months.</p>
<p><a href="http://www.thomasmaurer.ch/wp-content/uploads/2012/01/WP_000379.jpg" rel="lightbox[3106]"><img class="aligncenter size-medium wp-image-3111" title="Nokia Lumia 800" src="http://www.thomasmaurer.ch/wp-content/uploads/2012/01/WP_000379-300x225.jpg" alt="Nokia Lumia 800" width="300" height="225" /></a></p>
<p>&nbsp;</p>
<!-- Social Buttons Generated by Digg Digg plugin v4.5.3.4, 
    Author : Yong Mook Kim
    Website : http://www.diggdigg2u.com --><div class="shr-publisher-3106"></div><!-- Start Shareaholic LikeButtonSetBottom Automatic --><!-- End Shareaholic LikeButtonSetBottom Automatic -->]]></content:encoded>
			<wfw:commentRss>http://www.thomasmaurer.ch/2012/01/my-new-nokia-lumia-800-windows-phone/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Microsoft Cloud for SMB</title>
		<link>http://www.thomasmaurer.ch/2012/01/microsoft-cloud-for-smb/</link>
		<comments>http://www.thomasmaurer.ch/2012/01/microsoft-cloud-for-smb/#comments</comments>
		<pubDate>Tue, 17 Jan 2012 18:29:51 +0000</pubDate>
		<dc:creator>Thomas Maurer</dc:creator>
				<category><![CDATA[Active Directory]]></category>
		<category><![CDATA[Cloud]]></category>
		<category><![CDATA[Exchange Online]]></category>
		<category><![CDATA[Exchange Server]]></category>
		<category><![CDATA[Hosting]]></category>
		<category><![CDATA[InTune]]></category>
		<category><![CDATA[IT]]></category>
		<category><![CDATA[KTSI]]></category>
		<category><![CDATA[Lync Online]]></category>
		<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[Office365]]></category>
		<category><![CDATA[School]]></category>
		<category><![CDATA[Sharepoint]]></category>
		<category><![CDATA[Sharepoint 2010]]></category>
		<category><![CDATA[SharePoint Online]]></category>
		<category><![CDATA[Web]]></category>
		<category><![CDATA[Work]]></category>
		<category><![CDATA[Microsoft Cloud]]></category>
		<category><![CDATA[Office]]></category>
		<category><![CDATA[Office 365]]></category>
		<category><![CDATA[Project]]></category>
		<category><![CDATA[Public Cloud]]></category>
		<category><![CDATA[Windows InTune]]></category>

		<guid isPermaLink="false">http://www.thomasmaurer.ch/?p=3052</guid>
		<description><![CDATA[Last year I did a little research project about Microsoft’s public cloud and how it cloud affect Small and Medium sized businesses. So I created a paper which should help Microsoft partners to decide how they can improve their services &#8230; <a href="http://www.thomasmaurer.ch/2012/01/microsoft-cloud-for-smb/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<!-- Start Shareaholic LikeButtonSetTop Automatic --><!-- End Shareaholic LikeButtonSetTop Automatic --><div class='dd_post_share'><div class='dd_buttons'><div class='dd_button'><script type='text/javascript' src='https://apis.google.com/js/plusone.js'></script><g:plusone size='small' href='http://www.thomasmaurer.ch/2012/01/microsoft-cloud-for-smb/'></g:plusone></div><div class='dd_button'><a href="http://twitter.com/share" class="twitter-share-button" data-url="http://www.thomasmaurer.ch/2012/01/microsoft-cloud-for-smb/" data-count="horizontal" data-text="Microsoft Cloud for SMB" data-via="thomasmaurer" ></a><script type="text/javascript" src="http://platform.twitter.com/widgets.js"></script></div><div class='dd_button'><iframe src='http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Fwww.thomasmaurer.ch%2F2012%2F01%2Fmicrosoft-cloud-for-smb%2F&amp;locale=en_US&amp;layout=button_count&amp;action=like&amp;width=92&amp;height=20&amp;colorscheme=light' scrolling='no' frameborder='0' style='border:none; overflow:hidden; width:92px; height:20px;' allowTransparency='true'></iframe></div></div><div style='clear:both'></div></div><div style='clear:both'></div><p><a href="http://www.thomasmaurer.ch/wp-content/uploads/2009/04/MicrosoftCloudforSMB.png" rel="lightbox[3052]"><img class="aligncenter size-medium wp-image-2777" title="MicrosoftCloudforSMB" src="http://www.thomasmaurer.ch/wp-content/uploads/2009/04/MicrosoftCloudforSMB-211x300.png" alt="MicrosoftCloudforSMB" width="211" height="300" /></a></p>
<p>Last year I did a little research project about Microsoft’s public cloud and how it cloud affect Small and Medium sized businesses. So I created a paper which should help Microsoft partners to decide how they can improve their services and solutions by using the Microsoft public cloud. I the paper I focused on Microsoft Office 365 and Windows Intune. This should be for the partner which do infrastructure solutions like Active Directory, Exchange and PC Management.</p>
<p><a href="http://www.thomasmaurer.ch/wp-content/uploads/2011/10/MicrosoftCloudforSMBdoc.png" rel="lightbox[3052]"><img class="aligncenter size-medium wp-image-2791" title="MicrosoftCloudforSMBdoc" src="http://www.thomasmaurer.ch/wp-content/uploads/2011/10/MicrosoftCloudforSMBdoc-300x189.png" alt="MicrosoftCloudforSMBdoc" width="300" height="189" /></a></p>
<p>You can download this paper from <a title="Skydrive" href="https://skydrive.live.com/redir.aspx?cid=7298a00d5b74ec3c&amp;resid=7298A00D5B74EC3C!767&amp;parid=7298A00D5B74EC3C!731" target="_blank">my Windows Live SkyDrive</a>.<br />
The paper includes a lot of text copied from Microsoft documents and websites, and research I did by myself. All the sources should be marked, but if you find anything which is not marked please feel free to contact me.</p>
<!-- Social Buttons Generated by Digg Digg plugin v4.5.3.4, 
    Author : Yong Mook Kim
    Website : http://www.diggdigg2u.com --><div class="shr-publisher-3052"></div><!-- Start Shareaholic LikeButtonSetBottom Automatic --><!-- End Shareaholic LikeButtonSetBottom Automatic -->]]></content:encoded>
			<wfw:commentRss>http://www.thomasmaurer.ch/2012/01/microsoft-cloud-for-smb/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Starting something new</title>
		<link>http://www.thomasmaurer.ch/2012/01/starting-something-new/</link>
		<comments>http://www.thomasmaurer.ch/2012/01/starting-something-new/#comments</comments>
		<pubDate>Thu, 12 Jan 2012 17:03:14 +0000</pubDate>
		<dc:creator>Thomas Maurer</dc:creator>
				<category><![CDATA[Hyper-V]]></category>
		<category><![CDATA[IT]]></category>
		<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[Private Cloud]]></category>
		<category><![CDATA[Server Core]]></category>
		<category><![CDATA[System Center]]></category>
		<category><![CDATA[Virtualization]]></category>
		<category><![CDATA[Web]]></category>
		<category><![CDATA[Windows Server]]></category>
		<category><![CDATA[Work]]></category>
		<category><![CDATA[itnetx]]></category>
		<category><![CDATA[itnetx gmbh]]></category>
		<category><![CDATA[Partner of the year]]></category>

		<guid isPermaLink="false">http://www.thomasmaurer.ch/?p=3054</guid>
		<description><![CDATA[Today is my first day at itnetx gmbh, a consulting and engineering company located in Bern/Switzerland. itnetx is focussed on Microsoft Technologies, especially Microsoft Private Cloud Solutions, Microsoft System Center and Microsoft Virtualization. In 2011 itnetx has been awarded by Microsoft Switzerland &#8230; <a href="http://www.thomasmaurer.ch/2012/01/starting-something-new/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<!-- Start Shareaholic LikeButtonSetTop Automatic --><!-- End Shareaholic LikeButtonSetTop Automatic --><div class='dd_post_share'><div class='dd_buttons'><div class='dd_button'><script type='text/javascript' src='https://apis.google.com/js/plusone.js'></script><g:plusone size='small' href='http://www.thomasmaurer.ch/2012/01/starting-something-new/'></g:plusone></div><div class='dd_button'><a href="http://twitter.com/share" class="twitter-share-button" data-url="http://www.thomasmaurer.ch/2012/01/starting-something-new/" data-count="horizontal" data-text="Starting something new" data-via="thomasmaurer" ></a><script type="text/javascript" src="http://platform.twitter.com/widgets.js"></script></div><div class='dd_button'><iframe src='http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Fwww.thomasmaurer.ch%2F2012%2F01%2Fstarting-something-new%2F&amp;locale=en_US&amp;layout=button_count&amp;action=like&amp;width=92&amp;height=20&amp;colorscheme=light' scrolling='no' frameborder='0' style='border:none; overflow:hidden; width:92px; height:20px;' allowTransparency='true'></iframe></div></div><div style='clear:both'></div></div><div style='clear:both'></div><p><img class="aligncenter size-full wp-image-3056" title="logo_itnetx" src="http://www.thomasmaurer.ch/wp-content/uploads/2012/01/logo_itnetx.gif" alt="logo_itnetx" width="250" height="106" /></p>
<p>Today is my first day at <a title="itnetx gmbh" href="http://www.itnetx.ch" target="_blank">itnetx gmbh</a>, a consulting and engineering company located in Bern/Switzerland. itnetx is focussed on Microsoft Technologies, especially Microsoft Private Cloud Solutions, Microsoft System Center and Microsoft Virtualization. In 2011 itnetx has been awarded by Microsoft Switzerland as “Microsoft Partner of the year – Datacenter”</p>
<p>Since this are my preferred Microsoft technologies, it seems like a perfect match.</p>
<p><a href="http://www.thomasmaurer.ch/wp-content/uploads/2012/01/microsoftpartneroftheyear2011.jpg" rel="lightbox[3054]"><img class="aligncenter size-medium wp-image-3055" title="microsoftpartneroftheyear2011" src="http://www.thomasmaurer.ch/wp-content/uploads/2012/01/microsoftpartneroftheyear2011-300x65.jpg" alt="microsoftpartneroftheyear2011" width="300" height="65" /></a></p>
<p><iframe src="http://www.youtube.com/embed/1Z60Q93VI64" frameborder="0" width="560" height="315"></iframe></p>
<!-- Social Buttons Generated by Digg Digg plugin v4.5.3.4, 
    Author : Yong Mook Kim
    Website : http://www.diggdigg2u.com --><div class="shr-publisher-3054"></div><!-- Start Shareaholic LikeButtonSetBottom Automatic --><!-- End Shareaholic LikeButtonSetBottom Automatic -->]]></content:encoded>
			<wfw:commentRss>http://www.thomasmaurer.ch/2012/01/starting-something-new/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Install CentOS on Windows 8 Hyper-V</title>
		<link>http://www.thomasmaurer.ch/2012/01/install-centos-on-windows-8-hyper-v/</link>
		<comments>http://www.thomasmaurer.ch/2012/01/install-centos-on-windows-8-hyper-v/#comments</comments>
		<pubDate>Mon, 09 Jan 2012 17:24:25 +0000</pubDate>
		<dc:creator>Thomas Maurer</dc:creator>
				<category><![CDATA[Hosting]]></category>
		<category><![CDATA[Hyper-V]]></category>
		<category><![CDATA[IT]]></category>
		<category><![CDATA[KTSI]]></category>
		<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[School]]></category>
		<category><![CDATA[Virtualization]]></category>
		<category><![CDATA[Web]]></category>
		<category><![CDATA[Windows]]></category>
		<category><![CDATA[Windows 8]]></category>
		<category><![CDATA[Windows Server]]></category>
		<category><![CDATA[Windows Server 8]]></category>
		<category><![CDATA[Work]]></category>
		<category><![CDATA[CentOS]]></category>
		<category><![CDATA[CentOS 6.x]]></category>
		<category><![CDATA[Hyper-V 3]]></category>
		<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://www.thomasmaurer.ch/?p=2584</guid>
		<description><![CDATA[For some courses at KTSI we need a CentOS to test some Linux spesific things like Apache and other stuff. The good thing, Windows 8 got Hyper-V and Hyper-V supports CentOS. With Version 3.2 oft the Linux Integration Services Microsoft &#8230; <a href="http://www.thomasmaurer.ch/2012/01/install-centos-on-windows-8-hyper-v/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<!-- Start Shareaholic LikeButtonSetTop Automatic --><!-- End Shareaholic LikeButtonSetTop Automatic --><div class='dd_post_share'><div class='dd_buttons'><div class='dd_button'><script type='text/javascript' src='https://apis.google.com/js/plusone.js'></script><g:plusone size='small' href='http://www.thomasmaurer.ch/2012/01/install-centos-on-windows-8-hyper-v/'></g:plusone></div><div class='dd_button'><a href="http://twitter.com/share" class="twitter-share-button" data-url="http://www.thomasmaurer.ch/2012/01/install-centos-on-windows-8-hyper-v/" data-count="horizontal" data-text="Install CentOS on Windows 8 Hyper-V" data-via="thomasmaurer" ></a><script type="text/javascript" src="http://platform.twitter.com/widgets.js"></script></div><div class='dd_button'><iframe src='http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Fwww.thomasmaurer.ch%2F2012%2F01%2Finstall-centos-on-windows-8-hyper-v%2F&amp;locale=en_US&amp;layout=button_count&amp;action=like&amp;width=92&amp;height=20&amp;colorscheme=light' scrolling='no' frameborder='0' style='border:none; overflow:hidden; width:92px; height:20px;' allowTransparency='true'></iframe></div></div><div style='clear:both'></div></div><div style='clear:both'></div><p>For some courses at KTSI we need a CentOS to test some Linux spesific things like Apache and other stuff. The good thing, Windows 8 got Hyper-V and Hyper-V supports CentOS.</p>
<p>With Version 3.2 oft the Linux Integration Services Microsoft fixed also a bug which occurred in Windows 8.</p>
<ol>
<li>First download CentOS</li>
<li>Download the <a title="Linux Integration Services Version 3.2" href="http://www.microsoft.com/download/en/details.aspx?id=28188" target="_blank">Linux Integration Services Version 3.2 for Hyper-V</a></li>
<li>Start Hyper-V Manager and create a new Virtual Machine</li>
<li>Install CentOS 6.x<br />
<a href="http://www.thomasmaurer.ch/wp-content/uploads/2012/01/centos-hyper-v-01.png" rel="lightbox[2584]"><img class="aligncenter size-medium wp-image-3089" title="centos hyper-v " src="http://www.thomasmaurer.ch/wp-content/uploads/2012/01/centos-hyper-v-01-300x269.png" alt="centos hyper-v" width="300" height="269" /></a></li>
<li>Reboot the virtual machine</li>
<li>Login as root<br />
<a href="http://www.thomasmaurer.ch/wp-content/uploads/2012/01/centos-hyper-v-03.png" rel="lightbox[2584]"><img class="aligncenter size-medium wp-image-3092" title="centos hyper-v " src="http://www.thomasmaurer.ch/wp-content/uploads/2012/01/centos-hyper-v-03-300x232.png" alt="centos hyper-v" width="300" height="232" /></a></li>
<li>Mount the Linux Integration Services ISO from step 2</li>
<li>Now run the following commands in the virtual machine
<pre>sudo mount /dev/cdrom /media
sudo /media/install.sh
</pre>
<p><a href="http://www.thomasmaurer.ch/wp-content/uploads/2012/01/centos-hyper-v-04.png" rel="lightbox[2584]"><img class="aligncenter size-medium wp-image-3093" title="centos hyper-v " src="http://www.thomasmaurer.ch/wp-content/uploads/2012/01/centos-hyper-v-04-300x232.png" alt="centos hyper-v" width="300" height="232" /></a></li>
<li>After you the Installation is completed you have to reboot the virtual machine again<br />
<a href="http://www.thomasmaurer.ch/wp-content/uploads/2012/01/centos-hyper-v-02.png" rel="lightbox[2584]"><img class="aligncenter size-medium wp-image-3091" title="centos hyper-v" src="http://www.thomasmaurer.ch/wp-content/uploads/2012/01/centos-hyper-v-02-300x232.png" alt="centos hyper-v" width="300" height="232" /></a></li>
<li>done <img src='http://www.thomasmaurer.ch/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' /> </li>
</ol>
<p>&nbsp;</p>
<!-- Social Buttons Generated by Digg Digg plugin v4.5.3.4, 
    Author : Yong Mook Kim
    Website : http://www.diggdigg2u.com --><div class="shr-publisher-2584"></div><!-- Start Shareaholic LikeButtonSetBottom Automatic --><!-- End Shareaholic LikeButtonSetBottom Automatic -->]]></content:encoded>
			<wfw:commentRss>http://www.thomasmaurer.ch/2012/01/install-centos-on-windows-8-hyper-v/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Hyper-V 3: Import and Export VMs with PowerShell</title>
		<link>http://www.thomasmaurer.ch/2011/12/hyper-v-3-import-and-export-vms-with-powershell/</link>
		<comments>http://www.thomasmaurer.ch/2011/12/hyper-v-3-import-and-export-vms-with-powershell/#comments</comments>
		<pubDate>Mon, 19 Dec 2011 21:01:29 +0000</pubDate>
		<dc:creator>Thomas Maurer</dc:creator>
				<category><![CDATA[Hyper-V]]></category>
		<category><![CDATA[IT]]></category>
		<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[Powershell]]></category>
		<category><![CDATA[Virtualization]]></category>
		<category><![CDATA[Windows]]></category>
		<category><![CDATA[Windows 8]]></category>
		<category><![CDATA[Windows Server]]></category>
		<category><![CDATA[Windows Server 8]]></category>
		<category><![CDATA[Work]]></category>
		<category><![CDATA[Export-VM]]></category>
		<category><![CDATA[Hyper-V 3]]></category>
		<category><![CDATA[Import-VM]]></category>
		<category><![CDATA[PowerShell]]></category>
		<category><![CDATA[Powershell 3]]></category>
		<category><![CDATA[Virtual machines]]></category>
		<category><![CDATA[VM]]></category>

		<guid isPermaLink="false">http://www.thomasmaurer.ch/?p=3032</guid>
		<description><![CDATA[Aidan Finn (Virtual Machine MVP) just made a blog post about Hyper-V &#38; PowerShell in Windows Server 8 and how you can enable Hyper-V via PowerShell in Windows Server 8. So this gave me the idea about doing a little &#8230; <a href="http://www.thomasmaurer.ch/2011/12/hyper-v-3-import-and-export-vms-with-powershell/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<!-- Start Shareaholic LikeButtonSetTop Automatic --><!-- End Shareaholic LikeButtonSetTop Automatic --><div class='dd_post_share'><div class='dd_buttons'><div class='dd_button'><script type='text/javascript' src='https://apis.google.com/js/plusone.js'></script><g:plusone size='small' href='http://www.thomasmaurer.ch/2011/12/hyper-v-3-import-and-export-vms-with-powershell/'></g:plusone></div><div class='dd_button'><a href="http://twitter.com/share" class="twitter-share-button" data-url="http://www.thomasmaurer.ch/2011/12/hyper-v-3-import-and-export-vms-with-powershell/" data-count="horizontal" data-text="Hyper-V 3: Import and Export VMs with PowerShell" data-via="thomasmaurer" ></a><script type="text/javascript" src="http://platform.twitter.com/widgets.js"></script></div><div class='dd_button'><iframe src='http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Fwww.thomasmaurer.ch%2F2011%2F12%2Fhyper-v-3-import-and-export-vms-with-powershell%2F&amp;locale=en_US&amp;layout=button_count&amp;action=like&amp;width=92&amp;height=20&amp;colorscheme=light' scrolling='no' frameborder='0' style='border:none; overflow:hidden; width:92px; height:20px;' allowTransparency='true'></iframe></div></div><div style='clear:both'></div></div><div style='clear:both'></div><p><a href="http://www.thomasmaurer.ch/wp-content/uploads/2011/12/Hyper-V-Powershell02.png" rel="lightbox[3032]"><img class="aligncenter size-medium wp-image-3037" title="Hyper-V-Powershell02" src="http://www.thomasmaurer.ch/wp-content/uploads/2011/12/Hyper-V-Powershell02-300x149.png" alt="Hyper-V-Powershell02" width="300" height="149" /></a></p>
<p>Aidan Finn (Virtual Machine MVP) just made a <a href="http://www.aidanfinn.com/?p=11941" target="_blank">blog post</a> about Hyper-V &amp; PowerShell in Windows Server 8 and how you can enable Hyper-V via PowerShell in Windows Server 8. So this gave me the idea about doing a little more with PowerShell and Hyper-V 3.</p>
<p>I already did a<a href="http://www.thomasmaurer.ch/2011/09/hyper-v-3-attach-multiple-vhds-via-powershell/" target="_blank"> blog post about how you can attach multiple VHDs </a>to a SCSI Controller with PowerShell in Windows Server 8. In this post I will show how easy you can export and import a lot of Virtual Machines.</p>
<p>First you can run a Get-VM Test*, to check which VMs you will export.</p>
<pre>

Get-VM Test*
</pre>
<p>Now you can export the Virtual Machines</p>
<pre>

Get-VM Test* | Export-VM -Path "C:\VMs"
</pre>
<p>Now I removed the Virtual Machines in Hyper-V with Powershell (You could also add the -confirm parameter so you don&#8217;t have to press &#8220;y&#8221; for each VM.</p>
<pre>

Get-VM Test* | Remove-VM
</pre>
<p>And now you can import the Virtual Machines again</p>
<pre>

Get-Childitem "C:\VMs" -Recurse *.xml | Import-VM
</pre>
<p><a href="http://www.thomasmaurer.ch/wp-content/uploads/2011/12/Hyper-V-Powershell01.png" rel="lightbox[3032]"><img class="aligncenter size-medium wp-image-3035" title="Hyper-V-Powershell01" src="http://www.thomasmaurer.ch/wp-content/uploads/2011/12/Hyper-V-Powershell01-300x223.png" alt="Hyper-V-Powershell01" width="300" height="223" /></a></p>
<p>I will post more about PowerShell in Windows 8 and Windows Server 8 (Hyper-V 3) in the next upcommig weeks. If you want know more about what new Hyper-V features and improvments are coming in Windows Server 8, you can read the following blog post: &#8220;<a title="Hyper-V: “Version 3 kills them all”" href="http://www.thomasmaurer.ch/2011/09/hyper-v-version-3-kills-them-all/" target="_blank">Hyper-V: Version 3 kills them all</a>&#8221;</p>
<p>&nbsp;</p>
<!-- Social Buttons Generated by Digg Digg plugin v4.5.3.4, 
    Author : Yong Mook Kim
    Website : http://www.diggdigg2u.com --><div class="shr-publisher-3032"></div><!-- Start Shareaholic LikeButtonSetBottom Automatic --><!-- End Shareaholic LikeButtonSetBottom Automatic -->]]></content:encoded>
			<wfw:commentRss>http://www.thomasmaurer.ch/2011/12/hyper-v-3-import-and-export-vms-with-powershell/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Enable RSAT on Windows Server 2008 R2 for Hyper-V</title>
		<link>http://www.thomasmaurer.ch/2011/12/enable-rsat-on-windows-server-2008-r2-for-hyper-v/</link>
		<comments>http://www.thomasmaurer.ch/2011/12/enable-rsat-on-windows-server-2008-r2-for-hyper-v/#comments</comments>
		<pubDate>Mon, 19 Dec 2011 15:32:38 +0000</pubDate>
		<dc:creator>Thomas Maurer</dc:creator>
				<category><![CDATA[Hyper-V]]></category>
		<category><![CDATA[IT]]></category>
		<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[Powershell]]></category>
		<category><![CDATA[Server Core]]></category>
		<category><![CDATA[Virtualization]]></category>
		<category><![CDATA[Windows Server]]></category>
		<category><![CDATA[Windows Server 2008 R2]]></category>
		<category><![CDATA[Work]]></category>
		<category><![CDATA[Clustering]]></category>
		<category><![CDATA[Remote Administration]]></category>
		<category><![CDATA[RSAT]]></category>
		<category><![CDATA[ServerManagerCmd]]></category>
		<category><![CDATA[Tool]]></category>

		<guid isPermaLink="false">http://www.thomasmaurer.ch/?p=3030</guid>
		<description><![CDATA[With the Remote Server Administration Tools (RSAT) you can administrate the Server with remote consoles. Now you can download the Remote Server Administration Tools for Windows 7, but if you are on Windows Server 2008 R2 you can just enable &#8230; <a href="http://www.thomasmaurer.ch/2011/12/enable-rsat-on-windows-server-2008-r2-for-hyper-v/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<!-- Start Shareaholic LikeButtonSetTop Automatic --><!-- End Shareaholic LikeButtonSetTop Automatic --><div class='dd_post_share'><div class='dd_buttons'><div class='dd_button'><script type='text/javascript' src='https://apis.google.com/js/plusone.js'></script><g:plusone size='small' href='http://www.thomasmaurer.ch/2011/12/enable-rsat-on-windows-server-2008-r2-for-hyper-v/'></g:plusone></div><div class='dd_button'><a href="http://twitter.com/share" class="twitter-share-button" data-url="http://www.thomasmaurer.ch/2011/12/enable-rsat-on-windows-server-2008-r2-for-hyper-v/" data-count="horizontal" data-text="Enable RSAT on Windows Server 2008 R2 for Hyper-V" data-via="thomasmaurer" ></a><script type="text/javascript" src="http://platform.twitter.com/widgets.js"></script></div><div class='dd_button'><iframe src='http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Fwww.thomasmaurer.ch%2F2011%2F12%2Fenable-rsat-on-windows-server-2008-r2-for-hyper-v%2F&amp;locale=en_US&amp;layout=button_count&amp;action=like&amp;width=92&amp;height=20&amp;colorscheme=light' scrolling='no' frameborder='0' style='border:none; overflow:hidden; width:92px; height:20px;' allowTransparency='true'></iframe></div></div><div style='clear:both'></div></div><div style='clear:both'></div><p><a href="http://www.thomasmaurer.ch/wp-content/uploads/2011/04/3056.hyper-v2-large-msg_thumb_0D8890EC.jpg" rel="lightbox[3030]"><img class="aligncenter size-medium wp-image-1867" title="Hyper-V R2 SP1" src="http://www.thomasmaurer.ch/wp-content/uploads/2011/04/3056.hyper-v2-large-msg_thumb_0D8890EC-300x168.jpg" alt="Hyper-V R2 SP1" width="300" height="168" /></a></p>
<p>With the Remote Server Administration Tools (RSAT) you can administrate the Server with remote consoles. Now you <a title="Remote Server Administration Tools for Windows 7 with Service Pack 1 (SP1) now available" href="http://www.thomasmaurer.ch/2011/04/remote-server-administration-tools-for-windows-7-with-service-pack-1-sp1-now-available/" target="_blank">can download the Remote Server Administration Tools for Windows 7</a>, but if you are on Windows Server 2008 R2 you can just enable the tools per ServerManagerCmd.exe.</p>
<pre>

ServerManagerCmd -install RSAT-Hyper-V
ServerManagerCmd -install RSAT-Clustering
</pre>
<p>&nbsp;</p>
<!-- Social Buttons Generated by Digg Digg plugin v4.5.3.4, 
    Author : Yong Mook Kim
    Website : http://www.diggdigg2u.com --><div class="shr-publisher-3030"></div><!-- Start Shareaholic LikeButtonSetBottom Automatic --><!-- End Shareaholic LikeButtonSetBottom Automatic -->]]></content:encoded>
			<wfw:commentRss>http://www.thomasmaurer.ch/2011/12/enable-rsat-on-windows-server-2008-r2-for-hyper-v/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Automated Active Directory Deployment with PowerShell</title>
		<link>http://www.thomasmaurer.ch/2011/12/automated-active-directory-deployment-with-powershell/</link>
		<comments>http://www.thomasmaurer.ch/2011/12/automated-active-directory-deployment-with-powershell/#comments</comments>
		<pubDate>Mon, 12 Dec 2011 19:06:08 +0000</pubDate>
		<dc:creator>Thomas Maurer</dc:creator>
				<category><![CDATA[Active Directory]]></category>
		<category><![CDATA[IT]]></category>
		<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[Powershell]]></category>
		<category><![CDATA[Windows Server]]></category>
		<category><![CDATA[Windows Server 2008 R2]]></category>
		<category><![CDATA[Work]]></category>
		<category><![CDATA[Config]]></category>
		<category><![CDATA[CSV]]></category>
		<category><![CDATA[Dcpromo]]></category>
		<category><![CDATA[Deployment]]></category>
		<category><![CDATA[install]]></category>
		<category><![CDATA[Lab]]></category>
		<category><![CDATA[PowerShell]]></category>
		<category><![CDATA[Remoting]]></category>
		<category><![CDATA[XML]]></category>

		<guid isPermaLink="false">http://www.thomasmaurer.ch/?p=3024</guid>
		<description><![CDATA[For a small presentation at KTSI I created a PowerShell script will automatically will deploys Active Directory Servers, adds other member servers, creates Organization Units and adds users via Powershell Remoting. As source there is a XML configuration file and &#8230; <a href="http://www.thomasmaurer.ch/2011/12/automated-active-directory-deployment-with-powershell/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<!-- Start Shareaholic LikeButtonSetTop Automatic --><!-- End Shareaholic LikeButtonSetTop Automatic --><div class='dd_post_share'><div class='dd_buttons'><div class='dd_button'><script type='text/javascript' src='https://apis.google.com/js/plusone.js'></script><g:plusone size='small' href='http://www.thomasmaurer.ch/2011/12/automated-active-directory-deployment-with-powershell/'></g:plusone></div><div class='dd_button'><a href="http://twitter.com/share" class="twitter-share-button" data-url="http://www.thomasmaurer.ch/2011/12/automated-active-directory-deployment-with-powershell/" data-count="horizontal" data-text="Automated Active Directory Deployment with PowerShell" data-via="thomasmaurer" ></a><script type="text/javascript" src="http://platform.twitter.com/widgets.js"></script></div><div class='dd_button'><iframe src='http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Fwww.thomasmaurer.ch%2F2011%2F12%2Fautomated-active-directory-deployment-with-powershell%2F&amp;locale=en_US&amp;layout=button_count&amp;action=like&amp;width=92&amp;height=20&amp;colorscheme=light' scrolling='no' frameborder='0' style='border:none; overflow:hidden; width:92px; height:20px;' allowTransparency='true'></iframe></div></div><div style='clear:both'></div></div><div style='clear:both'></div><p><a href="http://www.thomasmaurer.ch/wp-content/uploads/2011/09/powershell1.png" rel="lightbox[3024]"><img class="aligncenter size-medium wp-image-2607" title="Powershell" src="http://www.thomasmaurer.ch/wp-content/uploads/2011/09/powershell1-300x95.png" alt="Powershell" width="300" height="95" /></a></p>
<p>For a small presentation at <a title="ktsi" href="http://www.ktsi.ch" target="_blank">KTSI</a> I created a PowerShell script will automatically will deploys Active Directory Servers, adds other member servers, creates Organization Units and adds users via Powershell Remoting. As source there is a XML configuration file and CSV files for User Data.</p>
<p><a href="http://www.thomasmaurer.ch/wp-content/uploads/2011/12/Drawing1.jpg" rel="lightbox[3024]"><img class="aligncenter size-medium wp-image-3025" title="Install AD with Powershell" src="http://www.thomasmaurer.ch/wp-content/uploads/2011/12/Drawing1-243x300.jpg" alt="Install AD with Powershell" width="243" height="300" /></a></p>
<p>This script is just for Lab deployments not for production, and it is not perfect, but I think maybe some people will enhance this script with their own code.</p>
<p>I do not support this script. it is just something I need to deploy my test environments and nothing more. More it shows diffrent</p>
<p>You can find more information about it works in this <a title="document" href="https://skydrive.live.com/redir.aspx?cid=7298a00d5b74ec3c&amp;resid=7298A00D5B74EC3C!762&amp;parid=7298A00D5B74EC3C!731&amp;authkey=!ALRYJJ5cunSPo3M" target="_blank">document</a>.</p>
<p>XML Config file:</p>
<pre>

&lt;?xml version="1.0" encoding="utf-8"?&gt;
&lt;lab&gt;
&lt;config&gt;
&lt;servers&gt;
&lt;server name="ADS01" ip="192.168.100.11" id="1" adminpw="passw0rd"/&gt;
&lt;server name="ADS02" ip="192.168.100.12" id="2" adminpw="passw0rd"/&gt;
&lt;/servers&gt;
&lt;ad&gt;
&lt;domain name="ktsi.local" netbiosname="ktsi" forestlevel="4" domainlevel="4" safemodepw="passw0rd" /&gt;
&lt;/ad&gt;
&lt;ous&gt;
&lt;ou name="UserAccounts" path="DC=KTSI,DC=LOCAL" /&gt;
&lt;ou name="BASEL" path="OU=USERACCOUNTS,DC=KTSI,DC=LOCAL" /&gt;
&lt;ou name="CHICAGO" path="OU=USERACCOUNTS,DC=KTSI,DC=LOCAL" /&gt;
&lt;ou name="NEWYORK" path="OU=USERACCOUNTS,DC=KTSI,DC=LOCAL" /&gt;
&lt;ou name="SALES" path="OU=BASEL,OU=USERACCOUNTS,DC=KTSI,DC=LOCAL" /&gt;
&lt;ou name="IT" path="OU=BASEL,OU=USERACCOUNTS,DC=KTSI,DC=LOCAL" /&gt;
&lt;ou name="ADMINISTRATION" path="OU=BASEL,OU=USERACCOUNTS,DC=KTSI,DC=LOCAL" /&gt;
&lt;ou name="PRODUCTION" path="OU=BASEL,OU=USERACCOUNTS,DC=KTSI,DC=LOCAL" /&gt;
&lt;ou name="SALES" path="OU=CHICAGO,OU=USERACCOUNTS,DC=KTSI,DC=LOCAL" /&gt;
&lt;ou name="IT" path="OU=CHICAGO,OU=USERACCOUNTS,DC=KTSI,DC=LOCAL" /&gt;
&lt;ou name="ADMINISTRATION" path="OU=CHICAGO,OU=USERACCOUNTS,DC=KTSI,DC=LOCAL" /&gt;
&lt;ou name="PRODUCTION" path="OU=CHICAGO,OU=USERACCOUNTS,DC=KTSI,DC=LOCAL" /&gt;
&lt;ou name="SALES" path="OU=NEWYORK,OU=USERACCOUNTS,DC=KTSI,DC=LOCAL" /&gt;
&lt;ou name="IT" path="OU=NEWYORK,OU=USERACCOUNTS,DC=KTSI,DC=LOCAL" /&gt;
&lt;ou name="ADMINISTRATION" path="OU=NEWYORK,OU=USERACCOUNTS,DC=KTSI,DC=LOCAL" /&gt;
&lt;ou name="PRODUCTION" path="OU=NEWYORK,OU=USERACCOUNTS,DC=KTSI,DC=LOCAL" /&gt;
&lt;/ous&gt;
&lt;users&gt;
&lt;file name="users.csv" path="OU=ADMINISTRATION,OU=BASEL,OU=USERACCOUNTS,DC=KTSI,DC=LOCAL" /&gt;
&lt;/users&gt;
&lt;members&gt;
&lt;member name="PC101" ip="192.168.100.21" /&gt;
&lt;member name="PC101" ip="192.168.100.22" /&gt;
&lt;member name="PC101" ip="192.168.100.23" /&gt;
&lt;/members&gt;
&lt;/config&gt;
&lt;/lab&gt;
</pre>
<p>The PowerShell Script:</p>
<p><span id="more-3024"></span></p>
<pre>

&nbsp;

# ---------------------------------------------------------------------------------------------- #

# Powershell AD Creator $Rev: 748 $

# (c) 2011 Thomas Maurer. All rights reserved.

# created by Thomas Maurer

# last Update by $Author: tmaurer $ on $Date: 2010-11-22 14:07:36 +0100 (Mo, 04 Nov 2011) $

# ---------------------------------------------------------------------------------------------- #

&nbsp;

&nbsp;

# Set Debug Mode (true/false)

$DebugOn = $false

&nbsp;

&nbsp;

&nbsp;

#region [INFO BLOCK]

# INFO

Write-Host " " -BackgroundColor Black -ForegroundColor White

Write-Host "PowerShell AD Deplyoment" -BackgroundColor Black -ForegroundColor White

Write-Host " " -BackgroundColor Black -ForegroundColor White

Write-Host "Enter Credentials for Remote System:" -BackgroundColor Black -ForegroundColor White

#endregion

&nbsp;

&nbsp;

#region [VERBOSE BLOCK]

# Verbose Loop

&nbsp;

if ($DebugOn -eq $true){

#Debug

Clear-Host

Write-Host "Debug mode on" -BackgroundColor Red -ForegroundColor White

$VerbosePreference = "Continue"

}

else {

#NoDebug

Clear-Host

$VerbosePreference = "SilentlyContinue"

}

#endregion

&nbsp;

#region [CONFIG BLOCK]

# Get XML Information and create some funny objects...

[Xml]$global:xmlData = get-content ".\config.xml"

&nbsp;

# Get Credentials for Remotesystems

$cred = Get-Credential

&nbsp;

$global:xmlServer01 = $xmlData.lab.config.servers.server | Where-Object { $_.id -eq "1"}

$global:xmlServer02 = $xmlData.lab.config.servers.server | Where-Object { $_.id -eq "2"}

$global:xmlDomain = $xmlData.lab.config.ad.domain

$global:xmlOUS = $xmlData.lab.config.ous

&nbsp;

#endregion

&nbsp;

#region [FUNCTION BLOCK]

&nbsp;

function ConvertTo-Scriptblock {

&lt;#

Function to Convert a String into a Script Block

#&gt;

Param(

[Parameter(

Mandatory = $true,

ParameterSetName = '',

ValueFromPipeline = $true)]

[string]$string

)

Begin {

Write-Verbose "Starting Begin Section"

}

Process {

Write-Verbose "Starting Process Section"

try {

Write-Verbose "Convert String to Scriptblock"

$sb = [scriptblock]::Create($string)

return $sb

}

catch {

Write-Host "Could not convert String to Scriptblock" $Error[0]

&nbsp;

}

}

End {

Write-Verbose "Starting End Section"

}

}

&nbsp;

&nbsp;

function Enable-ICMP {

&lt;#

Function to enable ICMP

&nbsp;

Enable-ICMP -hostip $xmlServer01.ip

#&gt;

Param(

[Parameter(

Mandatory = $true,

ParameterSetName = '',

ValueFromPipeline = $true)]

[string]$hostip

)

begin {

# Write Command

$step001 = @"

netsh firewall set icmpsetting 8

"@

}

process {

try {

# Run Scriptblock

Write-Host "Enable ICMP on " $hostip "..." -BackgroundColor Black -ForegroundColor White

&nbsp;

Invoke-Command -ComputerName $hostip -ScriptBlock (ConvertTo-Scriptblock -String $step001) -Credential $cred

Write-Host "ICMP successfully enabled..." -BackgroundColor Green -ForegroundColor Black

&nbsp;

&nbsp;

}

catch {

# Sending status to CP and EventLog

throw "ERROR: Could not enable ICMP"

}

}

end {

# Cleanup

$step001 = $null

}

}

&nbsp;

&nbsp;

&nbsp;

function Create-ADServer {

&lt;#

Function to Create AD on the first Server

#&gt;

begin {

# Prepair for First AD Server

Write-Host "Preparing Script Block for " + $xmlServer01.name + "..." -BackgroundColor Black -ForegroundColor White

$domainName = $xmldomain.name

$domainNetBiosName = $xmldomain.netbiosname

$domainForestLevel = $xmldomain.forestlevel

$domainDomainLevel = $xmldomain.domainlevel

$domainSafemodePW = $xmldomain.safemodepw

$adTempFolder = "temp4"

$adTempPath = "C:\" + $adTempFolder

$adFilePath = $adTempPath + "\adinstall.txt"

}

process {

try {

# Script Block for First AD Server

$step001 = @"

New-Item -ItemType directory $adTempPath

New-Item -ItemType file $adFilePath

Add-Content $adFilePath "[DCINSTALL]"

Add-Content $adFilePath "InstallDNS=yes"

Add-Content $adFilePath "NewDomain=forest"

Add-Content $adFilePath "NewDomainDNSName=$domainName"

Add-Content $adFilePath "DomainNetBiosName=$domainNetBiosName"

Add-Content $adFilePath "ReplicaOrNewDomain=domain"

Add-Content $adFilePath "ForestLevel=$domainForestLevel"

Add-Content $adFilePath "DomainLevel=$domainDomainLevel"

Add-Content $adFilePath "RebootOnCompletion=yes"

Add-Content $adFilePath "SafeModeAdminPassword=$domainSafemodePW"

Write-Host "Unattend File created successfully..." - -BackgroundColor Green

dcpromo /unattend:$adFilePath

"@

# Run Scriptblock

Write-Host "Configure " $xmlServer01 "..." -BackgroundColor Black -ForegroundColor White

Invoke-Command -ComputerName $xmlServer01.ip -ScriptBlock (ConvertTo-Scriptblock -String $step001) -Credential $cred

Write-Host "Configuration for " $xmlServer01.name " successfully..." -BackgroundColor Green -ForegroundColor Black

}

catch {

# Sending status to CP and EventLog

throw "ERROR: Could not Create AD"

}

}

end {

# Cleanup

$step001 = $null

}

}

&nbsp;

function Join-AD {

&lt;#

Function to add second AD Server

&nbsp;

Join-AD -hostname $xmlServer02.name -hostip $xmlServer02.ip -dnsip $xmlServer01.ip -domainName $xmldomain.name -adminpw $xmlServer01.adminpw

&nbsp;

#&gt;

Param(

[Parameter(

Mandatory = $true,

ParameterSetName = '',

ValueFromPipeline = $true)]

[string]$hostname,

[Parameter(

Mandatory = $true,

ParameterSetName = '',

ValueFromPipeline = $true)]

[string]$hostip,

[Parameter(

Mandatory = $true,

ParameterSetName = '',

ValueFromPipeline = $true)]

[string]$dnsip,

[Parameter(

Mandatory = $true,

ParameterSetName = '',

ValueFromPipeline = $true)]

[string]$domainName,

[Parameter(

Mandatory = $true,

ParameterSetName = '',

ValueFromPipeline = $true)]

[string]$adminpw

)

begin {

# Prepair for Second AD Server

}

process {

try {

# Script Block join AD

$step001 = @"

netsh interface ipv4 add dnsserver name="Local Area Connection" address=$dnsip index=1

netdom join $hostname /domain:"$domainName" /userd:administrator /passwordd:$adminpw /REBoot

"@

&nbsp;

# Run Scriptblock

Write-Host "Adding " $hostname " to domain..." -BackgroundColor Black -ForegroundColor White

&nbsp;

Invoke-Command -ComputerName $hostip -ScriptBlock (ConvertTo-Scriptblock -String $step001) -Credential $cred

Write-Host "Domainjoin for " $hostname " successfully..." -BackgroundColor Green -ForegroundColor Black

&nbsp;

&nbsp;

}

catch {

# Sending status to CP and EventLog

throw "ERROR: Could not add System to AD"

}

}

end {

# Cleanup

$step001 = $null

}

}

&nbsp;

function Add-ADServer {

&lt;#

Function to add a second AD to the Domain

#&gt;

begin {

# Prepair for First AD Server

Write-Host "Preparing Script Block for DCPROMO " $xmlServer02.name "..." -BackgroundColor Black -ForegroundColor White

$server01ip = $xmlServer01.ip

$domainName = $xmldomain.name

$server01pw = $xmlServer01.adminpw

$domainSafemodePW = $xmldomain.safemodepw

}

process {

try {

# Script Block for First AD Server

$step001 = @"

Dcpromo /unattend /replicaOrnewDomain:replica /replicaDomainDNSName:$domainName /ConfirmGC:yes /username:administrator /Password:$server01pw /safeModeAdminPassword:$domainSafemodePW

"@

# Run Scriptblock

Write-Host "Running DCPROMO " $xmlServer02.name "..." -BackgroundColor Black -ForegroundColor White

Invoke-Command -ComputerName $xmlServer02.ip -ScriptBlock (ConvertTo-Scriptblock -String $step001) -Credential $cred

Write-Host "DCPROMO " $xmlServer02.name " successfully..." -BackgroundColor Green -ForegroundColor Black

}

catch {

throw "ERROR: Could not add Second Server to AD"

}

}

end {

# Cleanup

$step001 = $null

}

}

&nbsp;

function Add-ADOU {

&lt;#

Function to add OU to AD

&nbsp;

Add-ADOU -hostip $xmlServer01.ip -name $namedings -path $pathdings

&nbsp;

#&gt;

Param(

[Parameter(

Mandatory = $true,

ParameterSetName = '',

ValueFromPipeline = $true)]

[string]$hostip,

[Parameter(

Mandatory = $true,

ParameterSetName = '',

ValueFromPipeline = $true)]

[string]$name,

[Parameter(

Mandatory = $true,

ParameterSetName = '',

ValueFromPipeline = $true)]

[string]$path

)

begin {

# Prepair for Second AD Server

}

process {

try {

# Script Block join AD

$step001 = @"

Import-Module ActiveDirectory

New-ADOrganizationalUnit -name "$name" -Path "$path"

"@

&nbsp;

# Run Scriptblock

Write-Host "Adding OU " $name " to " $path "..." -BackgroundColor Black -ForegroundColor White

&nbsp;

Invoke-Command -ComputerName $hostip -ScriptBlock (ConvertTo-Scriptblock -String $step001) -Credential $cred

Write-Host "OU added " $name " successfully..." -BackgroundColor Green -ForegroundColor Black

}

catch {

# Sending status to CP and EventLog

throw "ERROR: Could not add OU to AD"

}

}

end {

# Cleanup

$step001 = $null

}

}

&nbsp;

function Add-UsersfromFile {

&lt;#

Function to add OU to AD

&nbsp;

Add-UsersfromFile -hostip $xmlServer01.ip -filename $xmlData.lab.config.users.file.name -path $xmlData.lab.config.users.file.path

&nbsp;

#&gt;

Param(

[Parameter(

Mandatory = $true,

ParameterSetName = '',

ValueFromPipeline = $true)]

[string]$hostip,

[Parameter(

Mandatory = $true,

ParameterSetName = '',

ValueFromPipeline = $true)]

[string]$SamAccountName,

[Parameter(

Mandatory = $true,

ParameterSetName = '',

ValueFromPipeline = $true)]

[string]$UserPrincipalName,

[Parameter(

Mandatory = $true,

ParameterSetName = '',

ValueFromPipeline = $true)]

[string]$name,

[Parameter(

Mandatory = $true,

ParameterSetName = '',

ValueFromPipeline = $true)]

[string]$DisplayName,

[Parameter(

Mandatory = $true,

ParameterSetName = '',

ValueFromPipeline = $true)]

[string]$GivenName,

[Parameter(

Mandatory = $true,

ParameterSetName = '',

ValueFromPipeline = $true)]

[string]$SurName,

[Parameter(

Mandatory = $false,

ParameterSetName = '',

ValueFromPipeline = $true)]

[string]$Manager,

[Parameter(

Mandatory = $false,

ParameterSetName = '',

ValueFromPipeline = $true)]

[string]$Department,

[Parameter(

Mandatory = $true,

ParameterSetName = '',

ValueFromPipeline = $true)]

[string]$path

)

begin {

&nbsp;

}

process {

try {

# Script Block join AD

$step001 = @"

Import-Module ActiveDirectory

New-ADUser -SamAccountName $SamAccountName -UserPrincipalName $userprinicpalname -DisplayName $displayname -GivenName $GivenName -SurName $SurName -Path "$path" -AccountPassword (ConvertTo-SecureString "test41;" -AsPlainText -force)

"@

&nbsp;

# Run Scriptblock

Write-Host "Adding Users " $userprinicpalname " to " $path "..." -BackgroundColor Black -ForegroundColor White

&nbsp;

Invoke-Command -ComputerName $hostip -ScriptBlock (ConvertTo-Scriptblock -String $step001) -Credential $cred

Write-Host "Users " $userprinicpalname " added successfully..." -BackgroundColor Green -ForegroundColor Black

}

catch {

# Sending status to CP and EventLog

throw "ERROR: Could not add Users to AD"

}

}

end {

# Cleanup

$step001 = $null

}

}

&nbsp;

&nbsp;

function WaitFor-Host {

&lt;#

Function to wait for Host after Reboot

&nbsp;

WaitFor-Host -hostip $xmlServer01.ip -service servicename

&nbsp;

#&gt;

Param(

[Parameter(

Mandatory = $true,

ParameterSetName = '',

ValueFromPipeline = $true)]

[string]$hostip,

[Parameter(

Mandatory = $false,

ParameterSetName = '',

ValueFromPipeline = $true)]

[string]$service

)

begin {

#

}

process {

try {

# Wait until Server is offline

Write-Host "Waiting for Reboot " $hostip "..." -BackgroundColor Black -ForegroundColor White

Start-Sleep -Seconds 10

&nbsp;

# Wait for Server Reboot

Write-Host "Waiting for Host " $hostip "..." -BackgroundColor Black -ForegroundColor White

while (!(Test-Connection $hostip -quiet)) {

Write-Host 'Unreachable!'

}

Write-Host "Server up..." -BackgroundColor Green -ForegroundColor Black

Start-Sleep -Seconds 30

}

catch {

# Sending status to CP and EventLog

throw "ERROR: Waiting for reboot failed"

}

}

end {

}

}

&nbsp;

&nbsp;

&nbsp;

&nbsp;

#endregion

&nbsp;

&nbsp;

&nbsp;

&nbsp;

#region [MAIN BLOCK]

&nbsp;

# Enable ICMP

Enable-ICMP -hostip $xmlServer01.ip

Enable-ICMP -hostip $xmlServer02.ip

&nbsp;

# Create first AD Server

Create-ADServer

Start-Sleep -Seconds 30

WaitFor-Host -hostip $xmlServer01.ip

&nbsp;

# Add Second AD Server to Domain

Join-AD -hostname $xmlServer02.name -hostip $xmlServer02.ip -dnsip $xmlServer01.ip -domainName $xmldomain.name -adminpw $xmlServer01.adminpw

Start-Sleep -Seconds 30

WaitFor-Host -hostip $xmlServer02.ip

&nbsp;

# Run DCPROMO on Second AD Server

Add-ADServer

&nbsp;

# Add OUs to Domain

foreach ($ou in $xmlOUS.ou){

Add-ADOU -hostip $xmlServer01.ip -name $ou.name -path $ou.path

}

&nbsp;

&nbsp;

# Add Users to Domain

foreach ($file in $xmlData.lab.config.users.file){

$tempfile = ".\" + $file.name

Import-Csv $tempfile | Foreach-Object {

$userprinicpalname = $_.SamAccountName + "@" + $xmlDomain.name

Add-UsersfromFile -hostip $xmlServer01.ip -SamAccountName $_.SamAccountName -UserPrincipalName $userprinicpalname -Name $_.name -DisplayName $_.name -GivenName $_.GivenName -SurName $_.SurName -Manager $_.Manager -Department $_.Department -Path $file.path

}

}

&nbsp;

&nbsp;

&nbsp;

# Add Members to Domain

foreach ($member in $xmlData.lab.config.members.member){

Join-AD -hostname $member.name -hostip $member.ip -dnsip $xmlServer01.ip -domainName $xmldomain.name -adminpw $xmlServer01.adminpw

}

&nbsp;

#endregion
</pre>
<p>&nbsp;</p>
<!-- Social Buttons Generated by Digg Digg plugin v4.5.3.4, 
    Author : Yong Mook Kim
    Website : http://www.diggdigg2u.com --><div class="shr-publisher-3024"></div><!-- Start Shareaholic LikeButtonSetBottom Automatic --><!-- End Shareaholic LikeButtonSetBottom Automatic -->]]></content:encoded>
			<wfw:commentRss>http://www.thomasmaurer.ch/2011/12/automated-active-directory-deployment-with-powershell/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
	</channel>
</rss>

