<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Thomas Maurer (tm) &#187; Windows Server 2008</title>
	<atom:link href="http://www.thomasmaurer.ch/category/it/microsoft/windows-server/windows-server-2008-windows-server/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.thomasmaurer.ch</link>
	<description>Just another private cloud weblog</description>
	<lastBuildDate>Wed, 08 Feb 2012 17:42:29 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>How to add Disk Cleanup tool in Windows Server 2008 R2</title>
		<link>http://www.thomasmaurer.ch/2011/10/how-to-add-disk-cleanup-tool-in-windows-server-2008-r2/</link>
		<comments>http://www.thomasmaurer.ch/2011/10/how-to-add-disk-cleanup-tool-in-windows-server-2008-r2/#comments</comments>
		<pubDate>Mon, 17 Oct 2011 15:08:50 +0000</pubDate>
		<dc:creator>Thomas Maurer</dc:creator>
				<category><![CDATA[IT]]></category>
		<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[Windows Server]]></category>
		<category><![CDATA[Windows Server 2008]]></category>
		<category><![CDATA[Windows Server 2008 R2]]></category>
		<category><![CDATA[Work]]></category>
		<category><![CDATA[cleanmgr]]></category>
		<category><![CDATA[disk cleanup]]></category>

		<guid isPermaLink="false">http://www.thomasmaurer.ch/?p=2743</guid>
		<description><![CDATA[Disk Cleanup option on drive’s general properties and  cleanmgr.exe is not present in Windows Server 2008 or Windows Server 2008 R2 by default.So in order to use cleanmgr.exe you’ll need to copy two files that are already present on the &#8230; <a href="http://www.thomasmaurer.ch/2011/10/how-to-add-disk-cleanup-tool-in-windows-server-2008-r2/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<!-- Start Shareaholic LikeButtonSetTop Automatic --><!-- End Shareaholic LikeButtonSetTop Automatic --><p><a href="http://www.thomasmaurer.ch/wp-content/uploads/2011/10/cleanmgr.png" rel="lightbox[2743]"><img class="aligncenter size-medium wp-image-2744" title="Cleanmgr" src="http://www.thomasmaurer.ch/wp-content/uploads/2011/10/cleanmgr-247x300.png" alt="Cleanmgr" width="247" height="300" /></a></p>
<p>Disk Cleanup option on drive’s general properties and  cleanmgr.exe is not present in Windows Server 2008 or Windows Server 2008 R2 by default.So in order to use cleanmgr.exe you’ll need to copy two files that are already present on the server, cleanmgr.exe and cleanmgr.exe.mui.</p>
<ol>
<li>Copy &#8220;C:\Windows\winsxs\amd64_microsoft-windows-cleanmgr_31bf3856ad364e35_6.1.7600.16385_none_c9392808773cd7da\cleanmgr.exe&#8221; to &#8220;%systemroot%\System32&#8243;</li>
<li>Copy &#8220;C:\Windows\winsxs\amd64_microsoft-windows-cleanmgr.resources_31bf3856ad364e35_6.1.7600.16385_en-us_b9cb6194b257cc63\cleanmgr.exe.mui&#8221; to &#8220;%systemroot%\System32\en-US&#8221;</li>
</ol>
<p>Now you can launch the Disk cleanup tool (cleanmgr.exe) from the command prompt.</p>
<p>You could also install the &#8220;Desktop Experience&#8221; feature this would also work, but why install something if you don&#8217;t need it, specially on a server.</p>
<p>More on this on <a title="techNet" href="http://technet.microsoft.com/en-us/library/ff630161(WS.10).aspx" target="_blank">TechNet</a></p>
<p>&nbsp;</p>
<div class="shr-publisher-2743"></div><!-- Start Shareaholic LikeButtonSetBottom Automatic --><!-- End Shareaholic LikeButtonSetBottom Automatic -->]]></content:encoded>
			<wfw:commentRss>http://www.thomasmaurer.ch/2011/10/how-to-add-disk-cleanup-tool-in-windows-server-2008-r2/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Powershell: How to export Windows Eventlogs with Powershell</title>
		<link>http://www.thomasmaurer.ch/2011/05/powershell-how-to-export-windows-eventlogs-with-powershell/</link>
		<comments>http://www.thomasmaurer.ch/2011/05/powershell-how-to-export-windows-eventlogs-with-powershell/#comments</comments>
		<pubDate>Thu, 26 May 2011 15:14:26 +0000</pubDate>
		<dc:creator>Thomas Maurer</dc:creator>
				<category><![CDATA[Events]]></category>
		<category><![CDATA[Hyper-V]]></category>
		<category><![CDATA[IT]]></category>
		<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[Powershell]]></category>
		<category><![CDATA[Server Core]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[Windows]]></category>
		<category><![CDATA[Windows 7]]></category>
		<category><![CDATA[Windows Server]]></category>
		<category><![CDATA[Windows Server 2003]]></category>
		<category><![CDATA[Windows Server 2008]]></category>
		<category><![CDATA[Windows Server 2008 R2]]></category>
		<category><![CDATA[Windows Vista]]></category>
		<category><![CDATA[Windows XP]]></category>
		<category><![CDATA[Work]]></category>
		<category><![CDATA[.evt]]></category>
		<category><![CDATA[Application]]></category>
		<category><![CDATA[Backup]]></category>
		<category><![CDATA[Backupeventlog]]></category>
		<category><![CDATA[cleanup]]></category>
		<category><![CDATA[Delete]]></category>
		<category><![CDATA[Eventlog]]></category>
		<category><![CDATA[Eventlogs]]></category>
		<category><![CDATA[Export]]></category>
		<category><![CDATA[export eventlog]]></category>
		<category><![CDATA[Extension]]></category>
		<category><![CDATA[logfile]]></category>
		<category><![CDATA[logfiles]]></category>
		<category><![CDATA[PowerShell]]></category>
		<category><![CDATA[ps]]></category>
		<category><![CDATA[Remove]]></category>
		<category><![CDATA[System]]></category>
		<category><![CDATA[Windows Powershell]]></category>

		<guid isPermaLink="false">http://www.thomasmaurer.ch/?p=2142</guid>
		<description><![CDATA[This is a little dirty Windows Powershell script which exports or backups Windows Eventlogs. The script creates a .evt file which can be used with the Windows Eventlog Viewer. # Config $logFileName = "Application" # Add Name of the Logfile &#8230; <a href="http://www.thomasmaurer.ch/2011/05/powershell-how-to-export-windows-eventlogs-with-powershell/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<!-- Start Shareaholic LikeButtonSetTop Automatic --><!-- End Shareaholic LikeButtonSetTop Automatic --><p><img class="aligncenter" title="Powershell Header" src="http://www.thomasmaurer.ch/wp-content/uploads/2010/05/Screen-shot-2010-05-30-at-13.08.42.png" alt="Powershell Header" width="440" height="104" /></p>
<p>This is a little dirty Windows Powershell script which exports or backups Windows Eventlogs. The script creates a .evt file which can be used with the Windows Eventlog Viewer.</p>
<pre>
# Config
$logFileName = "Application" # Add Name of the Logfile (System, Application, etc)
$path = "C:\temp\" # Add Path, needs to end with a backsplash

# do not edit
$exportFileName = $logFileName + (get-date -f yyyyMMdd) + ".evt"
$logFile = Get-WmiObject Win32_NTEventlogFile | Where-Object {$_.logfilename -eq $logFileName}
$logFile.backupeventlog($path + $exportFileName)
</pre>
<p>And with the next code it cleans up older exported Eventlogs.</p>
<pre>
# Deletes all .evt logfiles in $path
# Be careful, this script removes all files with the extension .evt not just the selfcreated logfiles
$Daysback = "-7"

$CurrentDate = Get-Date
$DatetoDelete = $CurrentDate.AddDays($Daysback)
Get-ChildItem $Path | Where-Object { ($_.LastWriteTime -lt $DatetoDelete) -and ($_.Extension -eq ".evt") } | Remove-Item
</pre>
<p><strong>UPDATE:</strong> If you wanna clean the Eventlog after the export you can do that by using the Clear-Eventlog cmdlet. (Thanks to Michel from <a href="http://www.server-talk.eu">server-talk.eu</a>)</p>
<pre>
Clear-Eventlog -LogName $logFileName
</pre>
<p>And here the whole &#8220;script&#8221;</p>
<pre>
# Config
$logFileName = "Application" # Add Name of the Logfile (System, Application, etc)
$path = "C:\temp\" # Add Path, needs to end with a backsplash

# do not edit
$exportFileName = $logFileName + (get-date -f yyyyMMdd) + ".evt"
$logFile = Get-WmiObject Win32_NTEventlogFile | Where-Object {$_.logfilename -eq $logFileName}
$logFile.backupeventlog($path + $exportFileName)

# Deletes all .evt logfiles in $path
# Be careful, this script removes all files with the extension .evt not just the selfcreated logfiles
$Daysback = "-7"

$CurrentDate = Get-Date
$DatetoDelete = $CurrentDate.AddDays($Daysback)
Get-ChildItem $Path | Where-Object { ($_.LastWriteTime -lt $DatetoDelete) -and ($_.Extension -eq ".evt") } | Remove-Item
Clear-Eventlog -LogName $logFileName
</pre>
<div class="shr-publisher-2142"></div><!-- Start Shareaholic LikeButtonSetBottom Automatic --><!-- End Shareaholic LikeButtonSetBottom Automatic -->]]></content:encoded>
			<wfw:commentRss>http://www.thomasmaurer.ch/2011/05/powershell-how-to-export-windows-eventlogs-with-powershell/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>Check NTFS Version</title>
		<link>http://www.thomasmaurer.ch/2011/05/check-ntfs-version/</link>
		<comments>http://www.thomasmaurer.ch/2011/05/check-ntfs-version/#comments</comments>
		<pubDate>Mon, 16 May 2011 18:58:49 +0000</pubDate>
		<dc:creator>Thomas Maurer</dc:creator>
				<category><![CDATA[Hyper-V]]></category>
		<category><![CDATA[IT]]></category>
		<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[Server Core]]></category>
		<category><![CDATA[Web]]></category>
		<category><![CDATA[Windows]]></category>
		<category><![CDATA[Windows 7]]></category>
		<category><![CDATA[Windows Server]]></category>
		<category><![CDATA[Windows Server 2003]]></category>
		<category><![CDATA[Windows Server 2008]]></category>
		<category><![CDATA[Windows Server 2008 R2]]></category>
		<category><![CDATA[Windows Vista]]></category>
		<category><![CDATA[Windows XP]]></category>
		<category><![CDATA[Work]]></category>
		<category><![CDATA[c++]]></category>
		<category><![CDATA[cmd]]></category>
		<category><![CDATA[command]]></category>
		<category><![CDATA[commandline]]></category>
		<category><![CDATA[Filesystem]]></category>
		<category><![CDATA[Filesystem version]]></category>
		<category><![CDATA[fsinfo]]></category>
		<category><![CDATA[fsutil]]></category>
		<category><![CDATA[fsutil fsinfo ntfsinfo]]></category>
		<category><![CDATA[NTFS]]></category>
		<category><![CDATA[ntfsinfo]]></category>

		<guid isPermaLink="false">http://www.thomasmaurer.ch/?p=1946</guid>
		<description><![CDATA[If you need to know which version of NTFS you are using you can do that with the fsutil.exe and the following command. In my case I am testing my C:\ drive: fsutil fsinfo ntfsinfo c: More on NTFS Versions &#8230; <a href="http://www.thomasmaurer.ch/2011/05/check-ntfs-version/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<!-- Start Shareaholic LikeButtonSetTop Automatic --><!-- End Shareaholic LikeButtonSetTop Automatic --><p>If you need to know which version of NTFS you are using you can do that with the fsutil.exe and the following command.</p>
<p>In my case I am testing my C:\ drive:</p>
<pre>fsutil fsinfo ntfsinfo c:</pre>
<p><a href="http://www.thomasmaurer.ch/wp-content/uploads/2011/05/fsutil.png" rel="lightbox[1946]"><img class="aligncenter size-medium wp-image-1947" title="fsutil" src="http://www.thomasmaurer.ch/wp-content/uploads/2011/05/fsutil-300x171.png" alt="fsutil" width="300" height="171" /></a></p>
<p>More on NTFS Versions on <a title="Wikipedia NTFS" href="http://en.wikipedia.org/wiki/Ntfs#Versions" target="_blank">wikipedia</a>.</p>
<div class="shr-publisher-1946"></div><!-- Start Shareaholic LikeButtonSetBottom Automatic --><!-- End Shareaholic LikeButtonSetBottom Automatic -->]]></content:encoded>
			<wfw:commentRss>http://www.thomasmaurer.ch/2011/05/check-ntfs-version/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>In-place Upgrade Windows Server 2008 to Windows Server 2008 R2</title>
		<link>http://www.thomasmaurer.ch/2011/02/in-place-upgrade-windows-server-2008-to-windows-server-2008-r2/</link>
		<comments>http://www.thomasmaurer.ch/2011/02/in-place-upgrade-windows-server-2008-to-windows-server-2008-r2/#comments</comments>
		<pubDate>Thu, 24 Feb 2011 16:26:09 +0000</pubDate>
		<dc:creator>Thomas Maurer</dc:creator>
				<category><![CDATA[IT]]></category>
		<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[Windows]]></category>
		<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[Work]]></category>
		<category><![CDATA[In-place]]></category>
		<category><![CDATA[In-place upgrade]]></category>
		<category><![CDATA[Upgrade]]></category>
		<category><![CDATA[Upgrade 2008 to 2008 R2]]></category>
		<category><![CDATA[windows server 2008]]></category>

		<guid isPermaLink="false">http://www.thomasmaurer.ch/?p=1612</guid>
		<description><![CDATA[I&#8217;m not really a big fan of In-place Windows Upgrades, specially in the Server Environment. But we had a Server with a small application running Windows Server 2008 so we decided to in-place upgrade this Server to Windows Server 2008 &#8230; <a href="http://www.thomasmaurer.ch/2011/02/in-place-upgrade-windows-server-2008-to-windows-server-2008-r2/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<!-- Start Shareaholic LikeButtonSetTop Automatic --><!-- End Shareaholic LikeButtonSetTop Automatic --><p>I&#8217;m not really a big fan of In-place Windows Upgrades, specially in the Server Environment. But we had a Server with a small application running Windows Server 2008 so we decided to in-place upgrade this Server to Windows Server 2008 R2. Now guess what it worked. Basically if the Hardware and all applications are compatible with Windows Server 2008 R2 you can try to upgrade.</p>
<ol>
<li>Start Windows Server 2008 R2 DVD or attached ISO file.<br />
<a href="http://www.thomasmaurer.ch/wp-content/uploads/2011/02/Screen-shot-2011-02-24-at-13.08.181.png" rel="lightbox[1612]"><img class="aligncenter size-medium wp-image-1619" title="Windows Server 2008 R2 Upgrade" src="http://www.thomasmaurer.ch/wp-content/uploads/2011/02/Screen-shot-2011-02-24-at-13.08.181-300x258.png" alt="Windows Server 2008 R2 Upgrade" width="300" height="258" /></a></li>
<li>Choose Operation System<br />
<a href="http://www.thomasmaurer.ch/wp-content/uploads/2011/02/Screen-shot-2011-02-24-at-13.08.301.png" rel="lightbox[1612]"><img class="aligncenter size-medium wp-image-1620" title="Windows Server 2008 R2 Upgrade" src="http://www.thomasmaurer.ch/wp-content/uploads/2011/02/Screen-shot-2011-02-24-at-13.08.301-300x261.png" alt="Windows Server 2008 R2 Upgrade" width="300" height="261" /></a></li>
<li>Now choose Upgrade<br />
<a href="http://www.thomasmaurer.ch/wp-content/uploads/2011/02/Screen-shot-2011-02-24-at-13.08.481.png" rel="lightbox[1612]"><img class="aligncenter size-medium wp-image-1621" title="Windows Server 2008 R2 Upgrade" src="http://www.thomasmaurer.ch/wp-content/uploads/2011/02/Screen-shot-2011-02-24-at-13.08.481-300x261.png" alt="Windows Server 2008 R2 Upgrade" width="300" height="261" /></a></li>
<li>Check the compatibly report<br />
<a href="http://www.thomasmaurer.ch/wp-content/uploads/2011/02/Screen-shot-2011-02-24-at-13.09.031.png" rel="lightbox[1612]"><img class="aligncenter size-medium wp-image-1622" title="Windows Server 2008 R2 Upgrade" src="http://www.thomasmaurer.ch/wp-content/uploads/2011/02/Screen-shot-2011-02-24-at-13.09.031-300x261.png" alt="Windows Server 2008 R2 Upgrade" width="300" height="261" /></a></li>
<li>Upgrading Windows<br />
<a href="http://www.thomasmaurer.ch/wp-content/uploads/2011/02/Screen-shot-2011-02-24-at-13.41.461.png" rel="lightbox[1612]"><img class="aligncenter size-medium wp-image-1623" title="Windows Server 2008 R2 Upgrade" src="http://www.thomasmaurer.ch/wp-content/uploads/2011/02/Screen-shot-2011-02-24-at-13.41.461-300x260.png" alt="Windows Server 2008 R2 Upgrade" width="300" height="260" /></a></li>
<li>After that Windows reboot and if everything worked, you have now a Windows Server 2008 R2<br />
<a href="http://www.thomasmaurer.ch/wp-content/uploads/2011/02/Screen-shot-2011-02-24-at-14.16.31.png" rel="lightbox[1612]"><img class="aligncenter size-medium wp-image-1618" title="Windows Server 2008 R2" src="http://www.thomasmaurer.ch/wp-content/uploads/2011/02/Screen-shot-2011-02-24-at-14.16.31-300x215.png" alt="Windows Server 2008 R2" width="300" height="215" /></a></li>
</ol>
<div class="shr-publisher-1612"></div><!-- Start Shareaholic LikeButtonSetBottom Automatic --><!-- End Shareaholic LikeButtonSetBottom Automatic -->]]></content:encoded>
			<wfw:commentRss>http://www.thomasmaurer.ch/2011/02/in-place-upgrade-windows-server-2008-to-windows-server-2008-r2/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>MCITP</title>
		<link>http://www.thomasmaurer.ch/2010/12/mcitp/</link>
		<comments>http://www.thomasmaurer.ch/2010/12/mcitp/#comments</comments>
		<pubDate>Sat, 25 Dec 2010 21:36:05 +0000</pubDate>
		<dc:creator>Thomas Maurer</dc:creator>
				<category><![CDATA[Certification]]></category>
		<category><![CDATA[Hyper-V]]></category>
		<category><![CDATA[IT]]></category>
		<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[School]]></category>
		<category><![CDATA[Windows]]></category>
		<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[Work]]></category>
		<category><![CDATA[Enterprise Administrator]]></category>
		<category><![CDATA[MCITP]]></category>
		<category><![CDATA[MCP]]></category>
		<category><![CDATA[MCTS]]></category>
		<category><![CDATA[Virtualization Administrator]]></category>

		<guid isPermaLink="false">http://www.thomasmaurer.ch/?p=1469</guid>
		<description><![CDATA[In the last 2 months I passed my first two MCITP (Microsoft Certified IT Professional) Certifications. The first was the new MCITP: Windows Server 2008 R2, Virtualization Administrator and the second was the MCITP: Enterprise Administrator. I am really happy &#8230; <a href="http://www.thomasmaurer.ch/2010/12/mcitp/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<!-- Start Shareaholic LikeButtonSetTop Automatic --><!-- End Shareaholic LikeButtonSetTop Automatic --><p><img class="aligncenter size-full wp-image-1471" title="MCITP(rgb)_1085_1324" src="http://www.thomasmaurer.ch/wp-content/uploads/2010/12/MCITPrgb_1085_1324.png" alt="MCITP" width="325" height="60" /></p>
<p>In the last 2 months I passed my first two MCITP (<a href="http://www.microsoft.com/learning/en/us/certification/mcitp.aspx">Microsoft Certified IT Professional</a>) Certifications. The first was the new MCITP: Windows Server 2008 R2, Virtualization Administrator and the second was the MCITP: Enterprise Administrator. I am really happy it was hard work but I think it was worth it.</p>
<div class="shr-publisher-1469"></div><!-- Start Shareaholic LikeButtonSetBottom Automatic --><!-- End Shareaholic LikeButtonSetBottom Automatic -->]]></content:encoded>
			<wfw:commentRss>http://www.thomasmaurer.ch/2010/12/mcitp/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Remote Disk Management with “RPC server is unavailable” Error</title>
		<link>http://www.thomasmaurer.ch/2010/12/remote-disk-management-with-%e2%80%9crpc-server-is-unavailable%e2%80%9d-error/</link>
		<comments>http://www.thomasmaurer.ch/2010/12/remote-disk-management-with-%e2%80%9crpc-server-is-unavailable%e2%80%9d-error/#comments</comments>
		<pubDate>Fri, 10 Dec 2010 15:01:55 +0000</pubDate>
		<dc:creator>Thomas Maurer</dc:creator>
				<category><![CDATA[Hyper-V]]></category>
		<category><![CDATA[IT]]></category>
		<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[Server Core]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[Windows]]></category>
		<category><![CDATA[Windows Server]]></category>
		<category><![CDATA[Windows Server 2008]]></category>
		<category><![CDATA[Windows Server 2008 R2]]></category>
		<category><![CDATA[Work]]></category>
		<category><![CDATA[Core]]></category>
		<category><![CDATA[Core Server]]></category>
		<category><![CDATA[disk management]]></category>
		<category><![CDATA[error]]></category>
		<category><![CDATA[Firewall]]></category>
		<category><![CDATA[Hyper-v r2]]></category>
		<category><![CDATA[PRC]]></category>
		<category><![CDATA[PRC server is unavailable]]></category>
		<category><![CDATA[Remote Diskmanagement]]></category>
		<category><![CDATA[Remote Management]]></category>
		<category><![CDATA[Remote Server Manager]]></category>
		<category><![CDATA[Remote Volume Management]]></category>
		<category><![CDATA[Server]]></category>
		<category><![CDATA[Server Manager]]></category>
		<category><![CDATA[Volume Management]]></category>
		<category><![CDATA[windows server 2008]]></category>
		<category><![CDATA[Windows Server 2008 R2 Core]]></category>
		<category><![CDATA[Windows Server Core]]></category>

		<guid isPermaLink="false">http://www.thomasmaurer.ch/?p=1450</guid>
		<description><![CDATA[If you have a Windows Server 2008 R2 Core Server or a Hyper-V R2 Server, which is also managed like a Core Server, you are really happy if you can use the Server Manager for this Remote Machine. Basiclly I &#8230; <a href="http://www.thomasmaurer.ch/2010/12/remote-disk-management-with-%e2%80%9crpc-server-is-unavailable%e2%80%9d-error/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<!-- Start Shareaholic LikeButtonSetTop Automatic --><!-- End Shareaholic LikeButtonSetTop Automatic --><p>If you have a Windows Server 2008 R2 Core Server or a <a href="http://www.microsoft.com/hyper-v-server/" target="_blank">Hyper-V R2 Server,</a> which is also managed like a Core Server, you are really happy if you can use the Server Manager for this Remote Machine. Basiclly I had the the Remote Setup done. I could connect to the remote Machine with the Server Manager but when I tried to use the Disk Management on a remote Server and I got the following error “RPC server is unavailable”. After checking it I found the solution. The Problem is that the Firewall blocks the remote communication to virtual disk service. So you have to open the Firewall on the Management Machine</p>
<ol>
<li>First make sure you activated all the Remote Management options on the Remote Machine. I had all done this but its good to check that.</li>
<li>Now you can run the following Command in cmd on the Management Machine to add the a new firewall rule
<pre>netsh advfirewall firewall set rule group="Remote Volume Management" new enable=yes</pre>
</li>
</ol>
<p><a href="http://www.thomasmaurer.ch/wp-content/uploads/2010/12/firewall.png" rel="lightbox[1450]"><img class="aligncenter size-medium wp-image-1451" title="firewall" src="http://www.thomasmaurer.ch/wp-content/uploads/2010/12/firewall-300x148.png" alt="firewall" width="300" height="148" /></a></p>
<div class="shr-publisher-1450"></div><!-- Start Shareaholic LikeButtonSetBottom Automatic --><!-- End Shareaholic LikeButtonSetBottom Automatic -->]]></content:encoded>
			<wfw:commentRss>http://www.thomasmaurer.ch/2010/12/remote-disk-management-with-%e2%80%9crpc-server-is-unavailable%e2%80%9d-error/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>Create an OS Image in Windows Deployment Services (Capture Image)</title>
		<link>http://www.thomasmaurer.ch/2010/12/create-an-os-image-in-windows-deployment-services/</link>
		<comments>http://www.thomasmaurer.ch/2010/12/create-an-os-image-in-windows-deployment-services/#comments</comments>
		<pubDate>Mon, 06 Dec 2010 14:46:32 +0000</pubDate>
		<dc:creator>Thomas Maurer</dc:creator>
				<category><![CDATA[IT]]></category>
		<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[Windows]]></category>
		<category><![CDATA[Windows Server]]></category>
		<category><![CDATA[Windows Server 2008]]></category>
		<category><![CDATA[Windows Server 2008 R2]]></category>
		<category><![CDATA[Work]]></category>
		<category><![CDATA[Capture]]></category>
		<category><![CDATA[Capture Image]]></category>
		<category><![CDATA[Capture Volume]]></category>
		<category><![CDATA[generalize]]></category>
		<category><![CDATA[Image]]></category>
		<category><![CDATA[Image Capture]]></category>
		<category><![CDATA[PXE]]></category>
		<category><![CDATA[PXE boot]]></category>
		<category><![CDATA[Sysprep]]></category>
		<category><![CDATA[Sysprep.exe]]></category>
		<category><![CDATA[WDS]]></category>
		<category><![CDATA[WIM]]></category>
		<category><![CDATA[Windows 7]]></category>
		<category><![CDATA[Windows Deployment]]></category>
		<category><![CDATA[Windows Deployment Service]]></category>
		<category><![CDATA[Windows Deployment Services]]></category>
		<category><![CDATA[windows server 2008]]></category>
		<category><![CDATA[Windows Vista]]></category>

		<guid isPermaLink="false">http://www.thomasmaurer.ch/?p=1348</guid>
		<description><![CDATA[Here I will show you how you can simple create a new Image in WDS (Windows Deployment Services). You can use this to create own Images for your Servers or PCs or update existing Images. Add Capture Images to your &#8230; <a href="http://www.thomasmaurer.ch/2010/12/create-an-os-image-in-windows-deployment-services/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<!-- Start Shareaholic LikeButtonSetTop Automatic --><!-- End Shareaholic LikeButtonSetTop Automatic --><p>Here I will show you how you can simple create a new Image in WDS (Windows Deployment Services). You can use this to create own Images for your Servers or PCs or update existing Images.</p>
<ol>
<li>Add Capture Images to your WDS<br />
<a href="http://www.thomasmaurer.ch/wp-content/uploads/2010/11/Screen-shot-2010-11-21-at-14.13.53.png" rel="lightbox[1348]"><img class="aligncenter size-medium wp-image-1350" title="Windows Deployment Services" src="http://www.thomasmaurer.ch/wp-content/uploads/2010/11/Screen-shot-2010-11-21-at-14.13.53-300x198.png" alt="Windows Deployment Services" width="300" height="198" /></a></li>
<li>Update your Computer or VM with the latest Software.<br />
<a href="http://www.thomasmaurer.ch/wp-content/uploads/2010/11/Screen-shot-2010-11-21-at-14.25.20.png" rel="lightbox[1348]"><img class="aligncenter size-medium wp-image-1351" title="Windows Deployment Services" src="http://www.thomasmaurer.ch/wp-content/uploads/2010/11/Screen-shot-2010-11-21-at-14.25.20-300x252.png" alt="Windows Deployment Services" width="300" height="252" /></a></li>
<li>Use Sysprep to generalize the Machine. You can find sysprep.exe in C:\Windows\System32\sysprep<br />
<a href="http://www.thomasmaurer.ch/wp-content/uploads/2010/11/Screen-shot-2010-11-21-at-15.19.12.png" rel="lightbox[1348]"><img class="aligncenter size-medium wp-image-1352" title="Sysprep" src="http://www.thomasmaurer.ch/wp-content/uploads/2010/11/Screen-shot-2010-11-21-at-15.19.12-300x177.png" alt="Sysprep" width="300" height="177" /></a></li>
<li>After the Reboot boot into PXE and boot the Windows Capture Image<br />
<a href="http://www.thomasmaurer.ch/wp-content/uploads/2010/11/Screen-shot-2010-11-21-at-15.24.391.png" rel="lightbox[1348]"><img class="aligncenter size-medium wp-image-1355" title="Capture Image" src="http://www.thomasmaurer.ch/wp-content/uploads/2010/11/Screen-shot-2010-11-21-at-15.24.391-300x232.png" alt="Capture Image" width="300" height="232" /></a></li>
<li>Now you can use the Image Capture Wizard<br />
<a href="http://www.thomasmaurer.ch/wp-content/uploads/2010/11/Screen-shot-2010-11-21-at-15.27.21.png" rel="lightbox[1348]"><img class="aligncenter size-medium wp-image-1356" title="Capture Image Wizard" src="http://www.thomasmaurer.ch/wp-content/uploads/2010/11/Screen-shot-2010-11-21-at-15.27.21-300x253.png" alt="Capture Image Wizard" width="300" height="253" /></a></li>
<li>Choose which volume you want to capture if you have just one partion in your installed Image the Volume would be D:\ (C: is the booted Windows PE from the Windows Deployment Service)<br />
<a href="http://www.thomasmaurer.ch/wp-content/uploads/2010/11/Screen-shot-2010-11-21-at-15.28.01.png" rel="lightbox[1348]"><img class="aligncenter size-medium wp-image-1357" title="Capture Volume" src="http://www.thomasmaurer.ch/wp-content/uploads/2010/11/Screen-shot-2010-11-21-at-15.28.01-300x265.png" alt="Capture Volume" width="300" height="265" /></a></li>
<li>Now you have to choose the name of the WIM file and the location, before you can upload it to the WDS Server you have to save it on a local partion. After that you can choose your WDS Server and the Image Group you want to upload the image after the Volume is captured.<br />
<a href="http://www.thomasmaurer.ch/wp-content/uploads/2010/11/Screen-shot-2010-11-21-at-15.29.57.png" rel="lightbox[1348]"><img class="aligncenter size-medium wp-image-1358" title="Image" src="http://www.thomasmaurer.ch/wp-content/uploads/2010/11/Screen-shot-2010-11-21-at-15.29.57-300x271.png" alt="Image" width="300" height="271" /></a></li>
<li>Now the capturing process will start<br />
<a href="http://www.thomasmaurer.ch/wp-content/uploads/2010/11/Screen-shot-2010-11-21-at-15.30.09.png" rel="lightbox[1348]"><img class="aligncenter size-medium wp-image-1359" title="Screen shot 2010-11-21 at 15.30.09" src="http://www.thomasmaurer.ch/wp-content/uploads/2010/11/Screen-shot-2010-11-21-at-15.30.09-300x214.png" alt="" width="300" height="214" /></a></li>
<li>After the capturing process is finished and the image is uploaded you can find the Image in the Image group on your WDS Server<br />
<a href="http://www.thomasmaurer.ch/wp-content/uploads/2010/11/Screen-shot-2010-11-21-at-16.13.18.png" rel="lightbox[1348]"><img class="aligncenter size-medium wp-image-1362" title="Capture Image" src="http://www.thomasmaurer.ch/wp-content/uploads/2010/11/Screen-shot-2010-11-21-at-16.13.18-300x214.png" alt="Capture Image" width="300" height="214" /></a><a href="http://www.thomasmaurer.ch/wp-content/uploads/2010/11/Screen-shot-2010-11-21-at-16.13.58.png" rel="lightbox[1348]"><img class="aligncenter size-medium wp-image-1363" title="WDS" src="http://www.thomasmaurer.ch/wp-content/uploads/2010/11/Screen-shot-2010-11-21-at-16.13.58-300x75.png" alt="WDS" width="300" height="75" /></a></li>
<li>Now you can Rollout this new Image</li>
</ol>
<div class="shr-publisher-1348"></div><!-- Start Shareaholic LikeButtonSetBottom Automatic --><!-- End Shareaholic LikeButtonSetBottom Automatic -->]]></content:encoded>
			<wfw:commentRss>http://www.thomasmaurer.ch/2010/12/create-an-os-image-in-windows-deployment-services/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Powershell for System Center Virtual Machine Manager and Hyper-V</title>
		<link>http://www.thomasmaurer.ch/2010/12/powershell-for-system-center-virtual-machine-manager-and-hyper-v/</link>
		<comments>http://www.thomasmaurer.ch/2010/12/powershell-for-system-center-virtual-machine-manager-and-hyper-v/#comments</comments>
		<pubDate>Wed, 01 Dec 2010 13:45:10 +0000</pubDate>
		<dc:creator>Thomas Maurer</dc:creator>
				<category><![CDATA[Hyper-V]]></category>
		<category><![CDATA[IT]]></category>
		<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[Server Core]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[System Center]]></category>
		<category><![CDATA[Virtualization]]></category>
		<category><![CDATA[Windows Server]]></category>
		<category><![CDATA[Windows Server 2008]]></category>
		<category><![CDATA[Windows Server 2008 R2]]></category>
		<category><![CDATA[Work]]></category>
		<category><![CDATA[Create VM]]></category>
		<category><![CDATA[Hyper-V Host]]></category>
		<category><![CDATA[Hyper-V Server]]></category>
		<category><![CDATA[Microsoft System Center Virtual Machine Manager 2008]]></category>
		<category><![CDATA[Microsoft System Center Virtual Machine Manager 2008 R2]]></category>
		<category><![CDATA[Microsoft.SystemCenter.VirtualMachineManager]]></category>
		<category><![CDATA[PowerShell]]></category>
		<category><![CDATA[Powershell create VM]]></category>
		<category><![CDATA[PSSnapin]]></category>
		<category><![CDATA[Remove VM]]></category>
		<category><![CDATA[Resume VM]]></category>
		<category><![CDATA[SCVMM]]></category>
		<category><![CDATA[Server]]></category>
		<category><![CDATA[Start VM]]></category>
		<category><![CDATA[Stop VM]]></category>
		<category><![CDATA[Supsend VM]]></category>
		<category><![CDATA[System Center Virtual Machine Manager]]></category>
		<category><![CDATA[System Center Virtual Machine Manager 2008]]></category>
		<category><![CDATA[System Center Virtual Machine Manager 2008 R2]]></category>
		<category><![CDATA[Virtual Machine]]></category>
		<category><![CDATA[Virtual Machine Manager]]></category>
		<category><![CDATA[VM]]></category>
		<category><![CDATA[VMM]]></category>
		<category><![CDATA[Windows Powershell]]></category>

		<guid isPermaLink="false">http://www.thomasmaurer.ch/?p=1244</guid>
		<description><![CDATA[This little HowTo shows you how can you get tasks on System Center Virtual Machine Manager done, by using Windows Powershell. Load Powershell Snapin for Virtual Machine Manager: Add-PSSnapin Microsoft.SystemCenter.VirtualMachineManager Create Virtual Machine: # Config # ------------------------------------ # Job Config &#8230; <a href="http://www.thomasmaurer.ch/2010/12/powershell-for-system-center-virtual-machine-manager-and-hyper-v/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<!-- Start Shareaholic LikeButtonSetTop Automatic --><!-- End Shareaholic LikeButtonSetTop Automatic --><p><img class="aligncenter size-medium wp-image-894" title="Microsoft System Center Virtual Machine Manager 2008 R2" src="http://www.thomasmaurer.ch/wp-content/uploads/2010/08/Screen-shot-2010-08-02-at-13.49.49-300x198.png" alt="Microsoft System Center Virtual Machine Manager 2008 R2" width="300" height="198" /></p>
<p>This little HowTo shows you how can you get tasks on System Center Virtual Machine Manager done, by using Windows Powershell.</p>
<h3>Load Powershell Snapin for Virtual Machine Manager:</h3>
<pre>
Add-PSSnapin Microsoft.SystemCenter.VirtualMachineManager
</pre>
<h3>Create Virtual Machine:</h3>
<pre>
# Config
# ------------------------------------
# Job Config
$JobGroup = "0000001" # This is used to group command by a job
$SCMVVMServer = "SCVVMServer01" # Name of the SCVMM Server (could also be localhost)

# Network Config
$VirtualNetwork = "External" # Name of the Network you want the VM to connect
$VLanEnable = $true # eable VLANs
$VLANID = "1023" # VLAN ID

# VMM Config
$Domain = "Contoso"
$Owner = "Ownerusername" # Owner User
$Description = "This is a Server" # Choose a Description
$VMName = "server05" # Name of the VM
$VMHost = "hyperv02" # Name of the existing VM Host
$VMPath = "C:\ProgramData\Microsoft\Windows\Hyper-V"

# Virtual Machine Config
$VMOperatingSystem = "64-bit edition of Windows Server 2008 R2 Standard"
$CPU = "1.20 GHz Athlon MP" # CPU
$VMDiskSize = "40960" # Disk Size in MB
$CPUCount = "1"
$MemoryMB = "1024" # Memory Size in MB
$ExpectedCPUUtilization = "20"
$DiskIO = "0"
$CPUMax = "100"
$CPUReserve = "0"
$NetworkUtilization = "0"
$RelativeWeight = "100"
$HighlyAvailable = $false
$NumLock = $false
$BootOrder = "CD", "IdeHardDrive", "PxeBoot", "Floppy"
$LimitCPUFunctionality = $false
$LimitCPUForMigration = $false

# Setup Process
# ------------------------------------
Set-VirtualFloppyDrive -RunAsynchronously -VMMServer $SCVMMServer -NoMedia -JobGroup $JobGroup
Set-VirtualCOMPort -NoAttach -VMMServer $SCVMMServer -GuestPort 1 -JobGroup $JobGroup
Set-VirtualCOMPort -NoAttach -VMMServer $SCVMMServer -GuestPort 2 -JobGroup $JobGroup
New-VirtualNetworkAdapter -VMMServer $SCVMMServer -JobGroup $JobGroup -PhysicalAddressType Dynamic -VirtualNetwork $VirtualNetwork -VLanEnabled $VLanEnable -VLANID $VLANID -MACAddressesSpoofingEnabled $false
$CPUType = Get-CPUType -VMMServer $SCVMMServer | where {$_.Name -eq $CPU}
New-HardwareProfile -VMMServer $SCVMMServer -Owner ($Domain + "\" + $Owner) -CPUType $CPUType -Name ("Profile" + $JobGroup) -CPUCount $CPUCount -MemoryMB $MemoryMB -ExpectedCPUUtilization $ExpectedCPUUtilization -DiskIO $DiskIO -CPUMax $CPUMax -CPUReserve $CPUReserve -NetworkUtilization $NetworkUtilization -RelativeWeight $RelativeWeight -HighlyAvailable $HighlyAvailable -NumLock $XMLTask.Feature.NumLock -BootOrder $BootOrder -LimitCPUFunctionality $LimitCPUFunctionality -LimitCPUForMigration $LimitCPUForMigration -JobGroup $JobGroup
New-VirtualDiskDrive -VMMServer $SCVMMServer -IDE -Bus 0 -LUN 0 -JobGroup $JobGroup -Size $VMDiskSize -Dynamic -Filename ($VMName + "_disk_1")
$VMHost = Get-VMHost -VMMServer $SCVMMServer | where {$_.Name -eq $VMHost}
$HardwareProfile = Get-HardwareProfile -VMMServer $SCVMMServer | where {$_.Name -eq ("Profile" + $JobGroup)}
$OperatingSystem = Get-OperatingSystem -VMMServer $SCVMMServer | where {$_.Name -eq $VMOperatingSystem}

# Create VM
# ------------------------------------
New-VM -VMMServer $SCVMMServer -Name $VMName -Description $Description -Owner ($Domain + "\" + $Owner) -VMHost $VMHost -Path $VMPath -HardwareProfile $HardwareProfile -JobGroup $JobGroup -RunAsynchronously -OperatingSystem $OperatingSystem -RunAsSystem -StartAction NeverAutoTurnOnVM -StopAction SaveVM
</pre>
<h3>Delete (Remove) Virtual Machine:</h3>
<pre>
# Config
# ------------------------------------
$VMName = "server05" # Name of the VM

# Setup Process
# ------------------------------------
$SelectedVM = Get-VM -Name $VMName

# Remove/Delete VM
# ------------------------------------
Remove-VM -VM $SelectedVM
</pre>
<h3>Suspend Virtual Machine:</h3>
<pre>
# Config
# ------------------------------------
$VMName = "server05" # Name of the VM

# Setup Process
# ------------------------------------
$SelectedVM = Get-VM -Name $VMName

# Suspend VM
# ------------------------------------
Suspend-VM -VM $SelectedVM
</pre>
<h3>Resume Virtual Machine:</h3>
<pre>
# Config
# ------------------------------------
$VMName = "server05" # Name of the VM

# Setup Process
# ------------------------------------
$SelectedVM = Get-VM -Name $VMName

# Resume VM
# ------------------------------------
Resume-VM -VM $SelectedVM
</pre>
<h3>Stop Virtual Machine / Turn off Virtual Machine:</h3>
<pre>
# Config
# ------------------------------------
$VMName = "server05" # Name of the VM

# Setup Process
# ------------------------------------
$SelectedVM = Get-VM -Name $VMName

# Stop / Turn off VM
# ------------------------------------
Stop-VM -VM $SelectedVM
</pre>
<h3>Start Virtual Machine:</h3>
<pre>
# Config
# ------------------------------------
$VMName = "server05" # Name of the VM

# Setup Process
# ------------------------------------
$SelectedVM = Get-VM -Name $VMName

# Start VM
# ------------------------------------
Start-VM -VM $SelectedVM
</pre>
<p>This is a reference how you can do some thing with Powershell in the Virtual Machine Manager. You can do a lot more, like error handling, creating virtual machines from a xml config file etc&#8230;</p>
<div class="shr-publisher-1244"></div><!-- Start Shareaholic LikeButtonSetBottom Automatic --><!-- End Shareaholic LikeButtonSetBottom Automatic -->]]></content:encoded>
			<wfw:commentRss>http://www.thomasmaurer.ch/2010/12/powershell-for-system-center-virtual-machine-manager-and-hyper-v/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>How to Backup a Sharepoint 2010 Site Collection with Powershell</title>
		<link>http://www.thomasmaurer.ch/2010/11/how-to-backup-a-sharepoint-2010-site-collection-with-powershell/</link>
		<comments>http://www.thomasmaurer.ch/2010/11/how-to-backup-a-sharepoint-2010-site-collection-with-powershell/#comments</comments>
		<pubDate>Mon, 15 Nov 2010 10:29:31 +0000</pubDate>
		<dc:creator>Thomas Maurer</dc:creator>
				<category><![CDATA[Hosting]]></category>
		<category><![CDATA[IT]]></category>
		<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[Powershell]]></category>
		<category><![CDATA[Sharepoint]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[System Center]]></category>
		<category><![CDATA[Web]]></category>
		<category><![CDATA[Windows Server]]></category>
		<category><![CDATA[Windows Server 2008]]></category>
		<category><![CDATA[Windows Server 2008 R2]]></category>
		<category><![CDATA[Work]]></category>
		<category><![CDATA[Backup Site Collection]]></category>
		<category><![CDATA[Backup-SPSite]]></category>
		<category><![CDATA[PowerShell]]></category>
		<category><![CDATA[Restore-SPSite]]></category>
		<category><![CDATA[Sharepoint 2010]]></category>
		<category><![CDATA[Sharepoint 2010 Backup]]></category>
		<category><![CDATA[Sharepoint Backup]]></category>
		<category><![CDATA[Sharepoint Backup with Powershell]]></category>
		<category><![CDATA[Site Collection]]></category>
		<category><![CDATA[System Center Data Protection Manager]]></category>
		<category><![CDATA[Windows Powershell]]></category>

		<guid isPermaLink="false">http://www.thomasmaurer.ch/?p=1214</guid>
		<description><![CDATA[Okay for a real backup solution you should use a backup software like Microsoft System Center Data Protection Manager or Symantec Backup Exec. But maybe you have customer which needs a backup of his Sharepoint Site Collection. You also could &#8230; <a href="http://www.thomasmaurer.ch/2010/11/how-to-backup-a-sharepoint-2010-site-collection-with-powershell/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<!-- Start Shareaholic LikeButtonSetTop Automatic --><!-- End Shareaholic LikeButtonSetTop Automatic --><p><img class="aligncenter size-full wp-image-621" title="Powershell Header" src="http://www.thomasmaurer.ch/wp-content/uploads/2010/05/Screen-shot-2010-05-30-at-13.08.42.png" alt="Powershell Header" width="440" height="104" />Okay for a real backup solution you should use a backup software like <a href="http://www.microsoft.com/germany/systemcenter/dpm/default.mspx" target="_blank">Microsoft System Center Data Protection Manager</a> or <a href="http://www.symantec.com/de/de/business/products/agents_options.jsp?pcid=pcat_business_cont&amp;pvid=57_1" target="_blank">Symantec Backup Exec</a>. But maybe you have customer which needs a backup of his Sharepoint Site Collection. You also could use the Backup Tool in the Sharepoint Central Administration, but if you need to automate that, you will need Powershell.</p>
<p>Backup a Site Collection:</p>
<pre>
Backup-SPSite -Identity "http://sharepoint.company.com" -Path "C:\Temp\backup1.bak" -Force
</pre>
<p>Restore a Site Collection:</p>
<pre>
Restore-SPSite "http://sharepoint.company.com" -Path C:\backup1.bak -HostHeaderWebApplication "http://WebAppname" -Force -Confirm:$False
</pre>
<div class="shr-publisher-1214"></div><!-- Start Shareaholic LikeButtonSetBottom Automatic --><!-- End Shareaholic LikeButtonSetBottom Automatic -->]]></content:encoded>
			<wfw:commentRss>http://www.thomasmaurer.ch/2010/11/how-to-backup-a-sharepoint-2010-site-collection-with-powershell/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to redirect sites to HTTPS in IIS 7.5</title>
		<link>http://www.thomasmaurer.ch/2010/11/how-to-redirect-sites-to-https-in-iis-7-5/</link>
		<comments>http://www.thomasmaurer.ch/2010/11/how-to-redirect-sites-to-https-in-iis-7-5/#comments</comments>
		<pubDate>Mon, 08 Nov 2010 16:00:54 +0000</pubDate>
		<dc:creator>Thomas Maurer</dc:creator>
				<category><![CDATA[IIS]]></category>
		<category><![CDATA[IT]]></category>
		<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[Web]]></category>
		<category><![CDATA[Windows Server]]></category>
		<category><![CDATA[Windows Server 2003]]></category>
		<category><![CDATA[Windows Server 2008]]></category>
		<category><![CDATA[Windows Server 2008 R2]]></category>
		<category><![CDATA[Work]]></category>
		<category><![CDATA[302]]></category>
		<category><![CDATA[302 redirect]]></category>
		<category><![CDATA[403]]></category>
		<category><![CDATA[403 error page]]></category>
		<category><![CDATA[http]]></category>
		<category><![CDATA[http to https redirect]]></category>
		<category><![CDATA[https]]></category>
		<category><![CDATA[IIS 7]]></category>
		<category><![CDATA[IIS 7.5]]></category>
		<category><![CDATA[IIS https redirect]]></category>
		<category><![CDATA[IIS redirect]]></category>
		<category><![CDATA[IIS Settings]]></category>
		<category><![CDATA[redirect]]></category>
		<category><![CDATA[requiere SSL]]></category>
		<category><![CDATA[SSL]]></category>
		<category><![CDATA[SSL Settings]]></category>

		<guid isPermaLink="false">http://www.thomasmaurer.ch/?p=1203</guid>
		<description><![CDATA[This little guide shows you how you can redirect http request to the https website using IIS Settings. You can do the same on other versions of IIS slightly different. First set &#8220;require SSL&#8221; under the SSL Settings from the &#8230; <a href="http://www.thomasmaurer.ch/2010/11/how-to-redirect-sites-to-https-in-iis-7-5/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<!-- Start Shareaholic LikeButtonSetTop Automatic --><!-- End Shareaholic LikeButtonSetTop Automatic --><p>This little guide shows you how you can redirect http request to the https website using IIS Settings. You can do the same on other versions of IIS slightly different.</p>
<ol>
<li>First set &#8220;require SSL&#8221; under the SSL Settings from the Website<br />
<a href="http://www.thomasmaurer.ch/wp-content/uploads/2010/11/Screen-shot-2010-11-06-at-15.12.41.png" rel="lightbox[1203]"><img class="aligncenter size-medium wp-image-1206" title="SSL Settings" src="http://www.thomasmaurer.ch/wp-content/uploads/2010/11/Screen-shot-2010-11-06-at-15.12.41-300x179.png" alt="SSL Settings" width="300" height="179" /></a></li>
<li>Under the Error Page Settings edit the 403 Error Page<br />
<a href="http://www.thomasmaurer.ch/wp-content/uploads/2010/11/Screen-shot-2010-11-06-at-15.13.00.png" rel="lightbox[1203]"><img class="aligncenter size-medium wp-image-1207" title="Error Page Settings" src="http://www.thomasmaurer.ch/wp-content/uploads/2010/11/Screen-shot-2010-11-06-at-15.13.00-300x271.png" alt="Error Page Settings" width="300" height="271" /></a></li>
<li>mark the Setting &#8220;Respond with a 302 redirect&#8221; and add the https URL<br />
<a href="http://www.thomasmaurer.ch/wp-content/uploads/2010/11/Screen-shot-2010-11-06-at-15.13.10.png" rel="lightbox[1203]"><img class="aligncenter size-medium wp-image-1208" title="Respond with a 302 redirect" src="http://www.thomasmaurer.ch/wp-content/uploads/2010/11/Screen-shot-2010-11-06-at-15.13.10-290x300.png" alt="Respond with a 302 redirect" width="290" height="300" /></a></li>
</ol>
<div class="shr-publisher-1203"></div><!-- Start Shareaholic LikeButtonSetBottom Automatic --><!-- End Shareaholic LikeButtonSetBottom Automatic -->]]></content:encoded>
			<wfw:commentRss>http://www.thomasmaurer.ch/2010/11/how-to-redirect-sites-to-https-in-iis-7-5/feed/</wfw:commentRss>
		<slash:comments>13</slash:comments>
		</item>
	</channel>
</rss>

