<?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>MicrosoftPro.nl</title>
	<atom:link href="http://www.microsoftpro.nl/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.microsoftpro.nl</link>
	<description></description>
	<lastBuildDate>Thu, 28 Jul 2011 12:49:17 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
		<item>
		<title>How to cleanup the winsxs folder on Windows 7 (SP1)/ Windows 2008 / Windows 2008 R2 (SP1)</title>
		<link>http://www.microsoftpro.nl/2011/07/28/how-to-cleanup-the-winsxs-folder-on-windows-7-sp1-windows-2008-windows-2008-r2-sp1/</link>
		<comments>http://www.microsoftpro.nl/2011/07/28/how-to-cleanup-the-winsxs-folder-on-windows-7-sp1-windows-2008-windows-2008-r2-sp1/#comments</comments>
		<pubDate>Thu, 28 Jul 2011 12:49:17 +0000</pubDate>
		<dc:creator>Michael</dc:creator>
				<category><![CDATA[Windows 7]]></category>
		<category><![CDATA[Windows Server]]></category>
		<category><![CDATA[Windows Server 2008]]></category>
		<category><![CDATA[Windows Server 2008 R2]]></category>
		<category><![CDATA[Windows 2008]]></category>
		<category><![CDATA[windows 2008 r2]]></category>

		<guid isPermaLink="false">http://www.microsoftpro.nl/?p=269</guid>
		<description><![CDATA[<p>The winsxs folder in c:\windows can be really big, the only way to cleanup is using the microsoft command line tools :</p> <p>Windows Server 2003 : VSP1CLEAN.exe<br /> Windows Server 2008 : COMPCLN.exe<br /> Windows 7 and Server 2008 R2 : DISM.exe</p> <p>I will explain the last one here.  Start you&#8217;re command prompt As Administrator.</p> [...]]]></description>
			<content:encoded><![CDATA[<!-- Start Shareaholic LikeButtonSetTop Automatic --><!-- End Shareaholic LikeButtonSetTop Automatic --><p>The winsxs folder in c:\windows can be really big, the only way to cleanup is using the microsoft command line tools :</p>
<p>Windows Server 2003 : VSP1CLEAN.exe<br />
Windows Server 2008 : COMPCLN.exe<br />
Windows 7 and Server 2008 R2 : DISM.exe</p>
<p>I will explain the last one here.  Start you&#8217;re command prompt As Administrator.</p>
<p>Usage: dism /online /cleanup-image /spsuperseded</p>
<p><strong><em>Note:</em></strong><br />
After running this command it won&#8217;t be possible to uninstall any service packs!</p>
<p>Before :<br />
<a href="http://www.microsoftpro.nl/wp-content/uploads/2011/07/voor.jpg"><img class="alignnone size-thumbnail wp-image-272" title="voor" src="http://www.microsoftpro.nl/wp-content/uploads/2011/07/voor-150x66.jpg" alt="" width="150" height="66" /></a></p>
<p>After:<br />
<a href="http://www.microsoftpro.nl/wp-content/uploads/2011/07/na.jpg"><img class="alignnone size-thumbnail wp-image-271" title="na" src="http://www.microsoftpro.nl/wp-content/uploads/2011/07/na-150x71.jpg" alt="" width="150" height="71" /></a></p>
<p>So almost 3Gb on my Windows 7 Sp1 machine is released.</p>
<p>You can also run these commands :</p>
<blockquote><p>Takeown /f %windir%\winsxs\ManifestCache\*<br />
Icacls %windir%\winsxs\ManifestCache\* /GRANT administrators:F<br />
Del /q %windir%\winsxs\ManifestCache\*</p></blockquote>
<p>In my case this cleanup another 500Mb</p>
<div class="shr-publisher-269"></div><!-- Start Shareaholic LikeButtonSetBottom Automatic --><!-- End Shareaholic LikeButtonSetBottom Automatic -->]]></content:encoded>
			<wfw:commentRss>http://www.microsoftpro.nl/2011/07/28/how-to-cleanup-the-winsxs-folder-on-windows-7-sp1-windows-2008-windows-2008-r2-sp1/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Monitor Disk Space using Powershell</title>
		<link>http://www.microsoftpro.nl/2011/07/07/monitor-disk-space-using-powershell/</link>
		<comments>http://www.microsoftpro.nl/2011/07/07/monitor-disk-space-using-powershell/#comments</comments>
		<pubDate>Thu, 07 Jul 2011 12:11:07 +0000</pubDate>
		<dc:creator>Michael</dc:creator>
				<category><![CDATA[Powershell]]></category>
		<category><![CDATA[Windows Server 2008]]></category>
		<category><![CDATA[Windows Server 2008 R2]]></category>

		<guid isPermaLink="false">http://www.microsoftpro.nl/?p=245</guid>
		<description><![CDATA[<p>All administrators face this issue, a disk is running low on disk space but you don&#8217;t log on to the server that much so you don&#8217;t notify it.</p> <p>That&#8217;s why I created this Powershell Script, just insert the name of you&#8217;re server in the .txt file and schedule the Powershell script as much as you [...]]]></description>
			<content:encoded><![CDATA[<!-- Start Shareaholic LikeButtonSetTop Automatic --><!-- End Shareaholic LikeButtonSetTop Automatic --><p>All administrators face this issue, a disk is running low on disk space but you don&#8217;t log on to the server that much so you don&#8217;t notify it.</p>
<p>That&#8217;s why I created this Powershell Script, just insert the name of you&#8217;re server in the .txt file and schedule the Powershell script as much as you would like it to run.</p>
<p>There are 2 options :<br />
- Threshold mail (This wil only send an email when the specified Threshold is met<br />
- Full mail (Every time the script runs it will mail a list of you&#8217;re servers and the disk capacity)</p>
<p>Function name : Get-FreeSpace</p>
<p>Parameters :<br />
<strong>minimumThreshold</strong> : The value in % on which a disk will marked as almost full<br />
<strong>HIGHPRIO :</strong>  The value in % when a send mail will be marked as High Priority<br />
<strong>ServerList : </strong>Path to the server list txt file<br />
Logging : Boolean value to log to screen<br />
Maillog : Boolean value to log to mail<br />
Mailto : Mandatory when Maillog is used (Recipient of report)<br />
From : Mandatory when Maillog is used (Send of report)<br />
Subject : Mandatory when Maillog is used (Mail subject)<br />
Smtpserver : Mandatory when Maillog is used<br />
CompleteLog : A full report of all server with diskspace will be generated and included<br />
<strong>Bold = Mandatory</strong></p>
<blockquote><p><strong>The script</strong></p>
<p>Function Get-FreeSpace {<br />
Param(<br />
[Parameter(Mandatory=$true, HelpMessage="Threshold Percentage")][int] $minimumThreshold,<br />
[Parameter(Mandatory=$true, HelpMessage="Mark Mail as High Priority Percentage")][int] $HIGHPRIO,<br />
[Parameter(Mandatory=$true, HelpMessage="Text File with Server List")][string] $ServerList,<br />
[Parameter(Mandatory=$false, HelpMessage="Log to screen?")][boolean] $Logging,<br />
[Parameter(Mandatory=$false, HelpMessage="Mail Log?")][boolean] $MailLog,<br />
[Parameter(Mandatory=$false, HelpMessage="Mail recipient")][string] $Mailto,<br />
[Parameter(Mandatory=$false, HelpMessage="Mail sender")][string] $From,<br />
[Parameter(Mandatory=$false, HelpMessage="Mail Subject")][string] $Subject,<br />
[Parameter(Mandatory=$false, HelpMessage="SMTP Server")][string] $Smtpserver,<br />
[Parameter(Mandatory=$false, HelpMessage="List all CSV's")][boolean] $CompleteLog<br />
)</p>
<p>##### [Parameter(Mandatory=$true, HelpMessage="Server to monitor")][array] $Servers, ##########<br />
$datetime = Get-Date -Format &#8220;yyyyMMddHHmmss&#8221;;</p>
<p># Get server list<br />
$servers = Get-Content $ServerList<br />
$HighPrioFlag = &#8220;normal&#8221;<br />
$SendMail = $false</p>
<p>if ($MailLog)<br />
  {<br />
  if ($Mailto -eq &#8220;&#8221;) { $quit = $true }<br />
  if ($From -eq &#8220;&#8221;) { $quit = $true }<br />
  if ($Subject -eq &#8220;&#8221;) { $quit = $true }<br />
  if ($Smtpserver -eq &#8220;&#8221;) { $quit = $true }</p>
<p>  if ($quit)<br />
    {<br />
    write-host -f red &#8220;When using MailLog &#8216;Mailto, From, Subject and Smtpserver&#8217; are required&#8221;<br />
  return<br />
    }<br />
}<br />
 <br />
# Add headers to log file<br />
#Add-Content &#8220;$Env:USERPROFILE\server disks $datetime.txt&#8221; &#8220;server,deviceID,size,freespace,percentFree&#8221;;</p>
<p>$objs = @()<br />
$FullTable = &#8220;&lt;table&gt;&lt;tr&gt;&lt;td&gt;&lt;b&gt;Server&lt;/td&gt;&lt;td&gt;&lt;b&gt;DeviceID&lt;/td&gt;&lt;td&gt;&lt;b&gt;SizeGB&lt;/td&gt;&lt;td&gt;&lt;b&gt;FreespaceGB&lt;/td&gt;&lt;td&gt;&lt;b&gt;PercentFree&lt;/td&gt;&lt;/tr&gt;&#8221;<br />
$ThresholdTable = &#8220;&lt;table&gt;&lt;tr&gt;&lt;td&gt;&lt;b&gt;Server&lt;/td&gt;&lt;td&gt;&lt;b&gt;DeviceID&lt;/td&gt;&lt;td&gt;&lt;b&gt;SizeGB&lt;/td&gt;&lt;td&gt;&lt;b&gt;FreespaceGB&lt;/td&gt;&lt;td&gt;&lt;b&gt;PercentFree&lt;/td&gt;&lt;/tr&gt;&#8221;<br />
 <br />
foreach($server in $servers)<br />
{<br />
 # Get fixed drive info<br />
 $disks = Get-WmiObject -ComputerName $server -Class Win32_LogicalDisk -Filter &#8220;DriveType = 3&#8243;;<br />
 <br />
 foreach($disk in $disks)<br />
 {<br />
  <br />
  $obj = New-Object PSObject<br />
  <br />
  $deviceID = $disk.DeviceID;<br />
  [float]$size = $disk.Size;<br />
  [float]$freespace = $disk.FreeSpace;</p>
<p>  $obj | add-member -membertype noteproperty -name Server -value $server -force<br />
  $obj | add-member -membertype noteproperty -name Size -value $size -force<br />
  $obj | add-member -membertype noteproperty -name DeviceID -value $DeviceID -force</p>
<p>  $percentFree = [Math]::Round(($freespace / $size) * 100, 2);<br />
  $obj | add-member -membertype noteproperty -name PercentFree -value $percentFree -force</p>
<p>  $sizeGB = [Math]::Round($size / 1073741824, 2);<br />
  $obj | add-member -membertype noteproperty -name sizeGB -value $sizeGB -force</p>
<p>  $freeSpaceGB = [Math]::Round($freespace / 1073741824, 2);<br />
  $obj | add-member -membertype noteproperty -name FreespaceGB -value $freeSpaceGB -force</p>
<p>  if ($obj.PercentFree -le $HIGHPRIO)<br />
   {<br />
   $HighPrioFlag = &#8220;high&#8221;<br />
   }<br />
  <br />
  $objs+=$obj<br />
  <br />
  if ($PercentFree -le $minimumThreshold)<br />
   {<br />
   $SendMail = $true<br />
   $color = &#8220;#FF0000&#8243;<br />
   $ThresholdTable += &#8220;&lt;tr&gt;&lt;td&gt;&#8221; + $obj.Server + &#8220;&lt;/td&gt;&lt;td&gt;&#8221; + $obj.DeviceID + &#8220;&lt;/td&gt;&lt;td&gt;&#8221; + $obj.SizeGB + &#8220;&lt;/td&gt;&lt;td&gt;&#8221; + $obj.FreespaceGB + &#8220;&lt;/td&gt;&lt;td&gt;&lt;b&gt;&lt;font color=&#8217;$color&#8217;&gt;&#8221; + $obj.PercentFree + &#8220;&lt;/font&gt;&lt;/b&gt;&lt;/td&gt;&lt;/tr&gt;&#8221;<br />
   }<br />
  else<br />
   {<br />
   $color = &#8220;#00FF00&#8243;<br />
   }<br />
  $FullTable += &#8220;&lt;tr&gt;&lt;td&gt;&#8221; + $obj.Server + &#8220;&lt;/td&gt;&lt;td&gt;&#8221; + $obj.DeviceID + &#8220;&lt;/td&gt;&lt;td&gt;&#8221; + $obj.SizeGB + &#8220;&lt;/td&gt;&lt;td&gt;&#8221; + $obj.FreespaceGB + &#8220;&lt;/td&gt;&lt;td&gt;&lt;b&gt;&lt;font color=&#8217;$color&#8217;&gt;&#8221; + $obj.PercentFree + &#8220;&lt;/font&gt;&lt;/b&gt;&lt;/td&gt;&lt;/tr&gt;&#8221;<br />
  </p>
<p> }</p>
<p>}</p>
<p>$FullTable += &#8220;&lt;/table&gt;&#8221;<br />
$ThresholdTable += &#8220;&lt;/table&gt;&#8221;<br />
$objs = $objs | ft -auto Server,DeviceID,SizeGB,FreespaceGB,PercentFree</p>
<p>if ($Logging)<br />
 {<br />
 $objs<br />
 }</p>
<p>if ($SendMail -OR $CompleteLog) {<br />
if ($MailLog)<br />
 {<br />
 $body = &#8220;&lt;b&gt;Threshold Report:&lt;/b&gt;&lt;br&gt;&#8221; +$ThresholdTable<br />
 if ($CompleteLog)<br />
 {<br />
 $body += &#8220;&lt;p&gt;&lt;b&gt;Full Report:&lt;/b&gt;&lt;/p&gt;&#8221; + $FullTable<br />
 }<br />
 #send-mailmessage -BodyAsHtml -body $FullTable -subject $Subject -to $mailto -from $From -smtpserver $Smtpserver -Priority $HighPrioFlag</p>
<p> $subject = $subject + &#8221; less than &#8221; + $minimumThreshold + &#8220;%&#8221;<br />
 send-mailmessage -BodyAsHtml -body $body -subject $Subject -to $mailto -from $From -smtpserver $Smtpserver -Priority $HighPrioFlag<br />
 }<br />
}</p>
<p>} #End Function Get-FreeSpace</p></blockquote>
<p> <strong>Download the script : </strong></p>
<p>Save the script with a name (.ps1) you like on a location you like for example &#8220;d:\freespacefunction.ps1&#8243;, to use the function use :</p>
<p>Start you&#8217;re Powershell window<br />
import-module &#8220;d:\freespacefunction.ps1&#8243;<br />
Get-Freespace and all the parameters</p>
<p><em>Example of ServerList</em><br />
 <a href="http://www.microsoftpro.nl/wp-content/uploads/2011/07/servers.txt">servers</a></p>
<blockquote><p>Usage:<br />
-  Get-Freespace  -minumumThreshold 8 -Highprio 3 -Serverlist &#8220;c:\servers.txt&#8221; -Logging $true<br />
<em>This will output a list to screen</em></p>
<p>-  Get-Freespace  -minumumThreshold 8 -Highprio 3 -Serverlist &#8220;c:\servers.txt&#8221; -Maillog $true -mailto <a href="mailto:recipient@domain.com">recipient@domain.com</a> -from <a href="mailto:sender@domain.com">sender@domain.com</a> -subject &#8220;Free disk space report&#8221; -smtserver smtp.domain.com<br />
<em>This will send the report of <strong>only</strong> disks less than 8% freespace to <a href="mailto:recipient@domain.com">recipient@domain.com</a>, if no disks are less than 8% no mail will be send</em></p>
<p>-  Get-Freespace  -minumumThreshold 8 -Highprio 3 -Serverlist &#8220;c:\servers.txt&#8221; -Maillog $true -mailto <a href="mailto:recipient@domain.com">recipient@domain.com</a> -from <a href="mailto:sender@domain.com">sender@domain.com</a> -subject &#8220;Free disk space report&#8221; -smtserver smtp.domain.com -CompleteLog $true <br />
<em>This will send the report of <strong>all</strong> disks to <a href="mailto:recipient@domain.com">recipient@domain.com</a> every time the script is scheduled</em></p></blockquote>
<p><strong>How to schedule a Powershell script:<br />
See my Post :</strong><a href="http://www.microsoftpro.nl/2011/07/07/how-to-schedule-a-powershell-script-using-scheduled-tasks-in-windows-server-2008-r2/">How to schedule a Powershell script using Scheduled tasks in Windows Server 2008 R2</a></p>
<p>&nbsp;</p>
<div class="shr-publisher-245"></div><!-- Start Shareaholic LikeButtonSetBottom Automatic --><!-- End Shareaholic LikeButtonSetBottom Automatic -->]]></content:encoded>
			<wfw:commentRss>http://www.microsoftpro.nl/2011/07/07/monitor-disk-space-using-powershell/feed/</wfw:commentRss>
		<slash:comments>9</slash:comments>
		</item>
		<item>
		<title>How to schedule a Powershell script using Scheduled tasks in Windows Server 2008 R2</title>
		<link>http://www.microsoftpro.nl/2011/07/07/how-to-schedule-a-powershell-script-using-scheduled-tasks-in-windows-server-2008-r2/</link>
		<comments>http://www.microsoftpro.nl/2011/07/07/how-to-schedule-a-powershell-script-using-scheduled-tasks-in-windows-server-2008-r2/#comments</comments>
		<pubDate>Thu, 07 Jul 2011 12:04:31 +0000</pubDate>
		<dc:creator>Michael</dc:creator>
				<category><![CDATA[Powershell]]></category>
		<category><![CDATA[Windows Server 2008 R2]]></category>
		<category><![CDATA[Windows 2008]]></category>

		<guid isPermaLink="false">http://www.microsoftpro.nl/?p=249</guid>
		<description><![CDATA[<p>Powershell is a really powerfull tool but then you have to know how to schedule you&#8217;re scripts using the task scheduler if you would like to run script on a daily base for example.</p> <p>Open the task scheduler (Start -&#62; All Programs -&#62; Accessories -&#62; System Tools -&#62; Task Scheduler</p> <p>Click op Create Basic Task<br [...]]]></description>
			<content:encoded><![CDATA[<!-- Start Shareaholic LikeButtonSetTop Automatic --><!-- End Shareaholic LikeButtonSetTop Automatic --><p>Powershell is a really powerfull tool but then you have to know how to schedule you&#8217;re scripts using the task scheduler if you would like to run script on a daily base for example.</p>
<p>Open the task scheduler (Start -&gt; All Programs -&gt; Accessories -&gt; System Tools -&gt; Task Scheduler</p>
<p>Click op Create Basic Task<br />
<a href="http://www.microsoftpro.nl/wp-content/uploads/2011/07/Task1.jpg"><img class="alignnone size-full wp-image-250" title="Task1" src="http://www.microsoftpro.nl/wp-content/uploads/2011/07/Task1.jpg" alt="" width="316" height="184" /></a></p>
<p>Type a name and description for you&#8217;re task<br />
<a href="http://www.microsoftpro.nl/wp-content/uploads/2011/07/Task2.jpg"><img class="alignnone size-thumbnail wp-image-251" title="Task2" src="http://www.microsoftpro.nl/wp-content/uploads/2011/07/Task2-150x150.jpg" alt="" width="150" height="150" /></a></p>
<p>Choose you&#8217;re trigger<br />
<a href="http://www.microsoftpro.nl/wp-content/uploads/2011/07/Task3.jpg"><img class="alignnone size-thumbnail wp-image-252" title="Task3" src="http://www.microsoftpro.nl/wp-content/uploads/2011/07/Task3-150x150.jpg" alt="" width="150" height="150" /></a></p>
<p>And configure you&#8217;re trigger<br />
<a href="http://www.microsoftpro.nl/wp-content/uploads/2011/07/Task4.jpg"><img title="Task4" src="http://www.microsoftpro.nl/wp-content/uploads/2011/07/Task4-150x150.jpg" alt="" width="150" height="150" /></a></p>
<p>Configure the action &#8220;Start a program&#8221;<br />
<a href="http://www.microsoftpro.nl/wp-content/uploads/2011/07/Task5.jpg"><img class="alignnone size-thumbnail wp-image-254" title="Task5" src="http://www.microsoftpro.nl/wp-content/uploads/2011/07/Task5-150x150.jpg" alt="" width="150" height="150" /></a></p>
<p>The program to start is Powershell</p>
<blockquote><p>C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe</p></blockquote>
<p>with the arguments:</p>
<blockquote><p>-command &#8220;&amp; &#8216;D:\yourefilewithcommands.ps1&#8242; &#8220;</p></blockquote>
<p>  <a href="http://www.microsoftpro.nl/wp-content/uploads/2011/07/Task6.jpg"><img class="alignnone size-thumbnail wp-image-255" title="Task6" src="http://www.microsoftpro.nl/wp-content/uploads/2011/07/Task6-150x150.jpg" alt="" width="150" height="150" /></a></p>
<p>Click the open the properties window checkbox to set extra options<br />
<a href="http://www.microsoftpro.nl/wp-content/uploads/2011/07/Task7.jpg"><img class="alignnone size-thumbnail wp-image-256" title="Task7" src="http://www.microsoftpro.nl/wp-content/uploads/2011/07/Task7-150x150.jpg" alt="" width="150" height="150" /></a></p>
<p>Select the Run wheter user is logged on on not option and check the Run with highest privileges checkbox, don&#8217;t forget to select the correct user!<br />
<a href="http://www.microsoftpro.nl/wp-content/uploads/2011/07/Task8.jpg"><img class="alignnone size-thumbnail wp-image-257" title="Task8" src="http://www.microsoftpro.nl/wp-content/uploads/2011/07/Task8-150x150.jpg" alt="" width="150" height="150" /></a></p>
<p>On the Triggers tab you can fine tune you&#8217;re schedule to repeat the schedule every hour, 10 minutes or whatever<br />
<a href="http://www.microsoftpro.nl/wp-content/uploads/2011/07/Task9.jpg"><img class="alignnone size-thumbnail wp-image-258" title="Task9" src="http://www.microsoftpro.nl/wp-content/uploads/2011/07/Task9-150x150.jpg" alt="" width="150" height="150" /></a></p>
<p>Save the Scheduled task and now you can run it manually (or wait for it to run automatically if you like) to test it.</p>
<p>Now you have a scheduled powershell script</p>
<div class="shr-publisher-249"></div><!-- Start Shareaholic LikeButtonSetBottom Automatic --><!-- End Shareaholic LikeButtonSetBottom Automatic -->]]></content:encoded>
			<wfw:commentRss>http://www.microsoftpro.nl/2011/07/07/how-to-schedule-a-powershell-script-using-scheduled-tasks-in-windows-server-2008-r2/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Powershell script to monitor CSV Freespace</title>
		<link>http://www.microsoftpro.nl/2011/05/12/powershell-script-to-monitor-csv-freespace/</link>
		<comments>http://www.microsoftpro.nl/2011/05/12/powershell-script-to-monitor-csv-freespace/#comments</comments>
		<pubDate>Thu, 12 May 2011 18:28:49 +0000</pubDate>
		<dc:creator>Michael</dc:creator>
				<category><![CDATA[Hyper-V]]></category>
		<category><![CDATA[Powershell]]></category>
		<category><![CDATA[Windows Server 2008]]></category>
		<category><![CDATA[Windows Server 2008 R2]]></category>
		<category><![CDATA[Clustering]]></category>
		<category><![CDATA[CSV]]></category>

		<guid isPermaLink="false">http://www.microsoftpro.nl/?p=231</guid>
		<description><![CDATA[<p>There is no SCOM management pack to monitor the freespace on you&#8217;re CSV&#8217;s.<br /> This can be an issue when you use Dynamically Expanding VHD&#8217;s which are common used as boot disks.</p> <p>Hopefully Microsoft will create a SCOM Management pack, but until that time at least I know I won&#8217;t be suprised by VM&#8217;s pausing [...]]]></description>
			<content:encoded><![CDATA[<!-- Start Shareaholic LikeButtonSetTop Automatic --><!-- End Shareaholic LikeButtonSetTop Automatic --><p>There is no SCOM management pack to monitor the freespace on you&#8217;re CSV&#8217;s.<br />
This can be an issue when you use Dynamically Expanding VHD&#8217;s which are common used as boot disks.</p>
<p>Hopefully Microsoft will create a SCOM Management pack, but until that time at least I know I won&#8217;t be suprised by VM&#8217;s pausing because my CSV ran out of space.</p>
<p>Therefor I used a Powershell script posted on the MSDN blog : <a href="http://blogs.msdn.com/b/clustering/archive/2010/06/19/10027366.aspx ">http://blogs.msdn.com/b/clustering/archive/2010/06/19/10027366.aspx </a> created by <a href="http://social.msdn.microsoft.com/profile/symon%20perriman%20msft/">Simon Perriman</a></p>
<p>To use the scripts first run : “Set-ExecutionPolicy unrestricted” on the machine which will execute the script.</p>
<p>Prerequisites:<br />
- The script must be run on a Cluster Node</p>
<p><strong>Usage<strong><br />
Mandatory :<br />
- Threshold (When the FreeSpace % hits under this value it will be logged)<br />
- HIGHPRIO (When the FreeSpace % hits under this value the mail will be marked as High Priority)</strong></strong></p>
<p>Optional :<br />
- [[-Logging] ] (Output to screen)<br />
- [[-MailLog] ] (Output to mail)<br />
- [[-Mailto] ] (Mandatory when output to mail is used)<br />
- [[-From] ] (Mandatory when output to mail is used)<br />
- [[-Subject] ] (Mandatory when output to mail is used)<br />
- [[-Smtpserver] ] (Mandatory when output to mail is used)<br />
- [[-CompleteLog] ] (Table of all CSV&#8217;s Size, Used, Free and Percentage free)<br />
- [[-Exclusions] ] (If you would like to exclude some CSV&#8217;s seperate by comma, it&#8217;s only excluded from Threshold, on HIGHPRIO Threshold it will be included)</p>
<p><strong>Examples :</strong><br />
Get-CSVFreeSpace –Threshold 10 –HIGHPRIO 4 -Logging $true<br />
Get-CSVFreeSpace –Threshold 10 -HIGHPRIO 4 –CompleteLog $true –Logging $true<br />
Get-CSVFreeSpace –Threshold 10 -HIGHPRIO 4 –MailLog $true –Mailto ‘someone@somewhere.com’ –from ‘someone@somewhere.com’ –subject ‘CSV Freespace’ –smtpserver ‘mail.somewhere.com’ -Exclusions &#8220;CSV1&#8243;,&#8221;CSV2&#8243;</p>
<p>The Script : <a href="http://www.microsoftpro.nl/wp-content/uploads/2011/05/csv.zip">csv.zip</a><br />
If you would like to schedule the script on a Windows Server 2008 r2 Server you can use this template to import the schedule : <a href="http://www.microsoftpro.nl/wp-content/uploads/2011/05/CSV-FreeSpace-Result.zip">CSV FreeSpace Result.zip</a></p>
<p>Simply extract all the files from <strong>csv.zip </strong>and <strong>CSV FreeSpace Result.zip </strong>in <strong>C:\Support</strong> and import the <strong>CSV FreeSpace Result.xml</strong> in the Task Scheduler. <br />
Edit the <strong>csvreport.ps1 </strong>script and change the parameters to you&#8217;re needs (mailto, from, smtp etc.)</p>
<p>Good luck with this script.</p>
<p><a href="http://www.microsoftpro.nl/wp-content/uploads/2011/05/20110513-103852.jpg"><img class="alignnone size-full" src="http://www.microsoftpro.nl/wp-content/uploads/2011/05/20110513-103852.jpg" alt="20110513-103852.jpg" /></a></p>
<div class="shr-publisher-231"></div><!-- Start Shareaholic LikeButtonSetBottom Automatic --><!-- End Shareaholic LikeButtonSetBottom Automatic -->]]></content:encoded>
			<wfw:commentRss>http://www.microsoftpro.nl/2011/05/12/powershell-script-to-monitor-csv-freespace/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Windows 7 doesn&#8217;t boot after installing SP1 (ERROR: C0000034 or Installing x from x 0000000000000000.cdf-ms)</title>
		<link>http://www.microsoftpro.nl/2011/03/10/windows-7-doesnt-boot-after-installing-sp1-error-c0000034-or-installing-x-from-x-0000000000000000-cdf-ms/</link>
		<comments>http://www.microsoftpro.nl/2011/03/10/windows-7-doesnt-boot-after-installing-sp1-error-c0000034-or-installing-x-from-x-0000000000000000-cdf-ms/#comments</comments>
		<pubDate>Thu, 10 Mar 2011 13:40:28 +0000</pubDate>
		<dc:creator>Michael</dc:creator>
				<category><![CDATA[Windows 7]]></category>
		<category><![CDATA[Windows Server 2008 R2]]></category>
		<category><![CDATA[Fail]]></category>
		<category><![CDATA[SP1]]></category>
		<category><![CDATA[Upgrade]]></category>

		<guid isPermaLink="false">http://www.microsoftpro.nl/?p=221</guid>
		<description><![CDATA[<p> </p> <p>So the Microsoft team released SP1 for Windows 7, alle should go well installing it but unfortunately this is not the case on all computers. In our domain Windows 7 SP1 is approved bij WSUS and will be installed according to that.</p> <p>On 10 machines this resulted in a Windows that won&#8217;t boot hanging [...]]]></description>
			<content:encoded><![CDATA[<!-- Start Shareaholic LikeButtonSetTop Automatic --><!-- End Shareaholic LikeButtonSetTop Automatic --><p> </p>
<p>So the Microsoft team released SP1 for Windows 7, alle should go well installing it but unfortunately this is not the case on all computers. In our domain Windows 7 SP1 is approved bij WSUS and will be installed according to that.</p>
<p>On 10 machines this resulted in a Windows that won&#8217;t boot hanging on ERROR: C0000034 or Installing x from x 0000000000000000.cdf-ms</p>
<p>Luckely we were not the only one. <a href="http://www.blogger.com/profile/06082028960643490292">Philip Elber</a> created a blog post to solve this issue.</p>
<p><strong>Solution :<br />
</strong>01. Reboot your computer while it&#8217;s starting up.</p>
<p>02. When your computer starts up again, choose the option &#8220;Launch Startup Repair&#8221; </p>
<p>&#8211;&gt; PIC: <a href="http://notebooks.com/wp-content/uploads/2011/01/Recov-1.jpg">http://notebooks.com/wp-content/uploads/2011/01/Recov-1.jpg</a></p>
<p>03. When the Startup repair starts, click cancel.</p>
<p>04. After you click cancel it will show a box. Click &#8220;Don&#8217;t Send&#8221; </p>
<p>&#8211;&gt; PIC: <a href="http://i52.tinypic.com/xgjriw.png">http://i52.tinypic.com/xgjriw.png</a></p>
<p>05. Click the link &#8220;View advanced options for recovery and support&#8221;</p>
<p>06. In the new window click Command Prompt at the bottom.</p>
<p>&#8211;&gt; PIC: <a href="http://i51.tinypic.com/50imu8.png">http://i51.tinypic.com/50imu8.png</a></p>
<p>07. In Command Prompt type this and press enter: <strong>%windir%\system32\notepad.exe</strong></p>
<p>08. Notepad will open. In notepad go to File&#8211;&gt;Open.</p>
<p>09. Change the type of files notepad views from .txt to All Files (see pic)</p>
<p>&#8211;&gt; PIC: <a href="http://i51.tinypic.com/35nd74z.png">http://i51.tinypic.com/35nd74z.png</a></p>
<p>10. Now in Notepad, go to C:\Windows\winsxs\ (or whichever drive Windows is installed on)</p>
<p>11. In that folder, find pending.xml and make a copy of it</p>
<p>12. Now open the original pending.xml (it will load really slow because the file is huge)</p>
<p>13. Press CNTRL+F and search for the following exactly: <strong>0000000000000000.cdf-ms</strong></p>
<p>14. Delete the following text (yours will be a little different):</p>
<p>&lt;Checkpoint/&gt;</p>
<p>&lt;DeleteFile path=&#8221;\SystemRoot\WinSxS\FileMaps\_0000000000000000.cdf-ms&#8221;/&gt;</p>
<p>&lt;MoveFile source=&#8221;\SystemRoot\WinSxS\Temp\PendingRenames\e56db1db48d4cb0199440000b01de419._0000000000000000.cdf-ms&#8221; destination=&#8221;\SystemRoot\WinSxS\FileMaps\_0000000000000000.cdf-ms&#8221;/&gt;</p>
<p>&#8211;&gt; PIC: <a href="http://i54.tinypic.com/adzpzp.png">http://i54.tinypic.com/adzpzp.png</a></p>
<p><a href="http://lh5.ggpht.com/_A3o0EjLYCNg/TXfFSb7Eo6I/AAAAAAAAE5c/kNuydgP8Dek/s1600-h/image%5B3%5D.png"></a></p>
<p><a href="http://www.microsoftpro.nl/wp-content/uploads/2011/03/image_thumb1.png"><img class="alignnone size-full wp-image-222" title="image_thumb[1]" src="http://www.microsoftpro.nl/wp-content/uploads/2011/03/image_thumb1.png" alt="" width="549" height="354" /></a></p>
<p>Your PC might not have all 3 sections of code (&lt;Checkpoint&gt;, &lt;DeleteFile&gt;, &lt;MoveFile&gt;). Just make sure you delete section &#8220;Checkpoint&#8221; and whatever other sections have &#8220;000000000000000.cdf-ms&#8221;. They will be right next to eachother.</p>
<p>15. Save the file, close notepad, close command prompt, restart your computer.</p>
<p>Once your computer starts up, do a normal startup (it may stall for 5-10 minutes at the &#8220;starting windows&#8221; screen, but leave it going) and the Service Pack will install some more stuff and restart a few times and then everything should be working! For some people, it reverts everything and cancels the service pack installation. For other people, the service pack installation completes. Either result is fine.</p>
<p><em>Source:<br />
</em><em><a href="http://blog.mpecsinc.ca/2011/03/windows-7-service-pack-1-error-c0000034.html">http://blog.mpecsinc.ca/2011/03/windows-7-service-pack-1-error-c0000034.html</a></em></p>
<div class="shr-publisher-221"></div><!-- Start Shareaholic LikeButtonSetBottom Automatic --><!-- End Shareaholic LikeButtonSetBottom Automatic -->]]></content:encoded>
			<wfw:commentRss>http://www.microsoftpro.nl/2011/03/10/windows-7-doesnt-boot-after-installing-sp1-error-c0000034-or-installing-x-from-x-0000000000000000-cdf-ms/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Windows 2008 R2 Language Bar keeps changing Keyboard Settings</title>
		<link>http://www.microsoftpro.nl/2011/02/24/windows-2008-r2-language-bar-keeps-changing-keyboard-settings/</link>
		<comments>http://www.microsoftpro.nl/2011/02/24/windows-2008-r2-language-bar-keeps-changing-keyboard-settings/#comments</comments>
		<pubDate>Thu, 24 Feb 2011 09:48:07 +0000</pubDate>
		<dc:creator>Michael</dc:creator>
				<category><![CDATA[Citrix]]></category>
		<category><![CDATA[Windows Server]]></category>
		<category><![CDATA[Windows Server 2008]]></category>
		<category><![CDATA[Windows Server 2008 R2]]></category>
		<category><![CDATA[Registry]]></category>
		<category><![CDATA[Tweaks]]></category>

		<guid isPermaLink="false">http://www.microsoftpro.nl/?p=214</guid>
		<description><![CDATA[<p><a href="http://www.microsoftpro.nl/wp-content/uploads/2011/02/Policy_Registry.png"></a><a href="http://www.microsoftpro.nl/wp-content/uploads/2011/02/Policy_Registry.png"></a>Is the Windows Server 2008 an R2 language bar driving you crazy when using RDP or ICA?</p> <p>Everytime you login the keyboard setting will be changed into  you&#8217;re Local setting in my case Dutch, this is very innoying.</p> <p>The reason for this is Microsoft put in a nice new Feature in 2008 called Auto [...]]]></description>
			<content:encoded><![CDATA[<!-- Start Shareaholic LikeButtonSetTop Automatic --><!-- End Shareaholic LikeButtonSetTop Automatic --><p><a href="http://www.microsoftpro.nl/wp-content/uploads/2011/02/Policy_Registry.png"></a><a href="http://www.microsoftpro.nl/wp-content/uploads/2011/02/Policy_Registry.png"></a>Is the Windows Server 2008 an R2 language bar driving you crazy when using RDP or ICA?</p>
<p>Everytime you login the keyboard setting will be changed into  you&#8217;re Local setting in my case Dutch, this is very innoying.</p>
<p>The reason for this is Microsoft put in a nice new Feature in 2008 called Auto detect Remote Keyboard layout and this will change you&#8217;re layout in the RDP session.</p>
<p>The solution is quit simple change these registry settings through a policy or login script:</p>
<p><strong>Disable Auto Detect Keyboard Layout:</strong><br />
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Keyboard Layout]<br />
&#8220;IgnoreRemoteKeyboardLayout&#8221;=dword:00000001</p>
<p><strong>Hide Language Bar:</strong><br />
[HKEY_CURRENT_USER\Software\Microsoft\CTF\LangBar]<br />
&#8220;ShowStatus&#8221;=dword:00000003</p>
<p>This can be used on Server, Terminal Server and Citrix Server.</p>
<p><strong>Example add registry setting through Group Policy</strong><br />
<a href="http://www.microsoftpro.nl/wp-content/uploads/2011/02/Policy_Registry.png"><img title="Policy_Registry" src="http://www.microsoftpro.nl/wp-content/uploads/2011/02/Policy_Registry.png" alt="" width="938" height="379" /></a></p>
<p>Thanks to <a href="http://twitter.com/#!/jvpeer" target="_blank">@JvPeer </a>for the Intel</p>
<div class="shr-publisher-214"></div><!-- Start Shareaholic LikeButtonSetBottom Automatic --><!-- End Shareaholic LikeButtonSetBottom Automatic -->]]></content:encoded>
			<wfw:commentRss>http://www.microsoftpro.nl/2011/02/24/windows-2008-r2-language-bar-keeps-changing-keyboard-settings/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Configuring Windows 2008 and R2 for Exact Synergy Enterprise background jobs</title>
		<link>http://www.microsoftpro.nl/2011/02/23/configuring-windows-2008-and-r2-for-exact-synergy-enterprise-background-jobs/</link>
		<comments>http://www.microsoftpro.nl/2011/02/23/configuring-windows-2008-and-r2-for-exact-synergy-enterprise-background-jobs/#comments</comments>
		<pubDate>Wed, 23 Feb 2011 09:05:56 +0000</pubDate>
		<dc:creator>Michael</dc:creator>
				<category><![CDATA[Exact Synergy Enterprise]]></category>
		<category><![CDATA[Windows Server 2008]]></category>
		<category><![CDATA[Windows Server 2008 R2]]></category>
		<category><![CDATA[Exact]]></category>
		<category><![CDATA[Synergy]]></category>
		<category><![CDATA[windows 2008 r2]]></category>

		<guid isPermaLink="false">http://www.microsoftpro.nl/?p=210</guid>
		<description><![CDATA[<p>When you first start Exact Synergy Enterprise on à Windows Server 2008 or R2 server it start the new database wizard and will create a db.config.</p> <p>Sometimes it&#8217;s created in the installation folder of Exact Synergy Enterprise, sometimes it&#8217;s created in c:\users\public\Exact Synergy Enterprise and here&#8217;s the catch. When the db.config is created in the [...]]]></description>
			<content:encoded><![CDATA[<!-- Start Shareaholic LikeButtonSetTop Automatic --><!-- End Shareaholic LikeButtonSetTop Automatic --><p>When you first start Exact Synergy Enterprise on à Windows Server 2008 or R2 server it start the new database wizard and will create a db.config.</p>
<p>Sometimes it&#8217;s created in the installation folder of Exact Synergy Enterprise, sometimes it&#8217;s created in c:\users\public\Exact Synergy Enterprise and here&#8217;s the catch. When the db.config is created in the installation folder everything works just fine, you can browse Synergy create workflows etc.</p>
<p>But then you start configuring the Exact Synergy Enterprise background jobs and no matter where you run the command line, through the SQL agent, Command Prompt or Task Scheduler nothing seems to happen. Normally you check the process log in Synergy for an error, but there won&#8217;t be one. Check the Event Viewer on the server where you started the job, you will proberbly find an error of the exact.process.exe like<strong> <span style="color: #000000;">&#8220;Error in process: . Error = Object reference not set to an instance of an object.&#8221;.</span></strong></p>
<p><span style="color: #000000;">This is where the db.config in the c:\users\public\exact synergy enterprise is needed, just copy the db.config from you&#8217;re Synergy Installation folder and the job will work just fine.</span></p>
<h2>Update!</h2>
<p>
This issue is resolved in the batch 245 releas of Exact Synergy Enterprise.</p>
<div class="shr-publisher-210"></div><!-- Start Shareaholic LikeButtonSetBottom Automatic --><!-- End Shareaholic LikeButtonSetBottom Automatic -->]]></content:encoded>
			<wfw:commentRss>http://www.microsoftpro.nl/2011/02/23/configuring-windows-2008-and-r2-for-exact-synergy-enterprise-background-jobs/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Installing the Exact Synergy Office Integrator 5.0.279 on Citrix or Terminal Server</title>
		<link>http://www.microsoftpro.nl/2011/02/17/installing-the-exact-synergy-office-integrator-5-0-279-on-citrix-or-terminal-server/</link>
		<comments>http://www.microsoftpro.nl/2011/02/17/installing-the-exact-synergy-office-integrator-5-0-279-on-citrix-or-terminal-server/#comments</comments>
		<pubDate>Thu, 17 Feb 2011 18:23:45 +0000</pubDate>
		<dc:creator>Michael</dc:creator>
				<category><![CDATA[Citrix]]></category>
		<category><![CDATA[Exact Synergy Enterprise]]></category>
		<category><![CDATA[Office 2010]]></category>
		<category><![CDATA[Terminal Server]]></category>
		<category><![CDATA[Exact]]></category>
		<category><![CDATA[Office]]></category>
		<category><![CDATA[SOI]]></category>
		<category><![CDATA[Synergy]]></category>
		<category><![CDATA[TerminalServer]]></category>

		<guid isPermaLink="false">http://www.microsoftpro.nl/?p=204</guid>
		<description><![CDATA[<p>Installing the Exact Synergy Office Integrator seams easy, just double click the MSI and the rest will follow. Until Exact Synergy Enterprise batch 244 you could select &#8220;Install for this user only&#8221; or &#8220;Install for everyone&#8221; , since Exact Synergy Enterprise batch 245 this option is removed from the installer, the only way to install the [...]]]></description>
			<content:encoded><![CDATA[<!-- Start Shareaholic LikeButtonSetTop Automatic --><!-- End Shareaholic LikeButtonSetTop Automatic --><p>Installing the Exact Synergy Office Integrator seams easy, just double click the MSI and the rest will follow. Until Exact Synergy Enterprise batch 244 you could select <strong>&#8220;Install for this user only&#8221;</strong> or <strong>&#8220;Install for everyone&#8221;</strong> , since Exact Synergy Enterprise batch 245 this option is removed from the installer, the only way to install the SOI for everyone is to use some extra parameters with the MSI.</p>
<p>So please be ware of this when installing the Exact Synery Office Integrator on Citrix or Terminal Server, I had the pleasure to remove the SOI manually from out Terminal Server, it took me about 45 minutes to cleanup the registry before I could install it the correct way.</p>
<p>Also on workstations which are used by more than one person you should install the SOI for everyone.</p>
<p>Example:<br />
<em>msiexec /i C:\SynergyOfficeIntegration.msi EXACTWIXAPPFOLDER=&#8221;exactWixPerMachineFolder&#8221; SYNERGYURL=http://&lt;Exact Synergy Enterprise Server&gt;/&lt;Virtual Directory Name&gt; FIRSTRUN=0 SETPREREQS=1 ALLUSERS=1 /l*v C:\MSI.log</em></p>
<p>For more information:<br />
<a href="https://partners.exact.com/docs/DocView.aspx?DocumentID=%7b2f0e7d76-d9de-4219-9887-29eba7fc4c1c%7d&amp;NoSubject=1&amp;NoHeader=1">https://partners.exact.com/docs/DocView.aspx?DocumentID=%7b2f0e7d76-d9de-4219-9887-29eba7fc4c1c%7d&amp;NoSubject=1&amp;NoHeader=1</a> </p>
<p>Good luck everyone, be warned <img src='http://www.microsoftpro.nl/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /> </p>
<div class="shr-publisher-204"></div><!-- Start Shareaholic LikeButtonSetBottom Automatic --><!-- End Shareaholic LikeButtonSetBottom Automatic -->]]></content:encoded>
			<wfw:commentRss>http://www.microsoftpro.nl/2011/02/17/installing-the-exact-synergy-office-integrator-5-0-279-on-citrix-or-terminal-server/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Exporting and Importing Sites and App Pools from IIS 7 and 7.5</title>
		<link>http://www.microsoftpro.nl/2011/01/27/exporting-and-importing-sites-and-app-pools-from-iis-7-and-7-5/</link>
		<comments>http://www.microsoftpro.nl/2011/01/27/exporting-and-importing-sites-and-app-pools-from-iis-7-and-7-5/#comments</comments>
		<pubDate>Thu, 27 Jan 2011 11:38:25 +0000</pubDate>
		<dc:creator>Michael</dc:creator>
				<category><![CDATA[IIS]]></category>
		<category><![CDATA[Network Load Balancing]]></category>
		<category><![CDATA[Windows Server 2008]]></category>
		<category><![CDATA[Windows Server 2008 R2]]></category>
		<category><![CDATA[NLB]]></category>

		<guid isPermaLink="false">http://www.microsoftpro.nl/?p=194</guid>
		<description><![CDATA[<p><a href="http://www.microsoftpro.nl/wp-content/uploads/2011/01/IIS7.jpg"></a>When using multiple IIS server in a Load Balanced Environment it will  be alot of work to create all you&#8217;re website twice with the same settings on each webserver. Therefor it is possible to export and import you&#8217;re configuration from one webserver to the other. This will also be usefull when you&#8217;re upgrading from [...]]]></description>
			<content:encoded><![CDATA[<!-- Start Shareaholic LikeButtonSetTop Automatic --><!-- End Shareaholic LikeButtonSetTop Automatic --><p><a href="http://www.microsoftpro.nl/wp-content/uploads/2011/01/IIS7.jpg"></a>When using multiple IIS server in a Load Balanced Environment it will  be alot of work to create all you&#8217;re website twice with the same settings on each webserver. Therefor it is possible to export and import you&#8217;re configuration from one webserver to the other. This will also be usefull when you&#8217;re upgrading from IIS 7 (Windows Server 2008) to IIS 7.5 (Windows Server 2008 R2).</p>
<p>When you create a website in IIS 7 or 7.5 a unique application pool will also be created and used by this website, that&#8217;s why you need to import these application pools first on the second webserver before importing the website(s).</p>
<p><strong>To Export the Application Pools on IIS 7 :</strong><br />
<em>%windir%\system32\inetsrv\appcmd list apppool /config /xml &gt; c:\apppools.xml</em></p>
<p>This will export all the application pools on you&#8217;re webserver, therefor you need to edit the apppools.xml and remove the application that you do not need to import for example:</p>
<ul>
<li>DefaultAppPool</li>
<li>Classic .NET AppPool</li>
<li>SecurityTokenServiceApplicationPool</li>
</ul>
<p>And other apppools that already exist on the second webserver, appcmd doesn&#8217;t skip already existing apppools, it just quit&#8217;s and doesn&#8217;t import any.</p>
<p><strong>To import the Application Pools:<br />
</strong><em>%windir%\system32\inetsrv\appcmd add apppool /in &lt; c:\apppools.xml</em></p>
<p>All the AppPools in the xml will be created on you&#8217;re second webserver.</p>
<p><strong>To Export all you&#8217;re website:<br />
</strong><em>%windir%\system32\inetsrv\appcmd list site /config /xml &gt; c:\sites.xml</em></p>
<p>This will export all the websites on you&#8217;re webserver, therefor you need to edit the sites.xml and remove the websites that you do not need to import for example:</p>
<ul>
<li>Default Website</li>
</ul>
<p>And all other websites that already exist on the second webserver.</p>
<p><strong>To Import the website:<br />
</strong><em>%windir%\system32\inetsrv\appcmd add site /in &lt; c:\sites.xml</em></p>
<p>It&#8217;s also possible to export a single website or application pool all you need to do is add the name of the Application Pool or Website to the command line:</p>
<p><strong>To export/import a single application pool:<br />
</strong><em>%windir%\system32\inetsrv\appcmd list apppool &#8220;MyAppPool&#8221; /config /xml &gt; c:\myapppool.xml</em></p>
<p><strong>Import:</strong><br />
<em>%windir%\system32\inetsrv\appcmd add apppool /in &lt; c:\myapppool.xml</em></p>
<p><strong>To export/import a single website:<br />
</strong><em>%windir%\system32\inetsrv\appcmd list site &#8220;MyWebsite&#8221; /config /xml &gt; c:\mywebsite.xml</em></p>
<p><strong>Import:</strong><br />
<em>%windir%\system32\inetsrv\appcmd add site /in &lt; c:\mywebsite.xml</em></p>
<p><a href="http://www.microsoftpro.nl/wp-content/uploads/2011/01/IIS7.jpg"><img title="IIS7" src="http://www.microsoftpro.nl/wp-content/uploads/2011/01/IIS7-300x213.jpg" alt="" width="300" height="213" /></a></p>
<div class="shr-publisher-194"></div><!-- Start Shareaholic LikeButtonSetBottom Automatic --><!-- End Shareaholic LikeButtonSetBottom Automatic -->]]></content:encoded>
			<wfw:commentRss>http://www.microsoftpro.nl/2011/01/27/exporting-and-importing-sites-and-app-pools-from-iis-7-and-7-5/feed/</wfw:commentRss>
		<slash:comments>10</slash:comments>
		</item>
		<item>
		<title>Opening Visio drawing in Sharepoint 2010 Office Web Apps</title>
		<link>http://www.microsoftpro.nl/2011/01/26/opening-visio-drawings-in-sharepoint-2010/</link>
		<comments>http://www.microsoftpro.nl/2011/01/26/opening-visio-drawings-in-sharepoint-2010/#comments</comments>
		<pubDate>Wed, 26 Jan 2011 16:26:53 +0000</pubDate>
		<dc:creator>Michael</dc:creator>
				<category><![CDATA[IIS]]></category>
		<category><![CDATA[Sharepoint 2010]]></category>
		<category><![CDATA[Windows Server 2008 R2]]></category>
		<category><![CDATA[Sharepoint]]></category>

		<guid isPermaLink="false">http://www.microsoftpro.nl/?p=173</guid>
		<description><![CDATA[<p>So you start using Sharepoint 2010, installed the Microsoft Office Web Apps because it will come in usefull sometime for example when using you&#8217;re iPad.</p> <p>So you upload different documents, xlsx, docx, pptx, one and vsd&#8217;s when. Clicking them all of them open nice in you&#8217;re browser expect for you&#8217;re nicely drawn Visio document, I [...]]]></description>
			<content:encoded><![CDATA[<!-- Start Shareaholic LikeButtonSetTop Automatic --><!-- End Shareaholic LikeButtonSetTop Automatic --><p>So you start using Sharepoint 2010, installed the Microsoft Office Web Apps because it will come in usefull sometime for example when using you&#8217;re iPad.</p>
<p>So you upload different documents, xlsx, docx, pptx, one and vsd&#8217;s when. Clicking them all of them open nice in you&#8217;re browser expect for you&#8217;re nicely drawn Visio document, I was suprised to but there is a  for this, it will never be possible to open the VSD, but if you save you as a  VDW (Visio Web Drawing)<br />
<a href="http://www.microsoftpro.nl/wp-content/uploads/2011/01/20110126-110828.jpg"><img src="http://www.microsoftpro.nl/wp-content/uploads/2011/01/20110126-110828-300x56.jpg" alt="" title="20110126-110828.jpg" width="300" height="56" class="alignnone size-medium wp-image-183" /></a></p>
<p>Now you can upload the drawing to sharepoint and edit it in the browser using Office Web Apps</p>
<p>Want to read more?<br />
 <a href="http://www.microsoftblog.co.in/?cat=79&#038;paged=2">http://www.microsoftblog.co.in</a></p>
<div class="shr-publisher-173"></div><!-- Start Shareaholic LikeButtonSetBottom Automatic --><!-- End Shareaholic LikeButtonSetBottom Automatic -->]]></content:encoded>
			<wfw:commentRss>http://www.microsoftpro.nl/2011/01/26/opening-visio-drawings-in-sharepoint-2010/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

