<?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>Dalle &#38; DXter &#187; MDT 2010</title>
	<atom:link href="http://poweradmin.se/blog/tag/mdt-2010/feed/" rel="self" type="application/rss+xml" />
	<link>http://poweradmin.se/blog</link>
	<description>The Power Administrators</description>
	<lastBuildDate>Sat, 03 Mar 2012 21:54:15 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=</generator>
		<item>
		<title>Problem to add and create deployment shares in MDT 2010</title>
		<link>http://poweradmin.se/blog/2011/07/27/problem-to-add-and-create-deployment-shares-in-mdt-2010/</link>
		<comments>http://poweradmin.se/blog/2011/07/27/problem-to-add-and-create-deployment-shares-in-mdt-2010/#comments</comments>
		<pubDate>Wed, 27 Jul 2011 10:54:48 +0000</pubDate>
		<dc:creator>Dalle</dc:creator>
				<category><![CDATA[Deployment]]></category>
		<category><![CDATA[PowerShell]]></category>
		<category><![CDATA[MDT 2010]]></category>

		<guid isPermaLink="false">http://poweradmin.se/blog/2011/07/27/problem-to-add-and-create-deployment-shares-in-mdt-2010/</guid>
		<description><![CDATA[I had some problems (major ones) with my local MDT 2010 last night. After a day with lots of scripting against MDT 2010 with PowerShell my MDT 2010 installation just gave me errors when I wanted to add a new &#8230; <a href="http://poweradmin.se/blog/2011/07/27/problem-to-add-and-create-deployment-shares-in-mdt-2010/">Continue reading <span class="meta-nav">&#8594;</span></a>
No related posts.]]></description>
			<content:encoded><![CDATA[
<div class="topsy_widget_data topsy_theme_blue" style="float: right;margin-left: 0.75em; background: url(data:,%7B%20%22url%22%3A%20%22http%253A%252F%252Fpoweradmin.se%252Fblog%252F2011%252F07%252F27%252Fproblem-to-add-and-create-deployment-shares-in-mdt-2010%252F%22%2C%20%22style%22%3A%20%22big%22%2C%20%22title%22%3A%20%22Problem%20to%20add%20and%20create%20deployment%20shares%20in%20MDT%202010%22%20%7D);"></div>
<!-- Start Shareaholic LikeButtonSetTop Automatic --><!-- End Shareaholic LikeButtonSetTop Automatic --><p><a href="http://poweradmin.se/blog/wp-content/uploads/ammo-4-icon.png"><img style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="ammo-4-icon" border="0" alt="ammo-4-icon" src="http://poweradmin.se/blog/wp-content/uploads/ammo-4-icon_thumb.png" width="100" height="100"></a></p>
<p>I had some problems (major ones) with my local MDT 2010 last night.</p>
<p>After a day with lots of scripting against MDT 2010 with PowerShell my MDT 2010 installation just gave me errors when I wanted to add a new deployment share or when I wanted to open old ones:</p>
<blockquote><p>object reference not set to an instance of an object<br />Microsoft.BDD.Wizards.Controls.DeploymentPointProgress.WizardProcessing</p>
</blockquote>
<p>In my workbench the Deployment Shares folder was empty, no shares there. But when I looked in the user.config file I found that DS004 was in use there.</p>
<p>So my solution was to delete the whole file and restart the workbench.<br />The file can be found here, <font size="2"><strong>C:\Users\currentUser\AppData\Roaming\Microsoft\Microsoft Deployment Toolkit</strong>.</font></p>
<p><font size="2">[Update]<br /></font>DXter sent me this PowerShell oneliner after that I wrote this blog post,&nbsp; </p>
<p>Remove-Item -Path &#8220;$ENV:USERPROFILE\AppData\Roaming\Microsoft\Microsoft Deployment Toolkit\user.config&#8221;</p>
<p>Thanks buddy!</p>
<div class="shr-publisher-2643"></div><!-- Start Shareaholic LikeButtonSetBottom Automatic --><div style="clear: both; min-height: 1px; height: 3px; width: 100%;"></div><div class='shareaholic-like-buttonset' style='float:none;height:60px;'><a class='shareaholic-fblike' data-shr_layout='box_count' data-shr_showfaces='false' data-shr_href='http%3A%2F%2Fpoweradmin.se%2Fblog%2F2011%2F07%2F27%2Fproblem-to-add-and-create-deployment-shares-in-mdt-2010%2F' data-shr_title='Problem+to+add+and+create+deployment+shares+in+MDT+2010'></a><a class='shareaholic-fbsend' data-shr_href='http%3A%2F%2Fpoweradmin.se%2Fblog%2F2011%2F07%2F27%2Fproblem-to-add-and-create-deployment-shares-in-mdt-2010%2F'></a><a class='shareaholic-googleplusone' data-shr_size='tall' data-shr_count='true' data-shr_href='http%3A%2F%2Fpoweradmin.se%2Fblog%2F2011%2F07%2F27%2Fproblem-to-add-and-create-deployment-shares-in-mdt-2010%2F' data-shr_title='Problem+to+add+and+create+deployment+shares+in+MDT+2010'></a></div><div style="clear: both; min-height: 1px; height: 3px; width: 100%;"></div><!-- End Shareaholic LikeButtonSetBottom Automatic -->
<p>No related posts.</p>]]></content:encoded>
			<wfw:commentRss>http://poweradmin.se/blog/2011/07/27/problem-to-add-and-create-deployment-shares-in-mdt-2010/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Using Task Sequence as display name during LTI in MDT 2010</title>
		<link>http://poweradmin.se/blog/2011/01/29/using-task-sequence-as-display-name-during-lti-in-mdt-2010/</link>
		<comments>http://poweradmin.se/blog/2011/01/29/using-task-sequence-as-display-name-during-lti-in-mdt-2010/#comments</comments>
		<pubDate>Sat, 29 Jan 2011 19:59:05 +0000</pubDate>
		<dc:creator>DXter</dc:creator>
				<category><![CDATA[Deployment]]></category>
		<category><![CDATA[DXter]]></category>
		<category><![CDATA[MDT 2010]]></category>
		<category><![CDATA[Microsoft Deployment Toolkit]]></category>

		<guid isPermaLink="false">http://poweradmin.se/blog/2011/01/29/using-task-sequence-as-display-name-during-lti-in-mdt-2010/</guid>
		<description><![CDATA[For some time now, I have had the _SMSTSORGNAME variable in CustomSettings.ini set to “DXter’s Deployment Solution” as a display name during deployments in my home environments. However, since I do a lot of installations in my home environments, sometimes &#8230; <a href="http://poweradmin.se/blog/2011/01/29/using-task-sequence-as-display-name-during-lti-in-mdt-2010/">Continue reading <span class="meta-nav">&#8594;</span></a>
No related posts.]]></description>
			<content:encoded><![CDATA[
<div class="topsy_widget_data topsy_theme_blue" style="float: right;margin-left: 0.75em; background: url(data:,%7B%20%22url%22%3A%20%22http%253A%252F%252Fpoweradmin.se%252Fblog%252F2011%252F01%252F29%252Fusing-task-sequence-as-display-name-during-lti-in-mdt-2010%252F%22%2C%20%22style%22%3A%20%22big%22%2C%20%22title%22%3A%20%22Using%20Task%20Sequence%20as%20display%20name%20during%20LTI%20in%20MDT%202010%22%20%7D);"></div>
<!-- Start Shareaholic LikeButtonSetTop Automatic --><!-- End Shareaholic LikeButtonSetTop Automatic --><p>For some time now, I have had the _SMSTSORGNAME variable in CustomSettings.ini set to “DXter’s Deployment Solution” as a display name during deployments in my home environments. However, since I do a lot of installations in my home environments, sometimes I need to know what I am actually deploying for the moment during the installation process.</p>
<p>&#160;</p>
<p>One of the core strengths of MDT 2010 is its rich set of rules and variables. MDT has a lot of variables by default and one of them is %TaskSequenceName% which is a dynamic value of the name of the task sequence that is currently running.</p>
<p>&#160;</p>
<p>So I thought that I should try to edit my CustomSettings.ini to tell _SMSTSORGNAME to set its value dynamic during installation based on the name of the current task sequence! <img style="border-bottom-style: none; border-left-style: none; border-top-style: none; border-right-style: none" class="wlEmoticon wlEmoticon-winkingsmile" alt="Winking smile" src="http://poweradmin.se/blog/wp-content/uploads/wlEmoticon-winkingsmile6.png" /></p>
<p>&#160;</p>
<p>So all I hade to do was to change one line in DeploymentShare\Control\CustomSettings.ini to this:</p>
<p><strong>_SMSTSORGNAME=%TaskSequenceName%</strong></p>
<p>&#160;</p>
<p>That’s it! Now lets try if it works in real life! <img style="border-bottom-style: none; border-left-style: none; border-top-style: none; border-right-style: none" class="wlEmoticon wlEmoticon-winkingsmile" alt="Winking smile" src="http://poweradmin.se/blog/wp-content/uploads/wlEmoticon-winkingsmile6.png" /></p>
<p>&#160;</p>
<p><a href="http://poweradmin.se/blog/wp-content/uploads/image464.png"><img style="background-image: none; border-right-width: 0px; margin: ; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://poweradmin.se/blog/wp-content/uploads/image_thumb398.png" width="644" height="435" /></a></p>
<p><strong>I select my Windows 7 Enterprise x64 task sequence that also does an online installation of the Swedish language pack.</strong></p>
<p>&#160;</p>
<p>&#160;</p>
<p><a href="http://poweradmin.se/blog/wp-content/uploads/image465.png"><img style="background-image: none; border-right-width: 0px; margin: ; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://poweradmin.se/blog/wp-content/uploads/image_thumb399.png" width="644" height="435" /></a></p>
<p><strong>It works like a charm! The organization name in MDT during the installation is now the name of my selected task sequence! <img style="border-bottom-style: none; border-left-style: none; border-top-style: none; border-right-style: none" class="wlEmoticon wlEmoticon-winkingsmile" alt="Winking smile" src="http://poweradmin.se/blog/wp-content/uploads/wlEmoticon-winkingsmile6.png" /></strong></p>
<p><strong>&#160;</strong></p>
<p><strong>&#160;</strong></p>
<p>// Fredrik “DXter” Jonsson</p>
<p>&#160;</p>
<p>P.S The Iron Man 2 background in Windows PE is NOT default in MDT 2010. <img style="border-bottom-style: none; border-left-style: none; border-top-style: none; border-right-style: none" class="wlEmoticon wlEmoticon-winkingsmile" alt="Winking smile" src="http://poweradmin.se/blog/wp-content/uploads/wlEmoticon-winkingsmile6.png" /> D.S</p>
<div class="shr-publisher-2304"></div><!-- Start Shareaholic LikeButtonSetBottom Automatic --><div style="clear: both; min-height: 1px; height: 3px; width: 100%;"></div><div class='shareaholic-like-buttonset' style='float:none;height:60px;'><a class='shareaholic-fblike' data-shr_layout='box_count' data-shr_showfaces='false' data-shr_href='http%3A%2F%2Fpoweradmin.se%2Fblog%2F2011%2F01%2F29%2Fusing-task-sequence-as-display-name-during-lti-in-mdt-2010%2F' data-shr_title='Using+Task+Sequence+as+display+name+during+LTI+in+MDT+2010'></a><a class='shareaholic-fbsend' data-shr_href='http%3A%2F%2Fpoweradmin.se%2Fblog%2F2011%2F01%2F29%2Fusing-task-sequence-as-display-name-during-lti-in-mdt-2010%2F'></a><a class='shareaholic-googleplusone' data-shr_size='tall' data-shr_count='true' data-shr_href='http%3A%2F%2Fpoweradmin.se%2Fblog%2F2011%2F01%2F29%2Fusing-task-sequence-as-display-name-during-lti-in-mdt-2010%2F' data-shr_title='Using+Task+Sequence+as+display+name+during+LTI+in+MDT+2010'></a></div><div style="clear: both; min-height: 1px; height: 3px; width: 100%;"></div><!-- End Shareaholic LikeButtonSetBottom Automatic -->
<p>No related posts.</p>]]></content:encoded>
			<wfw:commentRss>http://poweradmin.se/blog/2011/01/29/using-task-sequence-as-display-name-during-lti-in-mdt-2010/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Automated boot image management in MDT 2010 and WDS using PowerShell</title>
		<link>http://poweradmin.se/blog/2010/07/25/automated-boot-image-management-in-mdt-2010-and-wds-using-powershell/</link>
		<comments>http://poweradmin.se/blog/2010/07/25/automated-boot-image-management-in-mdt-2010-and-wds-using-powershell/#comments</comments>
		<pubDate>Sun, 25 Jul 2010 12:32:07 +0000</pubDate>
		<dc:creator>DXter</dc:creator>
				<category><![CDATA[Deployment]]></category>
		<category><![CDATA[PowerShell Blogs]]></category>
		<category><![CDATA[DXter]]></category>
		<category><![CDATA[MDT 2010]]></category>
		<category><![CDATA[Power Shell]]></category>

		<guid isPermaLink="false">http://poweradmin.se/blog/2010/07/25/automated-boot-image-management-in-mdt-2010-and-wds-using-powershell/</guid>
		<description><![CDATA[One of my favorite features in MDT 2010 is that everything you do in the GUI is executing a PowerShell command that is using the cmd-let’s that comes with the MDT 2010 PowerShell snapin. &#160; This gives excellent opportunities for &#8230; <a href="http://poweradmin.se/blog/2010/07/25/automated-boot-image-management-in-mdt-2010-and-wds-using-powershell/">Continue reading <span class="meta-nav">&#8594;</span></a>
No related posts.]]></description>
			<content:encoded><![CDATA[
<div class="topsy_widget_data topsy_theme_blue" style="float: right;margin-left: 0.75em; background: url(data:,%7B%20%22url%22%3A%20%22http%253A%252F%252Fpoweradmin.se%252Fblog%252F2010%252F07%252F25%252Fautomated-boot-image-management-in-mdt-2010-and-wds-using-powershell%252F%22%2C%20%22style%22%3A%20%22big%22%2C%20%22title%22%3A%20%22Automated%20boot%20image%20management%20in%20MDT%202010%20and%20WDS%20using%20PowerShell%22%20%7D);"></div>
<!-- Start Shareaholic LikeButtonSetTop Automatic --><!-- End Shareaholic LikeButtonSetTop Automatic --><p>One of my favorite features in MDT 2010 is that everything you do in the GUI is executing a PowerShell command that is using the cmd-let’s that comes with the MDT 2010 PowerShell snapin. <img style="border-bottom-style: none; border-right-style: none; border-top-style: none; border-left-style: none" class="wlEmoticon wlEmoticon-smile" alt="Smile" src="http://poweradmin.se/blog/wp-content/uploads/wlEmoticonsmile1.png" /></p>
<p>&#160;</p>
<p>This gives excellent opportunities for scripting geeks such as Dalle and myself since we can automate and do exactly everything what the GUI does, since the GUI itself is using PowerShell behind the scenes. <img style="border-bottom-style: none; border-right-style: none; border-top-style: none; border-left-style: none" class="wlEmoticon wlEmoticon-winkingsmile" alt="Winking smile" src="http://poweradmin.se/blog/wp-content/uploads/wlEmoticonwinkingsmile1.png" /></p>
<p>&#160;</p>
<p>This weekend I upgraded my private MDT environment to MDT 2010 Update 1 which was a very smooth operation. I have a very simple MDT environment at home with a single WDS/MDT server. Since I wanted to have the new and cool background picture in Windows PE that comes with Update 1, I had to update the boot images and import them to the WDS server, which in my case was on the same machine.</p>
<p>&#160;</p>
<p>Therefore I created this little PowerShell script that does that for me automatically. The script is using the PowerShell cmd-let <strong>Update-MDTDeploymentShare</strong> and PS-Drive provider that comes with MDT 2010 snaping. It is also using <strong>wdsutil</strong> which is a command line based tool for managing WDS.</p>
<p>&#160;</p>
<p>The script does the following tasks:</p>
<p>1. Generates completely new and updated boot images for your deployment share.</p>
<p>2. Removes you previous LiteTouch boot images from your WDS server.</p>
<p>3. Imports the newly created LiteTouch boot images into your WDS server.</p>
<p>4. Set each boot image as default boot image for respective architecture.</p>
<p>&#160;</p>
<p>&#160;</p>
<p><a href="http://poweradmin.se/blog/wp-content/uploads/image418.png"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" class="wlDisabledImage" title="image" border="0" alt="image" src="http://poweradmin.se/blog/wp-content/uploads/image_thumb352.png" width="644" height="420" /></a></p>
<p> <strong>I must say, it works really nice. <img style="border-bottom-style: none; border-right-style: none; border-top-style: none; border-left-style: none" class="wlEmoticon wlEmoticon-smile" alt="Smile" src="http://poweradmin.se/blog/wp-content/uploads/wlEmoticonsmile1.png" /></strong>   <br /> 
<p>&#160;</p>
<p>&#160;</p>
<p><a href="http://poweradmin.se/blog/wp-content/uploads/image419.png"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" class="wlDisabledImage" title="image" border="0" alt="image" src="http://poweradmin.se/blog/wp-content/uploads/image_thumb353.png" width="644" height="382" /></a></p>
<p> <strong>“Do more with less…” – the PowerShell way. <img style="border-bottom-style: none; border-right-style: none; border-top-style: none; border-left-style: none" class="wlEmoticon wlEmoticon-winkingsmile" alt="Winking smile" src="http://poweradmin.se/blog/wp-content/uploads/wlEmoticonwinkingsmile1.png" /></strong>   <br /> 
<p>&#160;</p>
<p>The script is defaulting to MDT default names, descriptions and file locations. If you have changed any of this, please update the script according to your environment. Some people may ask why I choose to use <strong>Remove-Image</strong> and <strong>Add-Image</strong> and not <strong>Replace-Image.</strong> Well, the answer is quite simple. If I have deleted the boot image in WDS, the script would not be able to execute since there is no image to replace. If we split it up in to two commands, we will always be able to recreate our boot image in WDS regardless if the boot image is present or not, since only the <strong>Remove-Image</strong> command will fail and not the <strong>Add-Image.</strong></p>
<p><strong>&#160;</strong></p>
<p>So right now I have scheduled this script to run on my WDS/MDT server each midnight. If I add any new storage or NIC drivers into MDT, they will be injected automatically into the boot images during the next scheduled generation of boot images during the night and I “never” have to open the WDS console manually again! <img style="border-bottom-style: none; border-right-style: none; border-top-style: none; border-left-style: none" class="wlEmoticon wlEmoticon-openmouthedsmile" alt="Open-mouthed smile" src="http://poweradmin.se/blog/wp-content/uploads/wlEmoticonopenmouthedsmile.png" /></p>
<p>&#160;</p>
<p>Here is the script (don’t forget to modify it according to your installation):</p>
<p>&#160;</p>
<p><strong>Add-PSSnapIn Microsoft.BDD.PSSnapIn      <br /></strong></p>
<p><strong>New-PSDrive -Name &quot;DS001&quot; -PSProvider MDTProvider -Root &quot;C:\DeploymentShare&quot;      <br /></strong></p>
<p><strong>Update-MDTDeploymentShare -path &quot;DS001:&quot; -Force –Verbose      <br /></strong></p>
<p><strong>wdsutil /Remove-Image /Image:&quot;Lite Touch Windows PE (x86)&quot; /ImageType:Boot /Architecture:x86      <br /></strong></p>
<p><strong>wdsutil /Remove-Image /Image:&quot;Lite Touch Windows PE (x64)&quot; /ImageType:Boot /Architecture:x64      <br /></strong></p>
<p><strong>wdsutil /Verbose /Progress /Add-Image /ImageFile:C:\DeploymentShare\Boot\LiteTouchPE_x86.wim /ImageType:Boot      <br /></strong></p>
<p><strong>wdsutil /Verbose /Progress /Add-Image /ImageFile:C:\DeploymentShare\Boot\LiteTouchPE_x64.wim /ImageType:Boot      <br /></strong></p>
<p><strong>wdsutil /Verbose /Set-Server /BootImage:Boot\x86\images\LiteTouchPE_x86.wim /Architecture:x86      <br /></strong></p>
<p><strong>wdsutil /Verbose /Set-Server /BootImage:Boot\x64\images\LiteTouchPE_x64.wim /Architecture:x64</strong></p>
<p>&#160;</p>
<p>I must say, thank god for <strong>PowerShell</strong>! <img style="border-bottom-style: none; border-right-style: none; border-top-style: none; border-left-style: none" class="wlEmoticon wlEmoticon-redheart" alt="Red heart" src="http://poweradmin.se/blog/wp-content/uploads/wlEmoticonredheart.png" /></p>
<p>&#160;</p>
<p>// Fredrik “DXter” Jonsson</p>
<div class="shr-publisher-2073"></div><!-- Start Shareaholic LikeButtonSetBottom Automatic --><div style="clear: both; min-height: 1px; height: 3px; width: 100%;"></div><div class='shareaholic-like-buttonset' style='float:none;height:60px;'><a class='shareaholic-fblike' data-shr_layout='box_count' data-shr_showfaces='false' data-shr_href='http%3A%2F%2Fpoweradmin.se%2Fblog%2F2010%2F07%2F25%2Fautomated-boot-image-management-in-mdt-2010-and-wds-using-powershell%2F' data-shr_title='Automated+boot+image+management+in+MDT+2010+and+WDS+using+PowerShell'></a><a class='shareaholic-fbsend' data-shr_href='http%3A%2F%2Fpoweradmin.se%2Fblog%2F2010%2F07%2F25%2Fautomated-boot-image-management-in-mdt-2010-and-wds-using-powershell%2F'></a><a class='shareaholic-googleplusone' data-shr_size='tall' data-shr_count='true' data-shr_href='http%3A%2F%2Fpoweradmin.se%2Fblog%2F2010%2F07%2F25%2Fautomated-boot-image-management-in-mdt-2010-and-wds-using-powershell%2F' data-shr_title='Automated+boot+image+management+in+MDT+2010+and+WDS+using+PowerShell'></a></div><div style="clear: both; min-height: 1px; height: 3px; width: 100%;"></div><!-- End Shareaholic LikeButtonSetBottom Automatic -->
<p>No related posts.</p>]]></content:encoded>
			<wfw:commentRss>http://poweradmin.se/blog/2010/07/25/automated-boot-image-management-in-mdt-2010-and-wds-using-powershell/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Deployment Share Sorter</title>
		<link>http://poweradmin.se/blog/2010/01/24/deployment-share-sorter/</link>
		<comments>http://poweradmin.se/blog/2010/01/24/deployment-share-sorter/#comments</comments>
		<pubDate>Sun, 24 Jan 2010 11:40:47 +0000</pubDate>
		<dc:creator>Dalle</dc:creator>
				<category><![CDATA[Deployment]]></category>
		<category><![CDATA[PowerShell Blogs]]></category>
		<category><![CDATA[MDT 2010]]></category>

		<guid isPermaLink="false">http://poweradmin.se/blog/2010/01/24/deployment-share-sorter/</guid>
		<description><![CDATA[When working with MDT folders you want to sort the folders by name to make It look better. This is not a task you do in the Workbench. I found a great script for this by Michael Niehaus at Microsoft. &#8230; <a href="http://poweradmin.se/blog/2010/01/24/deployment-share-sorter/">Continue reading <span class="meta-nav">&#8594;</span></a>
No related posts.]]></description>
			<content:encoded><![CDATA[
<div class="topsy_widget_data topsy_theme_blue" style="float: right;margin-left: 0.75em; background: url(data:,%7B%20%22url%22%3A%20%22http%253A%252F%252Fpoweradmin.se%252Fblog%252F2010%252F01%252F24%252Fdeployment-share-sorter%252F%22%2C%20%22style%22%3A%20%22big%22%2C%20%22title%22%3A%20%22Deployment%20Share%20Sorter%22%20%7D);"></div>
<!-- Start Shareaholic LikeButtonSetTop Automatic --><!-- End Shareaholic LikeButtonSetTop Automatic --><p>When working with MDT folders you want to sort   <br />the folders by name to make It look better.</p>
<p><a href="http://poweradmin.se/blog/wp-content/uploads/image354.png"><img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="image" border="0" alt="image" src="http://poweradmin.se/blog/wp-content/uploads/image_thumb288.png" width="244" height="177" /></a> </p>
<p>This is not a task you do in the Workbench.</p>
<p>I found a great script for this by Michael Niehaus   <br />at Microsoft. It can be found <a href="http://blogs.technet.com/mniehaus/archive/2009/09/09/sorting-the-contents-of-an-mdt-2010-deployment-share.aspx" target="_blank">here</a>.</p>
<p>It will sort every folder in the Deployment Share structure.</p>
<p><a href="http://poweradmin.se/blog/wp-content/uploads/image355.png"><img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="image" border="0" alt="image" src="http://poweradmin.se/blog/wp-content/uploads/image_thumb289.png" width="244" height="172" /></a> </p>
<p>The script will sort the structure by making a _TEMP_   <br />folder and move the folder there and then move them    <br />back sorted one by one.</p>
<p>You can do this manually as well in the Workbench   <br />but It’s a big job then.</p>
<p>In my folder structure the comments will be deleted   <br />this way.</p>
<p><a href="http://poweradmin.se/blog/wp-content/uploads/image356.png"><img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="image" border="0" alt="image" src="http://poweradmin.se/blog/wp-content/uploads/image_thumb290.png" width="244" height="202" /></a>&#160; </p>
<p>If I move (copy, paste, delete old folder) a folder    <br />in the Workbench I will get the same result.</p>
<p>The property “Enable this folder” seems to work just fine   <br />with moving folders.</p>
<p>Is this a known bug/feature?</p>
<p>I will write a script that fixes this for me later on next   <br />week. Have to do another script first <img src='http://poweradmin.se/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>&#160;</p>
<p>
<div style="padding-bottom: 0px; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; float: none; padding-top: 0px" id="scid:0767317B-992E-4b12-91E0-4F059A8CECA8:8fb1650e-ea22-4766-9cf7-b66343bd665c" class="wlWriterEditableSmartContent">Technorati Tags: <a href="http://technorati.com/tags/PowerShell" rel="tag">PowerShell</a>,<a href="http://technorati.com/tags/Deployment" rel="tag">Deployment</a>,<a href="http://technorati.com/tags/MDT+2010" rel="tag">MDT 2010</a></div></p>
<div class="shr-publisher-1646"></div><!-- Start Shareaholic LikeButtonSetBottom Automatic --><div style="clear: both; min-height: 1px; height: 3px; width: 100%;"></div><div class='shareaholic-like-buttonset' style='float:none;height:60px;'><a class='shareaholic-fblike' data-shr_layout='box_count' data-shr_showfaces='false' data-shr_href='http%3A%2F%2Fpoweradmin.se%2Fblog%2F2010%2F01%2F24%2Fdeployment-share-sorter%2F' data-shr_title='Deployment+Share+Sorter'></a><a class='shareaholic-fbsend' data-shr_href='http%3A%2F%2Fpoweradmin.se%2Fblog%2F2010%2F01%2F24%2Fdeployment-share-sorter%2F'></a><a class='shareaholic-googleplusone' data-shr_size='tall' data-shr_count='true' data-shr_href='http%3A%2F%2Fpoweradmin.se%2Fblog%2F2010%2F01%2F24%2Fdeployment-share-sorter%2F' data-shr_title='Deployment+Share+Sorter'></a></div><div style="clear: both; min-height: 1px; height: 3px; width: 100%;"></div><!-- End Shareaholic LikeButtonSetBottom Automatic -->
<p>No related posts.</p>]]></content:encoded>
			<wfw:commentRss>http://poweradmin.se/blog/2010/01/24/deployment-share-sorter/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Application folders in MDT 2010 + PowerShell</title>
		<link>http://poweradmin.se/blog/2010/01/24/application-folders-in-mdt-2010-powershell/</link>
		<comments>http://poweradmin.se/blog/2010/01/24/application-folders-in-mdt-2010-powershell/#comments</comments>
		<pubDate>Sat, 23 Jan 2010 23:08:30 +0000</pubDate>
		<dc:creator>Dalle</dc:creator>
				<category><![CDATA[PowerShell Blogs]]></category>
		<category><![CDATA[MDT 2010]]></category>

		<guid isPermaLink="false">http://poweradmin.se/blog/2010/01/24/application-folders-in-mdt-2010-powershell/</guid>
		<description><![CDATA[One nice thing with MDT 2010 is the possibility to make folders in the Application folder. I like a nice structure of things and with PowerShell I can make my structure for MDT 2010 Applications, Operating Systems and Drivers in &#8230; <a href="http://poweradmin.se/blog/2010/01/24/application-folders-in-mdt-2010-powershell/">Continue reading <span class="meta-nav">&#8594;</span></a>
No related posts.]]></description>
			<content:encoded><![CDATA[
<div class="topsy_widget_data topsy_theme_blue" style="float: right;margin-left: 0.75em; background: url(data:,%7B%20%22url%22%3A%20%22http%253A%252F%252Fpoweradmin.se%252Fblog%252F2010%252F01%252F24%252Fapplication-folders-in-mdt-2010-powershell%252F%22%2C%20%22style%22%3A%20%22big%22%2C%20%22title%22%3A%20%22Application%20folders%20in%20MDT%202010%20%2B%20PowerShell%22%20%7D);"></div>
<!-- Start Shareaholic LikeButtonSetTop Automatic --><!-- End Shareaholic LikeButtonSetTop Automatic --><p>One nice thing with MDT 2010 is the possibility to   <br />make folders in the Application folder.</p>
<p>I like a nice structure of things and with PowerShell   <br />I can make my structure for MDT 2010 Applications,    <br />Operating Systems and Drivers in no time.</p>
<p><a href="http://poweradmin.se/blog/wp-content/uploads/image353.png"><img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="image" border="0" alt="image" src="http://poweradmin.se/blog/wp-content/uploads/image_thumb287.png" width="417" height="224" /></a> </p>
<pre><span style="color: #5f9ea0; font-weight: bold"><font size="1">cls</font></span><span style="color: #000000">
</span><font size="1"><span style="color: #800080">$MDTName</span><span style="color: #000000"> </span><span style="color: #ff0000">=</span><span style="color: #000000"> </span><span style="color: #800000">&quot;</span><span style="color: #800000">MyMDT</span><span style="color: #800000">&quot;</span></font><span style="color: #000000">
</span><font size="1"><span style="color: #800080">$MDTServer</span><span style="color: #000000"> </span><span style="color: #ff0000">=</span><span style="color: #000000"> </span><span style="color: #800000">&quot;</span><span style="color: #800000">\\padc01</span><span style="color: #800000">&quot;</span></font><span style="color: #000000">
</span><font size="1"><span style="color: #800080">$MDTApplications</span><span style="color: #000000"> </span><span style="color: #ff0000">=</span><span style="color: #000000"> </span><span style="color: #800000">&quot;</span><span style="color: #800000">Antivirus</span><span style="color: #800000">&quot;</span><span style="color: #000000">, </span><span style="color: #800000">&quot;</span><span style="color: #800000">Browser</span><span style="color: #800000">&quot;</span><span style="color: #000000">, </span><span style="color: #800000">&quot;</span><span style="color: #800000">Office</span><span style="color: #800000">&quot;</span><span style="color: #000000">, </span><span style="color: #800000">&quot;</span><span style="color: #800000">Twitter</span><span style="color: #800000">&quot;</span><span style="color: #000000">, </span><span style="color: #800000">&quot;</span><span style="color: #800000">Security</span><span style="color: #800000">&quot;</span><span style="color: #000000">, </span><span style="color: #800000">&quot;</span><span style="color: #800000">Server</span><span style="color: #800000">&quot;</span></font><span style="color: #000000">
</span><font size="1"><span style="color: #5f9ea0; font-weight: bold">Add-PSSnapIn</span><span style="color: #000000"> </span><span style="color: #800000">Microsoft.BDD.PSSnapIn</span></font><span style="color: #000000">
</span><font size="1"><span style="color: #5f9ea0; font-weight: bold">New-PSDrive</span><span style="color: #000000"> </span><span style="font-style: italic; color: #5f9ea0">-Name</span><span style="color: #000000"> </span><span style="color: #800080">$MDTName</span><span style="color: #000000"> </span><span style="font-style: italic; color: #5f9ea0">-PSProvider</span><span style="color: #000000"> </span><span style="color: #800000">MDTProvider</span><span style="color: #000000"> </span><span style="font-style: italic; color: #5f9ea0">-Root</span><span style="color: #000000"> </span><span style="color: #800080">$MDTServer</span></font><font size="1"><span style="color: #000000">\DeploymentShare$
</span><span style="color: #0000ff">foreach</span><span style="color: #000000"> (</span><span style="color: #800080">$MDTApp</span><span style="color: #000000"> </span><span style="color: #0000ff">in</span><span style="color: #000000"> </span><span style="color: #800080">$MDTApplications</span></font><font size="1"><span style="color: #000000">) {
    </span><span style="color: #5f9ea0; font-weight: bold">New-Item</span><span style="color: #000000"> </span><span style="font-style: italic; color: #5f9ea0">-path</span><span style="color: #000000"> </span><span style="color: #800000">&quot;</span><span style="color: #800000">$MDTName:\Applications</span><span style="color: #800000">&quot;</span><span style="color: #000000"> -enable </span><span style="color: #800000">&quot;</span><span style="color: #800000">True</span><span style="color: #800000">&quot;</span><span style="color: #000000"> </span><span style="font-style: italic; color: #5f9ea0">-Name</span><span style="color: #000000"> </span><span style="color: #800000">&quot;</span><span style="color: #800000">$MDTApp Applications</span><span style="color: #800000">&quot;</span></font></pre>
<pre><font size="1"><span style="color: #800000"> </span><span style="color: #000000">-Comments </span><span style="color: #800000">&quot;</span><span style="color: #800000">$MDTApp Applications</span><span style="color: #800000">&quot;</span><span style="color: #000000"> </span><span style="font-style: italic; color: #5f9ea0">-ItemType</span><span style="color: #000000"> </span><span style="color: #800000">&quot;</span><span style="color: #800000">folder</span><span style="color: #800000">&quot;</span><span style="color: #000000"> </span><span style="font-style: italic; color: #5f9ea0">-Verbose</span><span style="color: #000000"> </span><span style="font-style: italic; color: #5f9ea0">-ErrorAction</span><span style="color: #000000"> </span><span style="color: #800000">SilentlyContinue</span></font><span style="color: #000000">
<font size="1">}</font>
</span></pre>
<p>9 lines of code can make 50 folders in 50 sec <img src='http://poweradmin.se/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /><br />
  <br />And you can make it in less lines!</p>
<p>&#160;</p>
<p><div style="padding-bottom: 0px; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; float: none; padding-top: 0px" id="scid:0767317B-992E-4b12-91E0-4F059A8CECA8:30dafe08-f84c-43b6-a0f4-4f0ffade1780" class="wlWriterEditableSmartContent">Technorati Tags: <a href="http://technorati.com/tags/PowerShell" rel="tag">PowerShell</a>,<a href="http://technorati.com/tags/MDT+2010" rel="tag">MDT 2010</a></div></p>
<div class="shr-publisher-1638"></div><!-- Start Shareaholic LikeButtonSetBottom Automatic --><div style="clear: both; min-height: 1px; height: 3px; width: 100%;"></div><div class='shareaholic-like-buttonset' style='float:none;height:60px;'><a class='shareaholic-fblike' data-shr_layout='box_count' data-shr_showfaces='false' data-shr_href='http%3A%2F%2Fpoweradmin.se%2Fblog%2F2010%2F01%2F24%2Fapplication-folders-in-mdt-2010-powershell%2F' data-shr_title='Application+folders+in+MDT+2010+%2B+PowerShell'></a><a class='shareaholic-fbsend' data-shr_href='http%3A%2F%2Fpoweradmin.se%2Fblog%2F2010%2F01%2F24%2Fapplication-folders-in-mdt-2010-powershell%2F'></a><a class='shareaholic-googleplusone' data-shr_size='tall' data-shr_count='true' data-shr_href='http%3A%2F%2Fpoweradmin.se%2Fblog%2F2010%2F01%2F24%2Fapplication-folders-in-mdt-2010-powershell%2F' data-shr_title='Application+folders+in+MDT+2010+%2B+PowerShell'></a></div><div style="clear: both; min-height: 1px; height: 3px; width: 100%;"></div><!-- End Shareaholic LikeButtonSetBottom Automatic -->
<p>No related posts.</p>]]></content:encoded>
			<wfw:commentRss>http://poweradmin.se/blog/2010/01/24/application-folders-in-mdt-2010-powershell/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Manage a remote MDT 2010 solution</title>
		<link>http://poweradmin.se/blog/2010/01/23/manage-a-remote-mdt-2010-solution/</link>
		<comments>http://poweradmin.se/blog/2010/01/23/manage-a-remote-mdt-2010-solution/#comments</comments>
		<pubDate>Sat, 23 Jan 2010 16:14:46 +0000</pubDate>
		<dc:creator>Dalle</dc:creator>
				<category><![CDATA[Deployment]]></category>
		<category><![CDATA[MDT 2010]]></category>

		<guid isPermaLink="false">http://poweradmin.se/blog/2010/01/23/manage-a-remote-mdt-2010-solution/</guid>
		<description><![CDATA[This is a follow up on my last blog post about using PowerShell from a Windows 7 machine against a MDT 2010 solution (server). It’s a how to use the Workbench on the Windows 7 machine to manage a MDT &#8230; <a href="http://poweradmin.se/blog/2010/01/23/manage-a-remote-mdt-2010-solution/">Continue reading <span class="meta-nav">&#8594;</span></a>
No related posts.]]></description>
			<content:encoded><![CDATA[
<div class="topsy_widget_data topsy_theme_blue" style="float: right;margin-left: 0.75em; background: url(data:,%7B%20%22url%22%3A%20%22http%253A%252F%252Fpoweradmin.se%252Fblog%252F2010%252F01%252F23%252Fmanage-a-remote-mdt-2010-solution%252F%22%2C%20%22style%22%3A%20%22big%22%2C%20%22title%22%3A%20%22Manage%20a%20remote%20MDT%202010%20solution%22%20%7D);"></div>
<!-- Start Shareaholic LikeButtonSetTop Automatic --><!-- End Shareaholic LikeButtonSetTop Automatic --><p>This is a follow up on my last blog post about   <br />using PowerShell from a Windows 7 machine    <br />against a MDT 2010 solution (server).</p>
<p>It’s a how to use the Workbench on the   <br />Windows 7 machine to manage a MDT 2010 solution    <br />on a remote server.</p>
<p><a href="http://poweradmin.se/blog/wp-content/uploads/image349.png"><img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="image" border="0" alt="image" src="http://poweradmin.se/blog/wp-content/uploads/image_thumb283.png" width="289" height="156" /></a> </p>
<p>First of all you need to go in to the Workbench   <br />and the components section.</p>
<p>Then select Windows Automation Installation Kit x86 or x64   <br />and download it by push the download button. It’s a large    <br />file ~1 GB.</p>
<p>And when It is downloaded, select it again (it’s now under the downloaded section) and push the install button.</p>
<p>Now choose Open Deployment Share on the right side of the workbench.</p>
<p>The path should be like <a href="file://\\server\deploymentshare$">\\server\deploymentshare$</a></p>
<p><a href="http://poweradmin.se/blog/wp-content/uploads/image350.png"><img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="image" border="0" alt="image" src="http://poweradmin.se/blog/wp-content/uploads/image_thumb284.png" width="244" height="202" /></a> </p>
<p><a href="http://poweradmin.se/blog/wp-content/uploads/image351.png"><img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="image" border="0" alt="image" src="http://poweradmin.se/blog/wp-content/uploads/image_thumb285.png" width="244" height="202" /></a> </p>
<p>Now you got the same view on your Windows 7 machine   <br />as on the MDT 2010 server.</p>
<p><a href="http://poweradmin.se/blog/wp-content/uploads/image352.png"><img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="image" border="0" alt="image" src="http://poweradmin.se/blog/wp-content/uploads/image_thumb286.png" width="388" height="209" /></a> </p>
</p>
<p>I love this <img src='http://poweradmin.se/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>But I don’t love the WAIK part, 1 GB of installation to be able to   <br />do remote administration is not so good!</p>
<p>&#160;</p>
<p>
<div style="padding-bottom: 0px; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; float: none; padding-top: 0px" id="scid:0767317B-992E-4b12-91E0-4F059A8CECA8:a7c91569-48c4-4b20-8fe7-6434207ee22c" class="wlWriterEditableSmartContent">Technorati Tags: <a href="http://technorati.com/tags/MDT+2010" rel="tag">MDT 2010</a>,<a href="http://technorati.com/tags/Deployment" rel="tag">Deployment</a></div></p>
<div class="shr-publisher-1635"></div><!-- Start Shareaholic LikeButtonSetBottom Automatic --><div style="clear: both; min-height: 1px; height: 3px; width: 100%;"></div><div class='shareaholic-like-buttonset' style='float:none;height:60px;'><a class='shareaholic-fblike' data-shr_layout='box_count' data-shr_showfaces='false' data-shr_href='http%3A%2F%2Fpoweradmin.se%2Fblog%2F2010%2F01%2F23%2Fmanage-a-remote-mdt-2010-solution%2F' data-shr_title='Manage+a+remote+MDT+2010+solution'></a><a class='shareaholic-fbsend' data-shr_href='http%3A%2F%2Fpoweradmin.se%2Fblog%2F2010%2F01%2F23%2Fmanage-a-remote-mdt-2010-solution%2F'></a><a class='shareaholic-googleplusone' data-shr_size='tall' data-shr_count='true' data-shr_href='http%3A%2F%2Fpoweradmin.se%2Fblog%2F2010%2F01%2F23%2Fmanage-a-remote-mdt-2010-solution%2F' data-shr_title='Manage+a+remote+MDT+2010+solution'></a></div><div style="clear: both; min-height: 1px; height: 3px; width: 100%;"></div><!-- End Shareaholic LikeButtonSetBottom Automatic -->
<p>No related posts.</p>]]></content:encoded>
			<wfw:commentRss>http://poweradmin.se/blog/2010/01/23/manage-a-remote-mdt-2010-solution/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>MDT 2010 + PowerShell from Windows 7</title>
		<link>http://poweradmin.se/blog/2010/01/23/mdt-2010-powershell-from-windows-7/</link>
		<comments>http://poweradmin.se/blog/2010/01/23/mdt-2010-powershell-from-windows-7/#comments</comments>
		<pubDate>Sat, 23 Jan 2010 15:36:43 +0000</pubDate>
		<dc:creator>Dalle</dc:creator>
				<category><![CDATA[Deployment]]></category>
		<category><![CDATA[PowerShell Blogs]]></category>
		<category><![CDATA[MDT 2010]]></category>
		<category><![CDATA[Remote]]></category>
		<category><![CDATA[Windows 7]]></category>

		<guid isPermaLink="false">http://poweradmin.se/blog/2010/01/23/mdt-2010-powershell-from-windows-7/</guid>
		<description><![CDATA[I like to do everything from my Windows 7 machine. One administration point with all of my scripts. So I wanted to access my MDT 2010 server thru PowerShell from It too. As default this will not go. You need &#8230; <a href="http://poweradmin.se/blog/2010/01/23/mdt-2010-powershell-from-windows-7/">Continue reading <span class="meta-nav">&#8594;</span></a>
No related posts.]]></description>
			<content:encoded><![CDATA[
<div class="topsy_widget_data topsy_theme_blue" style="float: right;margin-left: 0.75em; background: url(data:,%7B%20%22url%22%3A%20%22http%253A%252F%252Fpoweradmin.se%252Fblog%252F2010%252F01%252F23%252Fmdt-2010-powershell-from-windows-7%252F%22%2C%20%22style%22%3A%20%22big%22%2C%20%22title%22%3A%20%22MDT%202010%20%2B%20PowerShell%20from%20Windows%207%22%20%7D);"></div>
<!-- Start Shareaholic LikeButtonSetTop Automatic --><!-- End Shareaholic LikeButtonSetTop Automatic --><p>I like to do everything from my Windows 7 machine.   <br />One administration point with all of my scripts.</p>
<p>So I wanted to access my MDT 2010 server thru PowerShell   <br />from It too.</p>
<p>As default this will not go.   <br />You need to Add-PSSnapIn</p>
<pre><span style="color: #5f9ea0; font-weight: bold">Add-PSSnapIn</span><span style="color: #000000"> </span><span style="color: #800000">Microsoft.BDD.PSSnapIn</span></pre>
<p>And you will not have that on your Windows 7 machine</p>
<p>out of the box. But It’s not that hard to fix.</p>
<p>Just install MDT 2010 on the Windows 7 machine as well.<br />
  <br />This is a 10 MB installation file only <img src='http://poweradmin.se/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>No problem!</p>
<p><a href="http://poweradmin.se/blog/wp-content/uploads/image348.png"><img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="image" border="0" alt="image" src="http://poweradmin.se/blog/wp-content/uploads/image_thumb282.png" width="244" height="192" /></a></p>
<p>And now we can access our MDT solution remote with<br />
  <br />PowerShell.</p>
<p>This is a small test script</p>
<pre><span style="color: #5f9ea0; font-weight: bold">cls</span><span style="color: #000000">
</span><span style="color: #5f9ea0; font-weight: bold">Add-PSSnapIn</span><span style="color: #000000"> </span><span style="color: #800000">Microsoft.BDD.PSSnapIn</span><span style="color: #000000">
</span><span style="color: #5f9ea0; font-weight: bold">New-PSDrive</span><span style="color: #000000"> </span><span style="font-style: italic; color: #5f9ea0">-Name</span><span style="color: #000000"> </span><span style="color: #800000">MyMDT</span><span style="color: #000000"> </span><span style="font-style: italic; color: #5f9ea0">-PSProvider</span><span style="color: #000000"> </span><span style="color: #800000">MDTProvider</span><span style="color: #000000"> </span><span style="font-style: italic; color: #5f9ea0">-Root</span><span style="color: #000000"> </span><span style="color: #800000">\\padc01\DeploymentShare$</span><span style="color: #000000">
</span><span style="color: #5f9ea0; font-weight: bold">cd</span><span style="color: #000000"> MyMDT:
</span><span style="color: #5f9ea0; font-weight: bold">dir</span></pre>
<p>And the output will be something like</p>
<p>WARNING: column &quot;CurrentLocation&quot; does not fit into the display and was removed. </p>
<p>Name&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; Used (GB)&#160;&#160;&#160;&#160; Free (GB) Provider&#160;&#160;&#160;&#160;&#160; Root&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; <br />&#8212;-&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &#8212;&#8212;&#8212;&#160;&#160;&#160;&#160; &#8212;&#8212;&#8212; &#8212;&#8212;&#8211;&#160;&#160;&#160;&#160;&#160; &#8212;-&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; <br />MyMDT&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; MDTProvider&#160;&#160; \\padc01\DeploymentShare$&#160;&#160;&#160;&#160;&#160; </p>
<p>Name : Applications </p>
<p>Name : Operating Systems </p>
<p>Name : Out-of-Box Drivers </p>
<p>Name : Packages </p>
<p>Name : Task Sequences </p>
<p>Name : Selection Profiles </p>
<p>Name : Linked Deployment Shares </p>
<p>Name : Media</p>
<p>&#160;</p>
<p><div style="padding-bottom: 0px; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; float: none; padding-top: 0px" id="scid:0767317B-992E-4b12-91E0-4F059A8CECA8:71f1d84a-2758-490d-89e9-fc09edbfd201" class="wlWriterEditableSmartContent">Technorati Tags: <a href="http://technorati.com/tags/PowerShell" rel="tag">PowerShell</a>,<a href="http://technorati.com/tags/MDT+2010" rel="tag">MDT 2010</a>,<a href="http://technorati.com/tags/Windows+7" rel="tag">Windows 7</a>,<a href="http://technorati.com/tags/Remote" rel="tag">Remote</a></div></p>
<div class="shr-publisher-1625"></div><!-- Start Shareaholic LikeButtonSetBottom Automatic --><div style="clear: both; min-height: 1px; height: 3px; width: 100%;"></div><div class='shareaholic-like-buttonset' style='float:none;height:60px;'><a class='shareaholic-fblike' data-shr_layout='box_count' data-shr_showfaces='false' data-shr_href='http%3A%2F%2Fpoweradmin.se%2Fblog%2F2010%2F01%2F23%2Fmdt-2010-powershell-from-windows-7%2F' data-shr_title='MDT+2010+%2B+PowerShell+from+Windows+7'></a><a class='shareaholic-fbsend' data-shr_href='http%3A%2F%2Fpoweradmin.se%2Fblog%2F2010%2F01%2F23%2Fmdt-2010-powershell-from-windows-7%2F'></a><a class='shareaholic-googleplusone' data-shr_size='tall' data-shr_count='true' data-shr_href='http%3A%2F%2Fpoweradmin.se%2Fblog%2F2010%2F01%2F23%2Fmdt-2010-powershell-from-windows-7%2F' data-shr_title='MDT+2010+%2B+PowerShell+from+Windows+7'></a></div><div style="clear: both; min-height: 1px; height: 3px; width: 100%;"></div><!-- End Shareaholic LikeButtonSetBottom Automatic -->
<p>No related posts.</p>]]></content:encoded>
			<wfw:commentRss>http://poweradmin.se/blog/2010/01/23/mdt-2010-powershell-from-windows-7/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>First step with MDT 2010 and PowerShell</title>
		<link>http://poweradmin.se/blog/2010/01/23/first-step-with-mdt-2010-and-powershell/</link>
		<comments>http://poweradmin.se/blog/2010/01/23/first-step-with-mdt-2010-and-powershell/#comments</comments>
		<pubDate>Sat, 23 Jan 2010 15:16:26 +0000</pubDate>
		<dc:creator>Dalle</dc:creator>
				<category><![CDATA[PowerShell Blogs]]></category>
		<category><![CDATA[MDT 2010]]></category>

		<guid isPermaLink="false">http://poweradmin.se/blog/2010/01/23/first-step-with-mdt-2010-and-powershell/</guid>
		<description><![CDATA[My very first step was to add the Microsoft.BDD.PSSnapIn. Add-PSSnapin Microsoft.BDD.PSSnapin &#160; And then I could make a new PSDrive New-PSDrive -Name MyMDT -PSProvider MDTProvider -Root \\psdc01\DeploymentShare$ &#160; When I have a PSDrive I can access it thru cd MyMDT: &#8230; <a href="http://poweradmin.se/blog/2010/01/23/first-step-with-mdt-2010-and-powershell/">Continue reading <span class="meta-nav">&#8594;</span></a>
No related posts.]]></description>
			<content:encoded><![CDATA[
<div class="topsy_widget_data topsy_theme_blue" style="float: right;margin-left: 0.75em; background: url(data:,%7B%20%22url%22%3A%20%22http%253A%252F%252Fpoweradmin.se%252Fblog%252F2010%252F01%252F23%252Ffirst-step-with-mdt-2010-and-powershell%252F%22%2C%20%22style%22%3A%20%22big%22%2C%20%22title%22%3A%20%22First%20step%20with%20MDT%202010%20and%20PowerShell%22%20%7D);"></div>
<!-- Start Shareaholic LikeButtonSetTop Automatic --><!-- End Shareaholic LikeButtonSetTop Automatic --><p>My very first step was to add the Microsoft.BDD.PSSnapIn.</p>
<p>Add-PSSnapin Microsoft.BDD.PSSnapin</p>
<p>&#160;</p>
<p>And then I could make a new PSDrive</p>
<p>New-PSDrive -Name MyMDT -PSProvider MDTProvider -Root <a href="file://\\psdc01\DeploymentShare$">\\psdc01\DeploymentShare$</a></p>
<p>&#160;</p>
<p>When I have a PSDrive I can access it thru</p>
<p>cd MyMDT:</p>
<p>dir</p>
<p>Name   <br />&#8212;-    <br />Applications    <br />Operating Systems    <br />Out-of-Box Drivers    <br />Packages    <br />Task Sequences    <br />Selection Profiles    <br />Linked Deployment Shares    <br />Media</p>
<p>This means that I can access my MDT solution and do   <br />everything with PowerShell. I’m in love! <img src='http://poweradmin.se/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>But It will get better.   <br />To learn much and fast about how to do tasks with PowerShell you can    <br />use the MDT Workbench.</p>
<p>A simple and nice task is to create a folder for every Office application   <br />that you want to add.</p>
<p>With the Workbench we do like this.</p>
<p><a href="http://poweradmin.se/blog/wp-content/uploads/mdtnewfolder.png"><img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="mdt-newfolder" border="0" alt="mdt-newfolder" src="http://poweradmin.se/blog/wp-content/uploads/mdtnewfolder_thumb.png" width="365" height="195" /></a> </p>
<p><a href="http://poweradmin.se/blog/wp-content/uploads/mdtnewfolder2.png"><img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="mdt-newfolder2" border="0" alt="mdt-newfolder2" src="http://poweradmin.se/blog/wp-content/uploads/mdtnewfolder2_thumb.png" width="274" height="227" /></a> </p>
<p><a href="http://poweradmin.se/blog/wp-content/uploads/mdtnewfolder3.png"><img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="mdt-newfolder3" border="0" alt="mdt-newfolder3" src="http://poweradmin.se/blog/wp-content/uploads/mdtnewfolder3_thumb.png" width="244" height="201" /></a> </p>
<p>On the last picture, on the right, just above finish   <br />you got “View Script”.</p>
<p>This will open Notepad with a full .ps1 script   <br />with the task that you did in the workbench.</p>
<p><a href="http://poweradmin.se/blog/wp-content/uploads/image347.png"><img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="image" border="0" alt="image" src="http://poweradmin.se/blog/wp-content/uploads/image_thumb281.png" width="244" height="40" /></a> </p>
<p>This is nice!</p>
<p>Thanks DXter for the heads up on this.</p>
<p>More on MDT 2010 and PowerShell will come soon.</p>
<p>&#160;</p>
<p>
<div style="padding-bottom: 0px; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; float: none; padding-top: 0px" id="scid:0767317B-992E-4b12-91E0-4F059A8CECA8:f981d8f8-949d-4d08-9d03-cf3ca94636d2" class="wlWriterEditableSmartContent">Technorati Tags: <a href="http://technorati.com/tags/MDT+2010" rel="tag">MDT 2010</a>,<a href="http://technorati.com/tags/PowerShell" rel="tag">PowerShell</a></div></p>
<div class="shr-publisher-1622"></div><!-- Start Shareaholic LikeButtonSetBottom Automatic --><div style="clear: both; min-height: 1px; height: 3px; width: 100%;"></div><div class='shareaholic-like-buttonset' style='float:none;height:60px;'><a class='shareaholic-fblike' data-shr_layout='box_count' data-shr_showfaces='false' data-shr_href='http%3A%2F%2Fpoweradmin.se%2Fblog%2F2010%2F01%2F23%2Ffirst-step-with-mdt-2010-and-powershell%2F' data-shr_title='First+step+with+MDT+2010+and+PowerShell'></a><a class='shareaholic-fbsend' data-shr_href='http%3A%2F%2Fpoweradmin.se%2Fblog%2F2010%2F01%2F23%2Ffirst-step-with-mdt-2010-and-powershell%2F'></a><a class='shareaholic-googleplusone' data-shr_size='tall' data-shr_count='true' data-shr_href='http%3A%2F%2Fpoweradmin.se%2Fblog%2F2010%2F01%2F23%2Ffirst-step-with-mdt-2010-and-powershell%2F' data-shr_title='First+step+with+MDT+2010+and+PowerShell'></a></div><div style="clear: both; min-height: 1px; height: 3px; width: 100%;"></div><!-- End Shareaholic LikeButtonSetBottom Automatic -->
<p>No related posts.</p>]]></content:encoded>
			<wfw:commentRss>http://poweradmin.se/blog/2010/01/23/first-step-with-mdt-2010-and-powershell/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>MDT 2010</title>
		<link>http://poweradmin.se/blog/2009/09/10/mdt-2010/</link>
		<comments>http://poweradmin.se/blog/2009/09/10/mdt-2010/#comments</comments>
		<pubDate>Thu, 10 Sep 2009 06:05:03 +0000</pubDate>
		<dc:creator>Dalle</dc:creator>
				<category><![CDATA[Deployment]]></category>
		<category><![CDATA[News]]></category>
		<category><![CDATA[MDT 2010]]></category>
		<category><![CDATA[Microsoft Deployment Toolkit]]></category>

		<guid isPermaLink="false">http://poweradmin.se/blog/2009/09/10/mdt-2010/</guid>
		<description><![CDATA[Microsoft Deployment Toolkit 2010 got released yesterday. You will find the MDT 2010 site here. Download it and start to deploy &#160; Technorati Tags: Microsoft Deployment Toolkit,MDT 2010 No related posts.
No related posts.]]></description>
			<content:encoded><![CDATA[
<div class="topsy_widget_data topsy_theme_blue" style="float: right;margin-left: 0.75em; background: url(data:,%7B%20%22url%22%3A%20%22http%253A%252F%252Fpoweradmin.se%252Fblog%252F2009%252F09%252F10%252Fmdt-2010%252F%22%2C%20%22style%22%3A%20%22big%22%2C%20%22title%22%3A%20%22MDT%202010%22%20%7D);"></div>
<!-- Start Shareaholic LikeButtonSetTop Automatic --><!-- End Shareaholic LikeButtonSetTop Automatic --><p><a href="http://poweradmin.se/blog/wp-content/uploads/image151.png"><img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="image" border="0" alt="image" src="http://poweradmin.se/blog/wp-content/uploads/image_thumb86.png" width="244" height="125" /></a> </p>
<p>Microsoft Deployment Toolkit 2010 got released yesterday.   <br />You will find the MDT 2010 site <a href="http://technet.microsoft.com/en-us/solutionaccelerators/dd407791.aspx">here</a>.</p>
<p>Download it and start to deploy <img src='http://poweradmin.se/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>&#160;</p>
<div style="padding-bottom: 0px; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; float: none; padding-top: 0px" id="scid:0767317B-992E-4b12-91E0-4F059A8CECA8:28ac9308-8200-492f-9083-6ecc194afec9" class="wlWriterEditableSmartContent">Technorati Tags: <a href="http://technorati.com/tags/Microsoft+Deployment+Toolkit" rel="tag">Microsoft Deployment Toolkit</a>,<a href="http://technorati.com/tags/MDT+2010" rel="tag">MDT 2010</a></div>
<div class="shr-publisher-744"></div><!-- Start Shareaholic LikeButtonSetBottom Automatic --><div style="clear: both; min-height: 1px; height: 3px; width: 100%;"></div><div class='shareaholic-like-buttonset' style='float:none;height:60px;'><a class='shareaholic-fblike' data-shr_layout='box_count' data-shr_showfaces='false' data-shr_href='http%3A%2F%2Fpoweradmin.se%2Fblog%2F2009%2F09%2F10%2Fmdt-2010%2F' data-shr_title='MDT+2010'></a><a class='shareaholic-fbsend' data-shr_href='http%3A%2F%2Fpoweradmin.se%2Fblog%2F2009%2F09%2F10%2Fmdt-2010%2F'></a><a class='shareaholic-googleplusone' data-shr_size='tall' data-shr_count='true' data-shr_href='http%3A%2F%2Fpoweradmin.se%2Fblog%2F2009%2F09%2F10%2Fmdt-2010%2F' data-shr_title='MDT+2010'></a></div><div style="clear: both; min-height: 1px; height: 3px; width: 100%;"></div><!-- End Shareaholic LikeButtonSetBottom Automatic -->
<p>No related posts.</p>]]></content:encoded>
			<wfw:commentRss>http://poweradmin.se/blog/2009/09/10/mdt-2010/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

