<?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/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>blog.powershell.no &#187; Active Directory management</title>
	<atom:link href="http://blog.powershell.no/category/active-directory-management/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.powershell.no</link>
	<description>On Windows PowerShell and other admin-related topics</description>
	<lastBuildDate>Mon, 06 Feb 2012 09:18:37 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='blog.powershell.no' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://0.gravatar.com/blavatar/e22e511529c14fbc92cde5589d6231b4?s=96&#038;d=http%3A%2F%2Fs2.wp.com%2Fi%2Fbuttonw-com.png</url>
		<title>blog.powershell.no &#187; Active Directory management</title>
		<link>http://blog.powershell.no</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://blog.powershell.no/osd.xml" title="blog.powershell.no" />
	<atom:link rel='hub' href='http://blog.powershell.no/?pushpress=hub'/>
		<item>
		<title>Working with Active Directory Certificate Services from Windows PowerShell</title>
		<link>http://blog.powershell.no/2011/01/09/working-with-active-directory-certificate-services-from-windows-powershell/</link>
		<comments>http://blog.powershell.no/2011/01/09/working-with-active-directory-certificate-services-from-windows-powershell/#comments</comments>
		<pubDate>Sun, 09 Jan 2011 18:59:35 +0000</pubDate>
		<dc:creator>Jan Egil Ring</dc:creator>
				<category><![CDATA[Active Directory management]]></category>
		<category><![CDATA[PKI]]></category>
		<category><![CDATA[Windows PowerShell]]></category>
		<category><![CDATA[pki]]></category>
		<category><![CDATA[PowerShell]]></category>

		<guid isPermaLink="false">https://janegilring.wordpress.com/2011/01/09/working-with-active-directory-certificate-services-from-windows-powershell/</guid>
		<description><![CDATA[In Active Directory Certificate Services, the primary administration interface is the MMC snap-in Certification Authority exposed through Server Manager in Windows Server 2008 and Windows Server 2008 R2: More advanced administration options is available through the command line utility certutil.exe. I recently worked with an environment with an unusual amount of issued certificates (several hundreds [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.powershell.no&amp;blog=5892504&amp;post=757&amp;subd=janegilring&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>In <a href="http://technet.microsoft.com/en-us/library/cc770357(WS.10).aspx" target="_blank">Active Directory Certificate Services</a>, the primary administration interface is the MMC snap-in Certification Authority exposed through Server Manager in Windows Server 2008 and Windows Server 2008 R2:</p>
<p><a href="http://janegilring.files.wordpress.com/2011/01/image.png"><img style="background-image:none;padding-left:0;padding-right:0;display:inline;padding-top:0;border-width:0;" title="image" border="0" alt="image" src="http://janegilring.files.wordpress.com/2011/01/image_thumb.png?w=242&#038;h=183" width="242" height="183" /></a></p>
<p>More advanced administration options is available through the command line utility <a href="http://technet.microsoft.com/en-us/library/cc732443(WS.10).aspx" target="_blank">certutil.exe</a>.</p>
<p>I recently worked with an environment with an unusual amount of issued certificates (several hundreds of thousands), and working with the MMC-tools was not efficient.</p>
<p>I first started by exporting the issued certificates to a CSV-file by using certutil.exe`s csv option. This options seems to be new in Windows Server 2008 R2, although I haven`t found any documentation on this. Actually it`s possible to use certutil.exe from a Windows Server 2008 R2 member server against a Certification Authority running an earlier version of Windows Server to export issued certificates to CSV. It should also be noted that this can be accomplished using the Export List option in the Certification Authority MMC in both Windows Server 2008 R2 and earlier versions of Windows Server.</p>
<p>When the CSV-file are exported, we can import it to Windows PowerShell and do things like grouping and sorting:</p>
<div style="border-bottom:black 1px solid;border-left:black 1px solid;width:750px;overflow:auto;border-top:black 1px solid;border-right:black 1px solid;padding:5px;">
<table border="0" cellspacing="0" cellpadding="5">
<tbody>
<tr>
<td valign="top">
<div style="background:#cecece;padding:5px;"><font face="Consolas"><font color="#000000">001                  <br />002                   <br />003                   <br />004                   <br />005                   <br />006                   <br />007                   <br />008                   <br />009                   <br />010                   <br />011</font></font>               </div>
</td>
<td valign="top" nowrap="nowrap">
<div style="background:#fcfcfc;padding:5px;"><font face="Consolas"><span><font color="#006400"><font>#Export certificates to CSV</font></font></span><font>                  <br /><span><font color="#0000ff">certutil</font></span><span><font color="#000000">&#160;</font></span><span><font color="#00008b">-view</font></span><span><font color="#000000">&#160;</font></span><span><font color="#00008b">-out</font></span><span><font color="#000000">&#160;</font></span><span><font color="#8b0000">&quot;RequestID,RequesterName,RequestType,NotAfter,CommonName,Certificate Template&quot;</font></span><span><font color="#000000">&#160;</font></span><span><font color="#ff00ff">csv</font></span><span><font color="#000000">&#160;</font></span><span><font color="#a9a9a9">&gt;</font></span><span><font color="#000000">&#160;</font></span><span><font color="#ff00ff">c:\temp\certs.csv</font></span>                   </p>
<p><span><font color="#006400">#Import CSV</font></span>                   <br /><span><font color="#ff0000">$csv</font></span><span><font color="#000000">&#160;</font></span><span><font color="#a9a9a9">=</font></span><span><font color="#000000">&#160;</font></span><span><font color="#0000ff">Import-Csv</font></span><span><font color="#000000">&#160;</font></span><span><font color="#ff00ff">C:\Temp\certs.csv</font></span>                   </p>
<p><span><font color="#006400">#Group by requester name, and sort by count</font></span>                   <br /><span><font color="#ff0000">$csv</font></span><span><font color="#000000">&#160;</font></span><span><font color="#a9a9a9">|</font></span><span><font color="#000000">&#160;</font></span><span><font color="#0000ff">Select-Object</font></span><span><font color="#000000">&#160;</font></span><span><font color="#8b0000">&quot;requester name&quot;</font></span><span><font color="#000000">&#160;</font></span><span><font color="#a9a9a9">|</font></span><span><font color="#000000">&#160;</font></span><span><font color="#0000ff">Group-Object</font></span><span><font color="#000000">&#160;</font></span><span><font color="#00008b">-Property</font></span><span><font color="#000000">&#160;</font></span><span><font color="#8b0000">&quot;requester name&quot;</font></span><span><font color="#000000">&#160;</font></span><span><font color="#a9a9a9">|</font></span><span><font color="#000000">&#160;</font></span><span><font color="#0000ff">Sort-Object</font></span><span><font color="#000000">&#160;</font></span><span><font color="#00008b">-Property</font></span><span><font color="#000000">&#160;</font></span><span><font color="#ff00ff">count</font></span>                   </p>
<p><span><font color="#006400">#Work further with a specific computer based on the above results</font></span>                   <br /><span><font color="#ff0000">$computer</font></span><span><font color="#000000">&#160;</font></span><span><font color="#a9a9a9">=</font></span><span><font color="#000000">&#160;</font></span><span><font color="#ff0000">$csv</font></span><span><font color="#000000">&#160;</font></span><span><font color="#a9a9a9">|</font></span><span><font color="#000000">&#160;</font></span><span><font color="#0000ff">Where-Object</font></span><font color="#000000"><span>&#160;</span><span>{</span></font><span><font color="#ff0000">$_</font></span><span><font color="#a9a9a9">.</font></span><span><font color="#8b0000">&quot;requester name&quot;</font></span><span><font color="#000000">&#160;</font></span><span><font color="#a9a9a9">-eq</font></span><span><font color="#000000">&#160;</font></span><span><font color="#8b0000">&quot;computer01&quot;</font></span><font color="#000000"><span>}</span> </font></font></font></div>
</td>
</tr>
</tbody>
</table></div>
<p>&#160;</p>
<p>Note that using CSV when working with very large data sets might consume large amounts of system resources (up to 2,5 GB in my case), so this might not be the best approach. Another option would be to work directly against the Certification Authority database, where we can set filters directly on the queries.</p>
<p>There are several Com-objects available for working with Active Directory Certificate Services, which makes it possible to work directly against the Certification Authority database from PowerShell.</p>
<p>PowerShell MVP <a href="http://www.sysadmins.lv/" target="_blank">Vadim Podans</a> has written a <a href="http://translate.google.com/translate?js=n&amp;prev=_t&amp;hl=no&amp;ie=UTF-8&amp;layout=2&amp;eotf=1&amp;sl=ru&amp;tl=en&amp;u=http%3A%2F%2Fwww.sysadmins.lv%2FPermaLink%2Cguid%2C3b1e908d-057b-4d06-8856-83ec63b72a7c.aspx" target="_blank">blog-post</a> showing how this can be accomplished.</p>
<p>Another Com-object to look into is the <a href="http://msdn.microsoft.com/en-us/library/aa383234(v=VS.85).aspx" target="_blank">ICertAdmin2 Interface</a>, which can be accessed from PowerShell like this:</p>
<div style="border-bottom:black 1px solid;border-left:black 1px solid;width:750px;overflow:auto;border-top:black 1px solid;border-right:black 1px solid;padding:5px;">
<table border="0" cellspacing="0" cellpadding="5">
<tbody>
<tr>
<td valign="top">
<div style="background:#cecece;padding:5px;"><font face="Consolas"><font color="#000000">001                  <br />002                   <br />003                   <br />004                   <br />005                   <br />006                   <br />007                   <br />008                   <br />009                   <br />010                   <br />011                   <br />012                   <br />013                   <br />014</font></font>               </div>
</td>
<td valign="top" nowrap="nowrap">
<div style="background:#fcfcfc;padding:5px;"><font face="Consolas"><span><font color="#006400"><font>#Create Com-object</font></font></span><font>                  <br /><span><font color="#ff0000">$certadmin</font></span><span><font color="#000000">&#160;</font></span><span><font color="#a9a9a9">=</font></span><span><font color="#000000">&#160;</font></span><span><font color="#0000ff">new-object</font></span><span><font color="#000000">&#160;</font></span><span><font color="#00008b">-com</font></span><span><font color="#000000">&#160;</font></span><span><font color="#8b0000">&quot;CertificateAuthority.Admin.1&quot;</font></span>                   </p>
<p><span><font color="#006400">#Explore Com-object</font></span>                   <br /><span><font color="#ff0000">$certadmin</font></span><span><font color="#000000">&#160;</font></span><span><font color="#a9a9a9">|</font></span><span><font color="#000000">&#160;</font></span><span><font color="#0000ff">Get-Member</font></span>                   </p>
<p><span><font color="#006400">#Sample usage for one of the available methods</font></span>                   <br /><span><font color="#ff0000">$certadmin</font></span><span><font color="#a9a9a9">.</font></span><font color="#000000"><span>DeleteRow</span><span>(</span></font>                   <br /><span><font color="#8b0000">&quot;lab-dc-01\Issuing CA 01&quot;</font></span><span><font color="#a9a9a9">,</font></span><span><font color="#000000">&#160;</font></span><span><font color="#006400">#Config-string</font></span>                   <br /><span><font color="#000000">&#160;</font></span><span><font color="#ff00ff">0&#215;0</font></span><span><font color="#a9a9a9">,</font></span><span><font color="#000000">&#160;</font></span><span><font color="#006400">#Flags, not set</font></span>                   <br /><span><font color="#000000">&#160;</font></span><span><font color="#ff00ff">0&#215;0</font></span><span><font color="#a9a9a9">,</font></span><span><font color="#000000">&#160;</font></span><span><font color="#006400">#Date, not set when using RowID</font></span>                   <br /><span><font color="#000000">&#160;</font></span><span><font color="#ff00ff">0&#215;0</font></span><span><font color="#a9a9a9">,</font></span><span><font color="#000000">&#160;</font></span><span><font color="#006400">#Table, set to 3 for CVRC_TABLE_REQCERT</font></span>                   <br /><span><font color="#000000">&#160;</font></span><span><font color="#ff00ff">21</font></span><span><font color="#000000">&#160;</font></span><span><font color="#006400">#RowId</font></span>                   <br /><font color="#000000"><span>&#160;</span><span>)</span> </font></font></font></div>
</td>
</tr>
</tbody>
</table></div>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/janegilring.wordpress.com/757/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/janegilring.wordpress.com/757/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/janegilring.wordpress.com/757/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/janegilring.wordpress.com/757/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/janegilring.wordpress.com/757/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/janegilring.wordpress.com/757/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/janegilring.wordpress.com/757/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/janegilring.wordpress.com/757/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/janegilring.wordpress.com/757/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/janegilring.wordpress.com/757/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/janegilring.wordpress.com/757/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/janegilring.wordpress.com/757/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/janegilring.wordpress.com/757/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/janegilring.wordpress.com/757/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.powershell.no&amp;blog=5892504&amp;post=757&amp;subd=janegilring&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://blog.powershell.no/2011/01/09/working-with-active-directory-certificate-services-from-windows-powershell/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/ed08d635415486b87539a6e5a81982b7?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">janegilring</media:title>
		</media:content>

		<media:content url="http://janegilring.files.wordpress.com/2011/01/image_thumb.png" medium="image">
			<media:title type="html">image</media:title>
		</media:content>
	</item>
		<item>
		<title>DFS-R Health Report for SYSVOL</title>
		<link>http://blog.powershell.no/2010/12/30/dfs-r-health-report-for-sysvol/</link>
		<comments>http://blog.powershell.no/2010/12/30/dfs-r-health-report-for-sysvol/#comments</comments>
		<pubDate>Thu, 30 Dec 2010 11:44:02 +0000</pubDate>
		<dc:creator>Jan Egil Ring</dc:creator>
				<category><![CDATA[Active Directory management]]></category>
		<category><![CDATA[DFS-R]]></category>
		<category><![CDATA[Scripting]]></category>
		<category><![CDATA[Windows PowerShell]]></category>
		<category><![CDATA[Windows Server 2008]]></category>
		<category><![CDATA[Windows Server 2008 R2]]></category>
		<category><![CDATA[dfs-r health report]]></category>

		<guid isPermaLink="false">https://janegilring.wordpress.com/2010/12/30/dfs-r-health-report-for-sysvol/</guid>
		<description><![CDATA[Distributed File System Replication (DFS-R) was introduced as a replacement for File Replication Service (FRS) in Windows Server 2008, and was further enhanced in Windows Server 2008 R2. When your domain functional level are set to Windows Server 2008, you have the option to migrate SYSVOL-replication from the deprecated FRS to the new and more [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.powershell.no&amp;blog=5892504&amp;post=742&amp;subd=janegilring&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><a href="http://technet.microsoft.com/en-us/library/cc753479(WS.10).aspx" target="_blank">Distributed File System Replication</a> (DFS-R) was introduced as a replacement for File Replication Service (FRS) in Windows Server 2008, and was further <a href="http://technet.microsoft.com/en-us/library/ee307957(WS.10).aspx" target="_blank">enhanced</a> in Windows Server 2008 R2. When your domain functional level are set to Windows Server 2008, you have the option to migrate SYSVOL-replication from the deprecated FRS to the new and more reliable DFS-R service. A major advantage of using DFS-R over FRS is that FRS copies the whole file when a change are made, while DFS-R only copies the changed bits. This and further details are discussed <a href="http://blogs.technet.com/b/notesfromthefield/archive/2008/04/27/upgrading-your-sysvol-to-dfs-r-replication.aspx" target="_blank">here</a>. I`ve also included some links in the resource section below on how to perform an FRS to DFS-R migration.</p>
<p>Included in the Windows Server 2008 and Windows Server 2008 R2 are the DFS Management-console as well as several command-line tools for administering DFS. A great built-in feature in these tools is the diagnostic reports.</p>
<p>This is available in the DFS Management-console:</p>
<p><a href="http://janegilring.files.wordpress.com/2010/12/image3.png"><img style="background-image:none;padding-left:0;padding-right:0;display:inline;padding-top:0;border-width:0;" title="image" src="http://janegilring.files.wordpress.com/2010/12/image_thumb3.png?w=244&#038;h=70" border="0" alt="image" width="244" height="70" /></a></p>
<p>As well as from the DfsrAdmin.exe command-line tool:</p>
<p><a href="http://janegilring.files.wordpress.com/2010/12/image4.png"><img style="background-image:none;padding-left:0;padding-right:0;display:inline;padding-top:0;border-width:0;" title="image" src="http://janegilring.files.wordpress.com/2010/12/image_thumb4.png?w=239&#038;h=244" border="0" alt="image" width="239" height="244" /></a></p>
<p>Using this feature we can generate an HTML-report containing a great overview of the replication health for the SYSVOL replication group:</p>
<p><a href="http://janegilring.files.wordpress.com/2010/12/image5.png"><img style="padding-top:0;padding-right:0;padding-left:0;display:inline;background-image:none;border-width:0;" title="image" src="http://janegilring.files.wordpress.com/2010/12/image_thumb5.png?w=325&#038;h=84" border="0" alt="image" width="325" height="84" /></a></p>
<p>Any errors and warnings will be shown with detailed explanations. In addition we can view general information and statistics i.e. regarding free diskspace on the domain controllers, bandwith savings and so on (click on the thumbnail to view):</p>
<p><a href="http://janegilring.files.wordpress.com/2010/12/image6.png"><img style="padding-top:0;padding-right:0;padding-left:0;display:inline;background-image:none;border-width:0;" title="image" src="http://janegilring.files.wordpress.com/2010/12/image_thumb6.png?w=331&#038;h=123" border="0" alt="image" width="331" height="123" /></a></p>
<p>Since the reporting feature are available from the DfsrAdmin.exe command-line tool, it makes it easy to set up a script as a scheduled task that also sends the generated report via e-mail i.e. every morning. I`ve published a simple PowerShell-script to accomplish this which is available <a href="http://gallery.technet.microsoft.com/scriptcenter/en-us/10ca8b47-b0ec-4910-bdd7-52ce2d4bca41">here</a>.</p>
<p><strong><span style="font-size:small;">Resources</span></strong></p>
<p><a href="http://technet.microsoft.com/en-us/library/dd640019(WS.10).aspx" target="_blank">SYSVOL Replication Migration Guide: FRS to DFS Replication</a> (Word-version available <a href="http://www.microsoft.com/downloads/details.aspx?displaylang=en&amp;FamilyID=df8e5e84-c6c6-4cef-9dab-304c92299804" target="_blank">here</a>)</p>
<p><a href="http://blogs.technet.com/askds/archive/2008/05/22/verifying-file-replication-during-the-windows-server-2008-dfsr-sysvol-migration-down-and-dirty-style.aspx" target="_blank">Verifying File Replication during the Windows Server 2008 DFSR SYSVOL Migration</a></p>
<p><a href="http://blogs.technet.com/askds/archive/2009/01/05/dfsr-sysvol-migration-faq-useful-trivia-that-may-save-your-follicles.aspx" target="_blank">DFSR SYSVOL Migration FAQ</a></p>
<p><a href="http://blogs.technet.com/b/askds/archive/2009/07/16/configuring-dfsr-to-a-static-port-the-rest-of-the-story.aspx" target="_blank">Configuring DFSR to a Static Port</a></p>
<p><a href="http://blogs.technet.com/b/askds/archive/2010/05/27/frs-to-dfsr-migration-tool-released.aspx" target="_blank">FRS to DFSR Migration Tool</a> (not for SYSVOL migration)</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/janegilring.wordpress.com/742/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/janegilring.wordpress.com/742/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/janegilring.wordpress.com/742/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/janegilring.wordpress.com/742/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/janegilring.wordpress.com/742/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/janegilring.wordpress.com/742/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/janegilring.wordpress.com/742/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/janegilring.wordpress.com/742/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/janegilring.wordpress.com/742/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/janegilring.wordpress.com/742/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/janegilring.wordpress.com/742/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/janegilring.wordpress.com/742/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/janegilring.wordpress.com/742/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/janegilring.wordpress.com/742/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.powershell.no&amp;blog=5892504&amp;post=742&amp;subd=janegilring&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://blog.powershell.no/2010/12/30/dfs-r-health-report-for-sysvol/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/ed08d635415486b87539a6e5a81982b7?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">janegilring</media:title>
		</media:content>

		<media:content url="http://janegilring.files.wordpress.com/2010/12/image_thumb3.png" medium="image">
			<media:title type="html">image</media:title>
		</media:content>

		<media:content url="http://janegilring.files.wordpress.com/2010/12/image_thumb4.png" medium="image">
			<media:title type="html">image</media:title>
		</media:content>

		<media:content url="http://janegilring.files.wordpress.com/2010/12/image_thumb5.png" medium="image">
			<media:title type="html">image</media:title>
		</media:content>

		<media:content url="http://janegilring.files.wordpress.com/2010/12/image_thumb6.png" medium="image">
			<media:title type="html">image</media:title>
		</media:content>
	</item>
		<item>
		<title>Automate Active Directory Migration Tool using Windows PowerShell</title>
		<link>http://blog.powershell.no/2010/08/04/automate-active-directory-migration-tool-using-windows-powershell/</link>
		<comments>http://blog.powershell.no/2010/08/04/automate-active-directory-migration-tool-using-windows-powershell/#comments</comments>
		<pubDate>Wed, 04 Aug 2010 12:27:48 +0000</pubDate>
		<dc:creator>Jan Egil Ring</dc:creator>
				<category><![CDATA[Active Directory management]]></category>
		<category><![CDATA[Migration]]></category>
		<category><![CDATA[Scripting]]></category>
		<category><![CDATA[Windows PowerShell]]></category>
		<category><![CDATA[ADMT]]></category>
		<category><![CDATA[ADMT 3.2]]></category>
		<category><![CDATA[ADMT PowerShell]]></category>
		<category><![CDATA[ADMT script]]></category>

		<guid isPermaLink="false">https://janegilring.wordpress.com/2010/08/04/automate-active-directory-migration-tool-using-windows-powershell/</guid>
		<description><![CDATA[Active Directory Migration Tool (ADMT) provides the ability to restructure Active Directory domain structures. It allows you to migrate users, groups and computers between domains, both intra-forest and inter-forest. Features includes password migration, SID migration and security translation among several others. ADMT was recently released in version 3.2, adding support for Windows Server 2008 R2 [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.powershell.no&amp;blog=5892504&amp;post=582&amp;subd=janegilring&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Active Directory Migration Tool (ADMT) provides the ability to restructure Active Directory domain structures. It allows you to migrate users, groups and computers between domains, both intra-forest and inter-forest. Features includes password migration, SID migration and security translation among several others.<br />
ADMT was recently <a href="http://blogs.technet.com/b/askds/archive/2010/06/19/admt-3-2-released.aspx" target="_blank">released</a> in version 3.2, adding support for Windows Server 2008 R2 and Managed Service Accounts. You can find the download <a href="http://www.microsoft.com/downloads/details.aspx?familyid=20C0DB45-DB16-4D10-99F2-539B7277CCDB&amp;displaylang=en" target="_blank">here</a>, and the ADMT migration guide <a href="http://www.microsoft.com/downloads/details.aspx?familyid=6D710919-1BA5-41CA-B2F3-C11BCB4857AF&amp;displaylang=en" target="_blank">here</a>.</p>
<p>ADMT provides three options on how to use it, where the first and maybe most used is the GUI:</p>
<p><a href="http://janegilring.files.wordpress.com/2010/08/image.png"><img class="wlDisabledImage" style="display:inline;border-width:0;margin:0;" title="image" src="http://janegilring.files.wordpress.com/2010/08/image_thumb.png?w=244&#038;h=227" border="0" alt="image" width="244" height="227" /></a></p>
<p>It`s wizard driven and pretty straightforward to use.<br />
The second option is the admt.exe command line utility:</p>
<p><a href="http://janegilring.files.wordpress.com/2010/08/image1.png"><img class="wlDisabledImage" style="display:inline;border-width:0;" title="image" src="http://janegilring.files.wordpress.com/2010/08/image_thumb1.png?w=383&#038;h=405" border="0" alt="image" width="383" height="405" /></a></p>
<p>In my opinion this is a pretty good example on how inconsistent various command line tools are compared to PowerShell. Although ADMT is a great tool, hopefully the next version will be rebuilt based on PowerShell.</p>
<p>The third option is scripting. There is a COM-object called ADMT.Migration, and there is a sample VB-script (templatescript.vbs) in the ADMT installation directory (by default C:\Windows\ADMT). This sample script is a good place to start to explore how the COM-object works.</p>
<p>Based on this I`ve written a sample PowerShell script, <a href="http://poshcode.org/2046">Invoke-ADMTUserMigration</a>, to migrate user accounts and passwords using Windows PowerShell. This script uses the “ADMTDomain” option, which means that all users from the source OU will be migrated to the target OU. To see other available options, see the ADMT documentation and the sample VBScript. Migrating other objects, like groups and computers, the same way should be pretty easy when comparing Invoke-ADMTUserMigration to templatescript.vbs.</p>
<p>Note that since ADMT is a 32-bit application the script must be run from an x86 instance of Windows PowerShell. It also requires elevated privileges (Run as Administrator). Trying to run it in an x64-bit PowerShell instance or without elevated privileges will result in the following error:<br />
<em>New-Object : Retrieving the COM class factory for component with CLSID {285029CC-5048-4D90-8B38-22D304F513DC} failed du<br />
e to the following error: 80040154.</em></p>
<p>Before trying to run the script I would recommend that you read the ADMT migration guide and ensures that migration works as expected by running a few test migrations from the GUI.</p>
<p>When this is done, I also would recommend to split the migration in batches as recommended in the migration guide. A maximum of 100 objects at a time might be appropriate. Before moving on to the next batch, check the migration logs (by default in C:\Windows\ADMT\Logs) to see that everything went OK before proceeding.</p>
<p>To take this a step further, I`ve created a function, <a href="http://poshcode.org/2048">Migrate-ADMTUser</a>, that migrates a single user object. This would allow you to easily do things like this:<br />
<strong>Get-ADUser -Filter {Company -like &#8220;Oslo&#8221;} | Migrate-ADMTUser</strong></p>
<p>This example combines the Active Directory module for PowerShell with ADMT, allowing us to more fine grained control on what objects to migrate.<br />
Note that both the sample script and sample function I`ve created is meant as a guidance on how to use PowerShell to automate ADMT. The optimal way as I see it would be creating an ADMT PowerShell module with functions for migrate other objects like computers and groups in addition to users and passwords.</p>
<p><span style="font-size:x-small;"><strong>Resources</strong></span></p>
<p><a href="http://blogs.technet.com/b/askds/archive/2010/07/09/admt-3-2-common-installation-issues.aspx" target="_blank">ADMT 3.2: Common Installation Issues</a></p>
<p><a href="http://technet.microsoft.com/en-us/library/cc974332(WS.10).aspx" target="_blank">ADMT Guide: Migrating and Restructuring Active Directory Domains (TechNet-version)</a></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/janegilring.wordpress.com/582/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/janegilring.wordpress.com/582/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/janegilring.wordpress.com/582/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/janegilring.wordpress.com/582/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/janegilring.wordpress.com/582/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/janegilring.wordpress.com/582/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/janegilring.wordpress.com/582/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/janegilring.wordpress.com/582/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/janegilring.wordpress.com/582/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/janegilring.wordpress.com/582/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/janegilring.wordpress.com/582/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/janegilring.wordpress.com/582/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/janegilring.wordpress.com/582/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/janegilring.wordpress.com/582/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.powershell.no&amp;blog=5892504&amp;post=582&amp;subd=janegilring&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://blog.powershell.no/2010/08/04/automate-active-directory-migration-tool-using-windows-powershell/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/ed08d635415486b87539a6e5a81982b7?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">janegilring</media:title>
		</media:content>

		<media:content url="http://janegilring.files.wordpress.com/2010/08/image_thumb.png" medium="image">
			<media:title type="html">image</media:title>
		</media:content>

		<media:content url="http://janegilring.files.wordpress.com/2010/08/image_thumb1.png" medium="image">
			<media:title type="html">image</media:title>
		</media:content>
	</item>
		<item>
		<title>Send text messages (SMS) using Windows PowerShell</title>
		<link>http://blog.powershell.no/2010/07/21/send-text-messages-sms-using-windows-powershell/</link>
		<comments>http://blog.powershell.no/2010/07/21/send-text-messages-sms-using-windows-powershell/#comments</comments>
		<pubDate>Wed, 21 Jul 2010 15:01:41 +0000</pubDate>
		<dc:creator>Jan Egil Ring</dc:creator>
				<category><![CDATA[Active Directory management]]></category>
		<category><![CDATA[Microsoft Outlook]]></category>
		<category><![CDATA[Scripting]]></category>
		<category><![CDATA[Windows PowerShell]]></category>
		<category><![CDATA[powershell send sms]]></category>
		<category><![CDATA[powershell send text message]]></category>
		<category><![CDATA[sms from powershell]]></category>

		<guid isPermaLink="false">https://janegilring.wordpress.com/2010/07/21/send-text-messages-sms-using-windows-powershell/</guid>
		<description><![CDATA[In Microsoft Office Outlook there is an add-in called Microsoft Outlook SMS Add-in (MOSA), which provides the ability to send text messages (SMS). MOSA is builtin to Outlook 2010, and are available as a plugin for Outlook 2003 and 2007 here. On the Microsoft Office Online Help you can find guidance on how to set [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.powershell.no&amp;blog=5892504&amp;post=571&amp;subd=janegilring&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>In Microsoft Office Outlook there is an add-in called Microsoft Outlook SMS Add-in (MOSA), which provides the ability to send text messages (SMS). MOSA is builtin to Outlook 2010, and are available as a plugin for Outlook 2003 and 2007 <a href="http://www.microsoft.com/downloads/details.aspx?familyid=240080b4-986e-4afb-ab21-3af2be63508b&amp;displaylang=en" target="_blank">here</a>.</p>
<p>On the <a href="http://office.microsoft.com/en-gb/outlook-help/send-and-receive-text-messages-sms-HA101823438.aspx" target="_blank">Microsoft Office Online Help</a> you can find guidance on how to set up the service account and sending a text message. To find the necessary settings for your mobile service provider, go <a href="http://messaging.office.microsoft.com/HostingProviders.aspx?src=O14&amp;lc=1033" target="_blank">here</a>.</p>
<p>I looked into the <a href="http://msdn.microsoft.com/en-us/library/ms268893(v=VS.80).aspx" target="_blank">COM-object for Outlook</a>, and it turned out to be rather easy to use this API to send text messages from MOSA.<br />
Based on that I created an <a href="http://technet.microsoft.com/en-us/library/dd315326.aspx" target="_blank">Advanced function</a> in Windows PowerShell v2 called <a href="http://poshcode.org/1999" target="_blank">Send-SMSMessage</a>.</p>
<p>To define the function you can either paste it directly into your session, save it as a ps1 script-file and <a href="http://technet.microsoft.com/en-us/library/ee176949.aspx#ECAA" target="_blank">dot source</a> it, put it into your <a href="http://technet.microsoft.com/en-us/library/ee692764.aspx" target="_blank">profile</a> or into a <a href="http://msdn.microsoft.com/en-us/library/dd901839(VS.85).aspx" target="_blank">module</a>.</p>
<p>When that is accomplished you can find usage information using the consistent Get-Help cmdlet:</p>
<p><a href="http://janegilring.files.wordpress.com/2010/07/image.png"><img class="wlDisabledImage" style="display:inline;border-width:0;" title="image" src="http://janegilring.files.wordpress.com/2010/07/image_thumb.png?w=638&#038;h=531" border="0" alt="image" width="638" height="531" /></a></p>
<p>Sample usage:</p>
<p><a href="http://janegilring.files.wordpress.com/2010/07/image1.png"><img class="wlDisabledImage" style="display:inline;border-width:0;" title="image" src="http://janegilring.files.wordpress.com/2010/07/image_thumb1.png?w=987&#038;h=55" border="0" alt="image" width="987" height="55" /></a></p>
<p>The function checks if Outlook are installed, and breaks out with a warning if not:</p>
<p><a href="http://janegilring.files.wordpress.com/2010/07/image2.png"><img class="wlDisabledImage" style="display:inline;border-width:0;" title="image" src="http://janegilring.files.wordpress.com/2010/07/image_thumb2.png?w=984&#038;h=65" border="0" alt="image" width="984" height="65" /></a></p>
<p>It also checks to see if an account are configured for Text Messaging (SMS):</p>
<p><a href="http://janegilring.files.wordpress.com/2010/07/image3.png"><img class="wlDisabledImage" style="display:inline;border-width:0;" title="image" src="http://janegilring.files.wordpress.com/2010/07/image_thumb3.png?w=986&#038;h=64" border="0" alt="image" width="986" height="64" /></a></p>
<p>Any errors related to service availabilty, correct phonenumber format and so on are handled by the SMS Add-in itself. These error messages appear in the Outlook inbox:</p>
<p><a href="http://janegilring.files.wordpress.com/2010/07/image4.png"><img class="wlDisabledImage" style="display:inline;border-width:0;" title="image" src="http://janegilring.files.wordpress.com/2010/07/image_thumb4.png?w=469&#038;h=216" border="0" alt="image" width="469" height="216" /></a></p>
<p>The function is tested from Outlook 2010 only, but should work from 2003 and 2007 also when MOSA is installed.</p>
<p>Since the function accepts ValueFromPipeline and ValueFromPipelineByPropertyName you can use it in conjunction with e.g. the <a href="http://technet.microsoft.com/en-us/library/ee617195.aspx" target="_blank">Active Directory cmdlets for Windows PowerShell</a>.  A given example of this retrieves all users from Active Directory with a derfined mobilephone number and sends them an SMS with their username:</p>
<p><a href="http://janegilring.files.wordpress.com/2010/07/image5.png"><img class="wlDisabledImage" style="display:inline;border-width:0;" title="image" src="http://janegilring.files.wordpress.com/2010/07/image_thumb5.png?w=988&#038;h=77" border="0" alt="image" width="988" height="77" /></a></p>
<p>Another practical usage scenario I can think of is combining the Send-SMSMessage function with user provisioning, sending the new user it`s new username and password.<br />
Feel free to come up with more usage scenarios in the comment field below.</p>
<p><strong>Bonus tips</strong></p>
<ul>
<li>You can also send MMS messages using the Outlook COM-object. To do this, use “olMobileItemMMS” instead of “olMobileItemSMS” in the following line: $NewMessage = $outlook.CreateItem(&#8220;olMobileItemMMS&#8221;). You should also look into the other properties for MMS messages, like the Attachment-property.</li>
<li>If you got more than one account configured for text messaging, you can use the SendUsingAccount-property to define which account to send from.</li>
<li>If you use the Norwegian mobile service provider Telenor, the “Service Provider URL” in the account settings is <a title="https://telenormobil.no/smapi/services/omsv3_service" href="https://telenormobil.no/smapi/services/omsv3_service">https://telenormobil.no/smapi/services/omsv3_service</a></li>
</ul>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/janegilring.wordpress.com/571/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/janegilring.wordpress.com/571/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/janegilring.wordpress.com/571/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/janegilring.wordpress.com/571/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/janegilring.wordpress.com/571/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/janegilring.wordpress.com/571/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/janegilring.wordpress.com/571/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/janegilring.wordpress.com/571/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/janegilring.wordpress.com/571/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/janegilring.wordpress.com/571/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/janegilring.wordpress.com/571/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/janegilring.wordpress.com/571/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/janegilring.wordpress.com/571/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/janegilring.wordpress.com/571/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.powershell.no&amp;blog=5892504&amp;post=571&amp;subd=janegilring&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://blog.powershell.no/2010/07/21/send-text-messages-sms-using-windows-powershell/feed/</wfw:commentRss>
		<slash:comments>10</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/ed08d635415486b87539a6e5a81982b7?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">janegilring</media:title>
		</media:content>

		<media:content url="http://janegilring.files.wordpress.com/2010/07/image_thumb.png" medium="image">
			<media:title type="html">image</media:title>
		</media:content>

		<media:content url="http://janegilring.files.wordpress.com/2010/07/image_thumb1.png" medium="image">
			<media:title type="html">image</media:title>
		</media:content>

		<media:content url="http://janegilring.files.wordpress.com/2010/07/image_thumb2.png" medium="image">
			<media:title type="html">image</media:title>
		</media:content>

		<media:content url="http://janegilring.files.wordpress.com/2010/07/image_thumb3.png" medium="image">
			<media:title type="html">image</media:title>
		</media:content>

		<media:content url="http://janegilring.files.wordpress.com/2010/07/image_thumb4.png" medium="image">
			<media:title type="html">image</media:title>
		</media:content>

		<media:content url="http://janegilring.files.wordpress.com/2010/07/image_thumb5.png" medium="image">
			<media:title type="html">image</media:title>
		</media:content>
	</item>
		<item>
		<title>Backing up Group Policy Objects using Windows PowerShell</title>
		<link>http://blog.powershell.no/2010/06/15/backing-up-group-policy-objects-using-windows-powershell/</link>
		<comments>http://blog.powershell.no/2010/06/15/backing-up-group-policy-objects-using-windows-powershell/#comments</comments>
		<pubDate>Mon, 14 Jun 2010 23:57:22 +0000</pubDate>
		<dc:creator>Jan Egil Ring</dc:creator>
				<category><![CDATA[Active Directory management]]></category>
		<category><![CDATA[Group Policy]]></category>
		<category><![CDATA[Scripting]]></category>
		<category><![CDATA[Windows 7]]></category>
		<category><![CDATA[Windows PowerShell]]></category>
		<category><![CDATA[Windows Server 2008 R2]]></category>

		<guid isPermaLink="false">https://janegilring.wordpress.com/2010/06/15/backing-up-group-policy-objects-using-windows-powershell/</guid>
		<description><![CDATA[A best practice in domain environments are backing up the Group Policy Objects regularly. Even though a GPO may be restored by restoring a system state backup from a domain controller to an alternate location, and then copy the contents from the deleted GPO to a new GPO to restore the settings, this may be [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.powershell.no&amp;blog=5892504&amp;post=506&amp;subd=janegilring&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>A best practice in domain environments are backing up the Group Policy Objects regularly. Even though a GPO may be restored by restoring a system state backup from a domain controller to an alternate location, and then copy the contents from the deleted GPO to a new GPO to restore the settings, this may be a hazzle since it`s not pretty straightforward. It also requires you to restart the domain controller affected in Directory Services Restore Mode.<br />
PowerShell MVP Don Jones has written a good article on this topic, available <a href="http://redmondmag.com/articles/2010/05/01/back-up-active-directory-and-gpos.aspx" target="_blank">here</a>.</p>
<p>For those of you who may not want to do GPO restore the hard way, or buy a commercial third party product, I would encourage you to schedule regular GPO backups using the Windows PowerShell Group Policy-module available in Windows Server 2008 R2, as well as RSAT in Windows 7.<br />
To accomplish this, I`ve written a small script which backs up all modified GPO`s in the specified timespan. I would generally recommend to have the script run once a day, thereby setting the timespan-variable to the last 24 hours. The script are called Backup-ModifiedGPOs.ps1, and available from <a href="http://poshcode.org/2386" target="_blank">here</a>.</p>
<p>All Group Policy Objects modified in the specified timespan are backup up to the specified backup path.<br />
Also, an HTML-report are created for each GPO-backup, with the unique backup GUID as part of the filename. This way you can easily see what settings each backup contains.</p>
<p>When restoring a GPO, you must first note the GUID of the backup you want to restore. Then you can restore the GPO by using the Restore-GPO cmdlet in the Group Policy-module. Sample usage:</p>
<p><a href="http://janegilring.files.wordpress.com/2010/06/image3.png"><img style="display:inline;border-width:0;" title="image" src="http://janegilring.files.wordpress.com/2010/06/image_thumb3.png?w=644&#038;h=163" border="0" alt="image" width="644" height="163" /></a></p>
<p>Administrators who feels more comfortable working with the GUI, may use the Group Policy Management Console to do the restore.</p>
<p>The following procedure from the <a href="http://technet.microsoft.com/en-us/library/cc754948(WS.10).aspx" target="_blank">Group Policy Planning and Deployment Guide</a> on Microsoft TechNet describes how to accomplish the restore operation from the GUI:</p>
<p><strong><span style="font-size:xx-small;"><span style="font-family:Calibri;"><span style="font-size:x-small;">To view the list of GPO backups</span> </span></span></strong></p>
<ol>
<li><span style="font-family:Calibri;font-size:xx-small;">In the GPMC console tree, expand the forest or domain that contains the GPOs that you want to back up.</span></li>
<li><span style="font-family:Calibri;font-size:xx-small;">Right-click <strong>Group Policy Objects</strong>, and the click <strong>Manage Backups</strong>.</span></li>
<li><span style="font-family:Calibri;font-size:xx-small;">In the <strong>Manage Backups</strong> dialog box, enter the path to the location where you stored the GPO backups that you want to view. Alternatively, you can click <strong>Browse</strong>, locate the folder that contains the GPO backups, and then click <strong>OK</strong>.</span></li>
<li><span style="font-family:Calibri;font-size:xx-small;">To specify that only the most recent version of the GPOs be displayed in the <strong>Backed up GPOs</strong> list, select the <strong>Show only the latest version of each GPO</strong> check box. Click <strong>Close</strong>.</span></li>
</ol>
<p><strong><span style="font-family:Calibri;font-size:x-small;">Using the GPMC to restore GPOs</span></strong></p>
<p><span style="font-family:Calibri;font-size:xx-small;">You can also restore GPOs. This operation restores a backed-up GPO to the same domain from which it was backed up. You cannot restore a GPO from a backup into a domain that is different from the GPO’s original domain.</span></p>
<p><strong><span style="font-size:xx-small;"><span style="font-family:Calibri;"><span style="font-size:x-small;">To restore a previous version of an existing GPO</span> </span></span></strong></p>
<ol>
<li><span style="font-family:Calibri;font-size:xx-small;">In the GPMC console tree, expand <strong>Group Policy Objects</strong> in the forest or domain that contains the GPOs that you want to restore.</span></li>
<li><span style="font-family:Calibri;font-size:xx-small;">Right-click the GPO that you want to restore to a previous version, and then click <strong>Restore from Backup</strong>.</span></li>
<li><span style="font-family:Calibri;font-size:xx-small;">When the <strong>Restore Group Policy Object Wizard</strong> opens, follow the instructions in the wizard, and then click <strong>Finish</strong>.</span></li>
<li><span style="font-family:Calibri;font-size:xx-small;">After the restore operation completes, a summary will state whether the restore succeeded. Click <strong>OK</strong>.</span></li>
</ol>
<p><strong><span style="font-size:xx-small;"><span style="font-family:Calibri;"><span style="font-size:x-small;">To restore a deleted GPO</span> </span></span></strong></p>
<p><strong> </strong></p>
<p><strong> </strong></p>
<p><strong></p>
<ol>
<li><span style="font-family:Calibri;font-size:xx-small;">In the GPMC console tree, expand the forest or domain that contains the GPO that you want to restore.</span></li>
<li><span style="font-family:Calibri;font-size:xx-small;">Right-click <strong>Group Policy Objects</strong>, and then click <strong>Manage Backups</strong>.</span></li>
<li><span style="font-family:Calibri;font-size:xx-small;">In the <strong>Manage Backups </strong>dialog box, click <strong>Browse</strong>, and then locate the file that contains your backed-up GPOs.</span></li>
<li><span style="font-family:Calibri;font-size:xx-small;">In the <strong>Backed up GPOs </strong>list, click the GPO that you want to restore, and then click <strong>Restore</strong>.</span></li>
<li><span style="font-family:Calibri;font-size:xx-small;">When you are prompted to confirm the restore operation, click <strong>OK</strong>.</span></li>
<li><span style="font-family:Calibri;font-size:xx-small;">After the restore operation completes, a summary will state whether the restore succeeded. Click <strong>OK</strong>. Click <strong>Close</strong>.</span></li>
</ol>
<p><strong>Important:</strong> Since Group Policy links are stored on the Organizational Unit objects in Active Directory, this information are not backup up and also not restore. However, the HTML backup-reports contains this information, so you may manually re-link the GPO to the correct OU(s).</p>
<p>Also note that WMI filters and IPSec policies are not backed up by the backup feature in the Group Policy Management Console. For more information on how to manage these items, see the before mentioned Group Policy Planning and Deployment Guide.</p>
<p></strong></p>
<p>&nbsp;</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/janegilring.wordpress.com/506/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/janegilring.wordpress.com/506/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/janegilring.wordpress.com/506/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/janegilring.wordpress.com/506/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/janegilring.wordpress.com/506/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/janegilring.wordpress.com/506/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/janegilring.wordpress.com/506/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/janegilring.wordpress.com/506/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/janegilring.wordpress.com/506/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/janegilring.wordpress.com/506/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/janegilring.wordpress.com/506/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/janegilring.wordpress.com/506/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/janegilring.wordpress.com/506/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/janegilring.wordpress.com/506/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.powershell.no&amp;blog=5892504&amp;post=506&amp;subd=janegilring&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://blog.powershell.no/2010/06/15/backing-up-group-policy-objects-using-windows-powershell/feed/</wfw:commentRss>
		<slash:comments>11</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/ed08d635415486b87539a6e5a81982b7?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">janegilring</media:title>
		</media:content>

		<media:content url="http://janegilring.files.wordpress.com/2010/06/image_thumb3.png" medium="image">
			<media:title type="html">image</media:title>
		</media:content>
	</item>
		<item>
		<title>Dynamic Remote Desktop Connection Manager connection list</title>
		<link>http://blog.powershell.no/2010/06/02/dynamic-remote-desktop-connection-manager-connection-list/</link>
		<comments>http://blog.powershell.no/2010/06/02/dynamic-remote-desktop-connection-manager-connection-list/#comments</comments>
		<pubDate>Wed, 02 Jun 2010 21:51:06 +0000</pubDate>
		<dc:creator>Jan Egil Ring</dc:creator>
				<category><![CDATA[Active Directory management]]></category>
		<category><![CDATA[Remote Desktop Services]]></category>
		<category><![CDATA[Remote Management]]></category>
		<category><![CDATA[RSAT]]></category>
		<category><![CDATA[Scripting]]></category>
		<category><![CDATA[Windows 7]]></category>
		<category><![CDATA[Windows PowerShell]]></category>
		<category><![CDATA[Windows Server 2008 R2]]></category>

		<guid isPermaLink="false">https://janegilring.wordpress.com/2010/06/02/dynamic-remote-desktop-connection-manager-connection-list/</guid>
		<description><![CDATA[Microsoft recently released a free tool for managing multiple remote desktop connections called “Remote Desktop Connection Manager”. A sample screenshot: There are several nice features, such as “Connect group” which lets you connect to all servers in a group at once: On the “Group Properties” you may set common settings for all connections in the [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.powershell.no&amp;blog=5892504&amp;post=501&amp;subd=janegilring&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Microsoft recently released a free tool for managing multiple remote desktop connections called “<a href="http://www.microsoft.com/downloads/details.aspx?displaylang=en&amp;FamilyID=4603c621-6de7-4ccb-9f51-d53dc7e48047" target="_blank">Remote Desktop Connection Manager</a>”.</p>
<p>A sample screenshot:</p>
<p><a href="http://janegilring.files.wordpress.com/2010/06/image.png"><img style="display:inline;border-width:0;" title="image" src="http://janegilring.files.wordpress.com/2010/06/image_thumb.png?w=644&#038;h=192" border="0" alt="image" width="644" height="192" /></a></p>
<p>There are several nice features, such as “Connect group” which lets you connect to all servers in a group at once:</p>
<p><a href="http://janegilring.files.wordpress.com/2010/06/image1.png"><img style="display:inline;border-width:0;" title="image" src="http://janegilring.files.wordpress.com/2010/06/image_thumb1.png?w=244&#038;h=205" border="0" alt="image" width="244" height="205" /></a></p>
<p>On the “Group Properties” you may set common settings for all connections in the group, like logon credentials:</p>
<p><a href="http://janegilring.files.wordpress.com/2010/06/image2.png"><img style="display:inline;border-width:0;" title="image" src="http://janegilring.files.wordpress.com/2010/06/image_thumb2.png?w=501&#038;h=388" border="0" alt="image" width="501" height="388" /></a></p>
<p>Further, there are group properties for RDS Gateway (formerly TS Gateway), display settings, local resources and so on.</p>
<p>There are several applications for remote desktop connections on the market, and some of them got these settings as a per server setting. It`s nice to be able to group servers and configure common settings.</p>
<p><strong><span style="font-size:medium;">Dynamically creating the connection list</span></strong></p>
<p>When you work in larger environments with hundreds, maybe thousands of servers, setting up each connection manually isn`t an option.</p>
<p>Since Remote Desktop Connection Manager stores the config-files in xml-files, it`s rather easy to create dynamic config-files for a domain using Windows PowerShell. I`ve created a script to accomplish this, called New-RDCManFile.ps1, available from <a href="http://gallery.technet.microsoft.com/scriptcenter/en-us/49e6ef43-4ffe-4498-b17f-d7f782e11830">here</a>. It uses Microsoft`s <a href="http://technet.microsoft.com/en-us/library/dd378937(WS.10).aspx" target="_blank">PowerShell-module for Active Directory</a>, which is available in Windows Server 2008 R2 and <a href="http://www.microsoft.com/downloads/details.aspx?FamilyID=7d2f6ad7-656b-4313-a005-4e344e43997d" target="_blank">RSAT for Windows 7</a>.</p>
<p><span style="text-decoration:underline;">The script does the following:</span><br />
Creates a template xml-file<br />
Inserts the logged on user`s domain name in the file properties<br />
Inserts the logged on user`s domain name in the group properties<br />
Inserts the logged on user`s username in the logoncredentials section<br />
Inserts the logged on user`s domain name in the logoncredentials section<br />
Retrieves all computer objects from Active Directory with the word “server” in the operatingsystem property<br />
Adds each computer object as a server object<br />
Saves the XML-file to %userprofile%\domain-name.rdg</p>
<p>When done you can open the rdg-file in Remote Desktop Connection Manager. I would recommend you to insert your password in the Group Properties to avoid being asked for credentials for each connection.</p>
<p>Feel free to customize the script to your needs, in example by editing the XML-template to edit the Group Properties. Another customization might be creating a group for each server OU for enhanced overview in larger environments.</p>
<p>If you would rather use Quest`s <a href="http://www.quest.com/powershell/activeroles-server.aspx" target="_blank">PowerShell Commands for Active Directory</a> (which works on downlevel operatingsystems like Windows XP and Windows Server 2003), or any other way to retrieve the server names, you may customize this on line 110.</p>
<p>You might also want to schedule the script to run on a regular basis, saving the file to a central location. This way the IT personnel will always have access to the latest version with the most recent servers added.</p>
<p>If you got any further ideas or comments, please let me know in the comments section below.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/janegilring.wordpress.com/501/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/janegilring.wordpress.com/501/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/janegilring.wordpress.com/501/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/janegilring.wordpress.com/501/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/janegilring.wordpress.com/501/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/janegilring.wordpress.com/501/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/janegilring.wordpress.com/501/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/janegilring.wordpress.com/501/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/janegilring.wordpress.com/501/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/janegilring.wordpress.com/501/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/janegilring.wordpress.com/501/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/janegilring.wordpress.com/501/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/janegilring.wordpress.com/501/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/janegilring.wordpress.com/501/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.powershell.no&amp;blog=5892504&amp;post=501&amp;subd=janegilring&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://blog.powershell.no/2010/06/02/dynamic-remote-desktop-connection-manager-connection-list/feed/</wfw:commentRss>
		<slash:comments>18</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/ed08d635415486b87539a6e5a81982b7?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">janegilring</media:title>
		</media:content>

		<media:content url="http://janegilring.files.wordpress.com/2010/06/image_thumb.png" medium="image">
			<media:title type="html">image</media:title>
		</media:content>

		<media:content url="http://janegilring.files.wordpress.com/2010/06/image_thumb1.png" medium="image">
			<media:title type="html">image</media:title>
		</media:content>

		<media:content url="http://janegilring.files.wordpress.com/2010/06/image_thumb2.png" medium="image">
			<media:title type="html">image</media:title>
		</media:content>
	</item>
		<item>
		<title>Enable and configure Windows PowerShell Remoting using Group Policy</title>
		<link>http://blog.powershell.no/2010/03/04/enable-and-configure-windows-powershell-remoting-using-group-policy/</link>
		<comments>http://blog.powershell.no/2010/03/04/enable-and-configure-windows-powershell-remoting-using-group-policy/#comments</comments>
		<pubDate>Thu, 04 Mar 2010 13:42:09 +0000</pubDate>
		<dc:creator>Jan Egil Ring</dc:creator>
				<category><![CDATA[Active Directory management]]></category>
		<category><![CDATA[Deployment]]></category>
		<category><![CDATA[Group Policy]]></category>
		<category><![CDATA[Scripting]]></category>
		<category><![CDATA[Windows 7]]></category>
		<category><![CDATA[Windows PowerShell]]></category>
		<category><![CDATA[Windows Server 2003 R2]]></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[Windows PowerShell Remoting]]></category>
		<category><![CDATA[WinRM]]></category>

		<guid isPermaLink="false">http://janegilring.wordpress.com/2010/03/04/enable-and-configure-windows-powershell-remoting-using-group-policy/</guid>
		<description><![CDATA[As you may know, Windows PowerShell 2.0 introduced a new remoting feature, allowing for remote management of computers. While this feature can be enabled manually (or scripted) with the PowerShell 2.0 cmdlet Enable-PSRemoting, I would recommend using Group Policy whenever possible. This guide will show you how this can be accomplished for Windows Vista, Windows [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.powershell.no&amp;blog=5892504&amp;post=436&amp;subd=janegilring&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>As you may know, Windows PowerShell 2.0 introduced a new remoting feature, allowing for remote management of computers.</p>
<p>While this feature can be enabled manually (or scripted) with the PowerShell 2.0 cmdlet <a href="http://technet.microsoft.com/en-us/library/dd819498.aspx">Enable-PSRemoting</a>, I would recommend using Group Policy whenever possible. This guide will show you how this can be accomplished for Windows Vista, Windows Server 2008 and above. For Windows XP and Windows Server 2003, running Enable-PSRemoting in a PowerShell startup script would be the best approach.</p>
<p>Windows PowerShell 2.0 and WinRM 2.0 shipped with Windows 7 and Windows Server 2008 R2. To take advantage of Windows PowerShell Remoting, both of these are required on the downlevel operating systems Windows XP, Windows Server 2003, Windows Vista and Windows Server 2008. Both Windows PowerShell 2.0 and WinRM 2.0 are available for download <a href="http://support.microsoft.com/kb/968929">here</a>, as part of the Windows Management Framework (Windows PowerShell 2.0, WinRM 2.0, and BITS 4.0). To deploy this update to downlevel operating systems I would recommend to use WSUS, which are described in detail in <a href="http://trycatch.be/blogs/roggenk/archive/2010/07/26/deploying-powershell-2-0-in-your-environment.aspx">this</a> blog post by Kurt Roggen.</p>
<p><strong>Group Policy Configuration</strong></p>
<p>Open the Group Policy Management Console from a domain-joined Windows 7 or Windows Server 2008 R2 computer.</p>
<p>Create or use an existing Group Policy Object, open it, and navigate to Computer Configuration-&gt;Policies-&gt;Administrative templates-&gt;Windows Components</p>
<p>Here you will find the available Group Policy settings for Windows PowerShell, WinRM and Windows Remote Shell:</p>
<p><a href="http://janegilring.files.wordpress.com/2010/03/image.png"><img style="display:inline;border-width:0;" title="image" src="http://janegilring.files.wordpress.com/2010/03/image_thumb.png?w=244&#038;h=86" border="0" alt="image" width="244" height="86" /></a></p>
<p>To enable PowerShell Remoting, the only setting we need to configure are found under “WinRM Service”, named “Allow automatic configuration of listeners”:</p>
<p><a href="http://janegilring.files.wordpress.com/2010/03/image1.png"><img style="display:inline;border-width:0;" title="image" src="http://janegilring.files.wordpress.com/2010/03/image_thumb1.png?w=467&#038;h=427" border="0" alt="image" width="467" height="427" /></a></p>
<p>Enable this policy, and configure the IPv4 and IPv6 addresses to listen on. To configure WinRM to listen on all addresses, simply use *.</p>
<p>In addition, the WinRM service are by default not started on Windows client operating systems. To configure the WinRM service to start automatically, navigate to Computer Configuration\Policies\Windows Settings\Security Settings\System Services\Windows Remote Management, doubleclick on Windows Remote Management and configure the service startup mode to &#8220;Automatic&#8221;:</p>
<p>﻿<a href="http://janegilring.files.wordpress.com/2010/03/winrm_startmode.png"><img class="alignnone size-medium wp-image-646" title="WinRM_startmode" src="http://janegilring.files.wordpress.com/2010/03/winrm_startmode.png?w=300&#038;h=278" alt="" width="300" height="278" /></a></p>
<p>No other settings need to be configured, however, I`ve provided screenshots of the other settings so you can see what`s available:</p>
<p><a href="http://janegilring.files.wordpress.com/2010/03/image2.png"><img style="display:inline;border:0;" title="image" src="http://janegilring.files.wordpress.com/2010/03/image_thumb2.png?w=390&#038;h=122" border="0" alt="image" width="390" height="122" /></a></p>
<p><a href="http://janegilring.files.wordpress.com/2010/03/image3.png"><img style="display:inline;border-width:0;" title="image" src="http://janegilring.files.wordpress.com/2010/03/image_thumb3.png?w=543&#038;h=135" border="0" alt="image" width="543" height="135" /></a></p>
<p><a href="http://janegilring.files.wordpress.com/2010/03/image4.png"><img style="display:inline;border-width:0;" title="image" src="http://janegilring.files.wordpress.com/2010/03/image_thumb4.png?w=543&#038;h=149" border="0" alt="image" width="543" height="149" /></a></p>
<p><a href="http://janegilring.files.wordpress.com/2010/03/image5.png"><img style="display:inline;border-width:0;" title="image" src="http://janegilring.files.wordpress.com/2010/03/image_thumb5.png?w=544&#038;h=66" border="0" alt="image" width="544" height="66" /></a></p>
<p>There is one more thing to configure though; the Windows Firewall.</p>
<p>You need to create a new Inbound Rule under Computer Configuration-&gt;Policies-&gt;Windows Settings-&gt;Windows Firewall with Advanced Security-&gt;Windows Firewall with Advanced Security-&gt;Inbound Rules:</p>
<p><a href="http://janegilring.files.wordpress.com/2010/03/image6.png"><img style="display:inline;border-width:0;" title="image" src="http://janegilring.files.wordpress.com/2010/03/image_thumb6.png?w=242&#038;h=244" border="0" alt="image" width="242" height="244" /></a></p>
<p>The WinRM port numbers are predefined as “Windows Remote Management”:</p>
<p><a href="http://janegilring.files.wordpress.com/2010/03/image7.png"><img style="display:inline;border-width:0;" title="image" src="http://janegilring.files.wordpress.com/2010/03/image_thumb7.png?w=521&#038;h=417" border="0" alt="image" width="521" height="417" /></a></p>
<p>With WinRM 2.0, the default http listener port <a href="http://blogs.msdn.com/wmi/archive/2009/07/22/new-default-ports-for-ws-management-and-powershell-remoting.aspx">changed</a> from TCP 80 to TCP 5985. The old port number are a part of the predefined scope for compatibility reasons, and may be excluded if you don`t have any legacy WinRM 1.1 listeners.</p>
<p><a href="http://janegilring.files.wordpress.com/2010/03/image8.png"><img style="display:inline;border-width:0;" title="image" src="http://janegilring.files.wordpress.com/2010/03/image_thumb8.png?w=519&#038;h=415" border="0" alt="image" width="519" height="415" /></a></p>
<p><a href="http://janegilring.files.wordpress.com/2010/03/image9.png"><img style="display:inline;border-width:0;" title="image" src="http://janegilring.files.wordpress.com/2010/03/image_thumb9.png?w=522&#038;h=419" border="0" alt="image" width="522" height="419" /></a></p>
<p>When the rule are created, you may choose to make further restrictions, i.e. to only allow the IP addresses of your management subnet, or perhaps some specific user groups:</p>
<p><a href="http://janegilring.files.wordpress.com/2010/03/image10.png"><img style="display:inline;border-width:0;" title="image" src="http://janegilring.files.wordpress.com/2010/03/image_thumb10.png?w=320&#038;h=420" border="0" alt="image" width="320" height="420" /></a></p>
<p>Now that the firewall rule are configured, we are done with the minimal configuration to enable PowerShell Remoting using Group Policy.</p>
<p><a href="http://janegilring.files.wordpress.com/2010/03/image11.png"><img style="display:inline;border-width:0;" title="image" src="http://janegilring.files.wordpress.com/2010/03/image_thumb11.png?w=644&#038;h=31" border="0" alt="image" width="644" height="31" /></a></p>
<p>On a computer affected by the newly configured Group Policy Object, run gpupdate and see if the settings were applied:</p>
<p><a href="http://janegilring.files.wordpress.com/2010/03/image12.png"><img style="display:inline;border-width:0;" title="image" src="http://janegilring.files.wordpress.com/2010/03/image_thumb12.png?w=591&#038;h=347" border="0" alt="image" width="591" height="347" /></a></p>
<p>As you can see, the listener indicates “Source*”GPO”, meaning it was configured from a Group Policy Object.</p>
<p>When the GPO have been applied to all the affected computers you are ready to test the configuration.</p>
<p>Here is a sample usage of PowerShell Remoting combined with the Active Directory-module for Windows PowerShell:</p>
<p><a href="http://janegilring.files.wordpress.com/2010/03/image13.png"><img style="display:inline;border-width:0;" title="image" src="http://janegilring.files.wordpress.com/2010/03/image_thumb13.png?w=644&#038;h=93" border="0" alt="image" width="644" height="93" /></a></p>
<p>The example are saving all computer objects in the Domain Controller Organization Unit in a variable. Then, a foreach-loop are invoking a scriptblock, returning the status of the Netlogon-service on all of the Domain Controllers.</p>
<p><strong>Summary</strong></p>
<p>We`ve now had a look on how to enable and configure PowerShell Remoting using Group Policy.<br />
There are an incredible number of opportunities opening up with the new Remoting feature in Windows PowerShell 2.0. For a complete walkthrough on how you can use this new feature, I would like to recommend the excellent <a href="http://powershell.com/cs/media/p/4908.aspx">Administrator&#8217;s Guide to Windows PowerShell Remoting</a> written by Dr. Tobias Weltner, Aleksandar Nikolic and Richard Giles.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/janegilring.wordpress.com/436/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/janegilring.wordpress.com/436/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/janegilring.wordpress.com/436/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/janegilring.wordpress.com/436/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/janegilring.wordpress.com/436/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/janegilring.wordpress.com/436/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/janegilring.wordpress.com/436/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/janegilring.wordpress.com/436/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/janegilring.wordpress.com/436/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/janegilring.wordpress.com/436/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/janegilring.wordpress.com/436/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/janegilring.wordpress.com/436/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/janegilring.wordpress.com/436/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/janegilring.wordpress.com/436/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.powershell.no&amp;blog=5892504&amp;post=436&amp;subd=janegilring&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://blog.powershell.no/2010/03/04/enable-and-configure-windows-powershell-remoting-using-group-policy/feed/</wfw:commentRss>
		<slash:comments>17</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/ed08d635415486b87539a6e5a81982b7?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">janegilring</media:title>
		</media:content>

		<media:content url="http://janegilring.files.wordpress.com/2010/03/image_thumb.png" medium="image">
			<media:title type="html">image</media:title>
		</media:content>

		<media:content url="http://janegilring.files.wordpress.com/2010/03/image_thumb1.png" medium="image">
			<media:title type="html">image</media:title>
		</media:content>

		<media:content url="http://janegilring.files.wordpress.com/2010/03/winrm_startmode.png?w=300" medium="image">
			<media:title type="html">WinRM_startmode</media:title>
		</media:content>

		<media:content url="http://janegilring.files.wordpress.com/2010/03/image_thumb2.png" medium="image">
			<media:title type="html">image</media:title>
		</media:content>

		<media:content url="http://janegilring.files.wordpress.com/2010/03/image_thumb3.png" medium="image">
			<media:title type="html">image</media:title>
		</media:content>

		<media:content url="http://janegilring.files.wordpress.com/2010/03/image_thumb4.png" medium="image">
			<media:title type="html">image</media:title>
		</media:content>

		<media:content url="http://janegilring.files.wordpress.com/2010/03/image_thumb5.png" medium="image">
			<media:title type="html">image</media:title>
		</media:content>

		<media:content url="http://janegilring.files.wordpress.com/2010/03/image_thumb6.png" medium="image">
			<media:title type="html">image</media:title>
		</media:content>

		<media:content url="http://janegilring.files.wordpress.com/2010/03/image_thumb7.png" medium="image">
			<media:title type="html">image</media:title>
		</media:content>

		<media:content url="http://janegilring.files.wordpress.com/2010/03/image_thumb8.png" medium="image">
			<media:title type="html">image</media:title>
		</media:content>

		<media:content url="http://janegilring.files.wordpress.com/2010/03/image_thumb9.png" medium="image">
			<media:title type="html">image</media:title>
		</media:content>

		<media:content url="http://janegilring.files.wordpress.com/2010/03/image_thumb10.png" medium="image">
			<media:title type="html">image</media:title>
		</media:content>

		<media:content url="http://janegilring.files.wordpress.com/2010/03/image_thumb11.png" medium="image">
			<media:title type="html">image</media:title>
		</media:content>

		<media:content url="http://janegilring.files.wordpress.com/2010/03/image_thumb12.png" medium="image">
			<media:title type="html">image</media:title>
		</media:content>

		<media:content url="http://janegilring.files.wordpress.com/2010/03/image_thumb13.png" medium="image">
			<media:title type="html">image</media:title>
		</media:content>
	</item>
		<item>
		<title>Articles published on ITPro.no</title>
		<link>http://blog.powershell.no/2010/02/12/articles-published-on-itpro-no/</link>
		<comments>http://blog.powershell.no/2010/02/12/articles-published-on-itpro-no/#comments</comments>
		<pubDate>Fri, 12 Feb 2010 22:47:18 +0000</pubDate>
		<dc:creator>Jan Egil Ring</dc:creator>
				<category><![CDATA[Active Directory management]]></category>
		<category><![CDATA[Exchange Server 2010]]></category>
		<category><![CDATA[Remote Desktop Services]]></category>
		<category><![CDATA[Terminal Services]]></category>
		<category><![CDATA[Windows PowerShell]]></category>

		<guid isPermaLink="false">http://janegilring.wordpress.com/2010/02/12/articles-published-on-itpro-no/</guid>
		<description><![CDATA[Recently I`ve published a few articles on the Norwegian website ITPro.no which might be of interest for the Norwegian readers: Administrasjon av Active Directory med Windows PowerShell Hva er nytt i Microsoft Exchange 2010 Konfigurer Single Sign-On mot Remote Desktop Services<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.powershell.no&amp;blog=5892504&amp;post=391&amp;subd=janegilring&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Recently I`ve published a few articles on the Norwegian website ITPro.no which might be of interest for the Norwegian readers:</p>
<p><a href="http://itpro.no/art/14923.html"><font color="#000000" size="1">Administrasjon av Active Directory med Windows PowerShell</font></a></p>
<p><a href="http://itpro.no/art/14929.html"><font color="#000000" size="1">Hva er nytt i Microsoft Exchange 2010</font></a></p>
<p><a href="http://itpro.no/art/14915.html"><font color="#000000" size="1">Konfigurer Single Sign-On mot Remote Desktop Services</font></a></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/janegilring.wordpress.com/391/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/janegilring.wordpress.com/391/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/janegilring.wordpress.com/391/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/janegilring.wordpress.com/391/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/janegilring.wordpress.com/391/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/janegilring.wordpress.com/391/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/janegilring.wordpress.com/391/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/janegilring.wordpress.com/391/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/janegilring.wordpress.com/391/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/janegilring.wordpress.com/391/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/janegilring.wordpress.com/391/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/janegilring.wordpress.com/391/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/janegilring.wordpress.com/391/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/janegilring.wordpress.com/391/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.powershell.no&amp;blog=5892504&amp;post=391&amp;subd=janegilring&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://blog.powershell.no/2010/02/12/articles-published-on-itpro-no/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/ed08d635415486b87539a6e5a81982b7?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">janegilring</media:title>
		</media:content>
	</item>
		<item>
		<title>Validate SPN mappings using Windows PowerShell</title>
		<link>http://blog.powershell.no/2010/01/28/validate-spn-mappings-using-windows-powershell/</link>
		<comments>http://blog.powershell.no/2010/01/28/validate-spn-mappings-using-windows-powershell/#comments</comments>
		<pubDate>Thu, 28 Jan 2010 11:28:34 +0000</pubDate>
		<dc:creator>Jan Egil Ring</dc:creator>
				<category><![CDATA[Active Directory management]]></category>
		<category><![CDATA[Scripting]]></category>
		<category><![CDATA[Windows PowerShell]]></category>
		<category><![CDATA[duplicate SPN]]></category>
		<category><![CDATA[Service Principal Name]]></category>
		<category><![CDATA[SPN mappings]]></category>

		<guid isPermaLink="false">http://janegilring.wordpress.com/2010/01/28/validate-spn-mappings-using-windows-powershell/</guid>
		<description><![CDATA[&#160; What is a SPN mapping? A Service Principal Name (SPN) mapping allows a service running on an Active Directory computer to be associated with a domain account that are responsible for the management of the service. This allows the use of mutual Kerberos authentication, and an account defined in a SPN mapping are able [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.powershell.no&amp;blog=5892504&amp;post=390&amp;subd=janegilring&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>&#160;</p>
<p><strong><font size="2">What is a SPN mapping?</font></strong></p>
<p>A <a href="http://technet.microsoft.com/en-us/library/cc961723.aspx">Service Principal Name (SPN)</a> mapping allows a service running on an Active Directory computer to be associated with a domain account that are responsible for the management of the service. This allows the use of mutual Kerberos authentication, and an account defined in a SPN mapping are able to request Kerberos tickets on the requesting user`s behalf. Examples of services that uses Kerberos and SPN mappings include SQL Servers, web servers, LDAP servers, Exchange servers and so on.     </p>
<p><strong><font size="2">Validation of SPN mappings</font></strong></p>
<p>A SPN mapping must be unique within an Active Directory domain, and duplicate mappings will result in problems for the involved services.</p>
<p>While the command line tool <a href="http://technet.microsoft.com/en-us/library/cc731241(WS.10).aspx">setspn.exe</a>, which are used for managing SPN mappings also can be used for queries, I wanted to use Windows PowerShell to accomplish this. I`ve put together a script module with two functions:     <br />Resolve-SPN – Resolves the provided SPN mapping     <br />Resolve-AllDuplicateDomainSPNs – Resolves all SPN mappings in the domain and reports duplicate mappings</p>
<p>The script module are available on the TechNet Script Center Gallery, click <a href="http://gallery.technet.microsoft.com/ScriptCenter/en-us/a3cfe63f-7369-403a-afed-5ce03a3bbb21">here</a> for the direct link.</p>
<p>Save the script module as a psm1-file in the following directory: %userprofile%\Documents\WindowsPowerShell\Modules\SPNValidation    <br />&#160; <br />You need to manually create the 3 subfolders under %userprofile%\Documents if they doesn`t exist. </p>
<p>When done, start Windows PowerShell and type the following command:</p>
<p><a href="http://janegilring.files.wordpress.com/2010/01/image15.png"><img style="display:inline;border-width:0;" title="image" border="0" alt="image" src="http://janegilring.files.wordpress.com/2010/01/image_thumb15.png?w=395&#038;h=207" width="395" height="207" /></a> </p>
<p>You should now see the SPNValidation module.    <br />Import the module with the Import-Module cmdlet:</p>
<p><a href="http://janegilring.files.wordpress.com/2010/01/image16.png"><img style="display:inline;border-width:0;" title="image" border="0" alt="image" src="http://janegilring.files.wordpress.com/2010/01/image_thumb16.png?w=456&#038;h=114" width="456" height="114" /></a> </p>
<p>Resolve-AllDuplicateDomainSPNs can be executed without any parameters:</p>
<p><a href="http://janegilring.files.wordpress.com/2010/01/image17.png"><img style="display:inline;border-width:0;" title="image" border="0" alt="image" src="http://janegilring.files.wordpress.com/2010/01/image_thumb17.png?w=578&#038;h=150" width="578" height="150" /></a> </p>
<p>Resolve-SPN has one mandatory parameter: –SPN    <br />Example usage:</p>
<p><a href="http://janegilring.files.wordpress.com/2010/01/image18.png"><img style="display:inline;border-width:0;" title="image" border="0" alt="image" src="http://janegilring.files.wordpress.com/2010/01/image_thumb18.png?w=556&#038;h=201" width="556" height="201" /></a> </p>
</p>
</p>
<p>Note that the PowerShell Active Directory module for Windows   <br />Server 2008 R2 are required, because the Get-ADObject cmdlet are used in one of the script module`s functions.     <br />The PowerShell Active Directory module are also available in <a href="http://www.microsoft.com/downloads/details.aspx?FamilyID=7D2F6AD7-656B-4313-A005-4E344E43997D&amp;displaylang=en">Remote Server Administration Tools (RSAT) for Windows 7</a>.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/janegilring.wordpress.com/390/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/janegilring.wordpress.com/390/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/janegilring.wordpress.com/390/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/janegilring.wordpress.com/390/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/janegilring.wordpress.com/390/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/janegilring.wordpress.com/390/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/janegilring.wordpress.com/390/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/janegilring.wordpress.com/390/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/janegilring.wordpress.com/390/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/janegilring.wordpress.com/390/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/janegilring.wordpress.com/390/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/janegilring.wordpress.com/390/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/janegilring.wordpress.com/390/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/janegilring.wordpress.com/390/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.powershell.no&amp;blog=5892504&amp;post=390&amp;subd=janegilring&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://blog.powershell.no/2010/01/28/validate-spn-mappings-using-windows-powershell/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/ed08d635415486b87539a6e5a81982b7?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">janegilring</media:title>
		</media:content>

		<media:content url="http://janegilring.files.wordpress.com/2010/01/image_thumb15.png" medium="image">
			<media:title type="html">image</media:title>
		</media:content>

		<media:content url="http://janegilring.files.wordpress.com/2010/01/image_thumb16.png" medium="image">
			<media:title type="html">image</media:title>
		</media:content>

		<media:content url="http://janegilring.files.wordpress.com/2010/01/image_thumb17.png" medium="image">
			<media:title type="html">image</media:title>
		</media:content>

		<media:content url="http://janegilring.files.wordpress.com/2010/01/image_thumb18.png" medium="image">
			<media:title type="html">image</media:title>
		</media:content>
	</item>
		<item>
		<title>Automate Group Policy Preferences printer-management using Windows PowerShell</title>
		<link>http://blog.powershell.no/2010/01/18/automate-group-policy-preferences-printer-management-using-windows-powershell-2/</link>
		<comments>http://blog.powershell.no/2010/01/18/automate-group-policy-preferences-printer-management-using-windows-powershell-2/#comments</comments>
		<pubDate>Mon, 18 Jan 2010 13:44:32 +0000</pubDate>
		<dc:creator>Jan Egil Ring</dc:creator>
				<category><![CDATA[Active Directory management]]></category>
		<category><![CDATA[Deployment]]></category>
		<category><![CDATA[Group Policy]]></category>
		<category><![CDATA[Print management]]></category>
		<category><![CDATA[Scripting]]></category>
		<category><![CDATA[Windows PowerShell]]></category>

		<guid isPermaLink="false">http://janegilring.wordpress.com/2010/01/18/automate-group-policy-preferences-printer-management-using-windows-powershell-2/</guid>
		<description><![CDATA[I`ve written a couple of blog posts earlier on Group Policy Preferences and printer deployment using Group Policy. Using Group Policy Preferences is a very flexible way to deploy printer connections. This is also very manageable in smaller environments. What if you got hundreds, or even thousands of printer connections you need to deploy? Do [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.powershell.no&amp;blog=5892504&amp;post=378&amp;subd=janegilring&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I`ve written a couple of blog posts earlier on <a href="http://blog.powershell.no/2009/03/20/group-policy-preferences">Group Policy Preferences</a> and <a href="http://blog.powershell.no/2009/11/08/deploying-printers-using-group-policy/">printer deployment using Group Policy</a>.</p>
<p>Using Group Policy Preferences is a very flexible way to deploy printer connections. This is also very manageable in smaller environments. What if you got hundreds, or even thousands of printer connections you need to deploy? Do you want to sit down and make several thousands of mouse clicks to accomplish the task? There are better alternatives!</p>
<p>Based on SDM Software`s <a href="http://www.sdmsoftware.com/group_policy_scripting.php">Group Policy Automation Engine</a>, I`ve created a script module to handle this. The script module are available from <a href="http://gallery.technet.microsoft.com/ScriptCenter/en-us/df4eae77-c8a9-40f9-b2eb-a7ed9ef7cd2a">this link</a>.</p>
<p>Save the script module as a psm1-file in the following directory: %userprofile%\Documents\WindowsPowerShell\Modules\GPPreferencesPrinters    <br />You need to manually create the 3 subfolders under %userprofile%\Documents if they doesn`t exist.</p>
<p>When done, start Windows PowerShell and type the following command:</p>
<p><a href="http://janegilring.files.wordpress.com/2010/01/image9.png"><img style="display:inline;border-width:0;" title="image" border="0" alt="image" src="http://janegilring.files.wordpress.com/2010/01/image_thumb9.png?w=244&#038;h=95" width="244" height="95" /></a> </p>
<p>You should now see the GPPreferencesPrinters module.    <br />Import the module with the Import-Module cmdlet:</p>
<p><a href="http://janegilring.files.wordpress.com/2010/01/image10.png"><img style="display:inline;border-width:0;" title="image" border="0" alt="image" src="http://janegilring.files.wordpress.com/2010/01/image_thumb10.png?w=644&#038;h=75" width="644" height="75" /></a> </p>
<p>As you can see there are two functions in addition to SDM Software`s cmdlet: Add-GPPreferencesPrinter and Get-GPPreferencesPrinter.</p>
<p>Example 1:</p>
<p><a href="http://janegilring.files.wordpress.com/2010/01/image11.png"><img style="display:inline;border-width:0;" title="image" border="0" alt="image" src="http://janegilring.files.wordpress.com/2010/01/image_thumb11.png?w=644&#038;h=93" width="644" height="93" /></a> </p>
<p>Example 2:</p>
<p>If you got the printers listed in an Excel spreadsheet, save the document in csv-format:</p>
<p><a href="http://janegilring.files.wordpress.com/2010/01/image12.png"><img style="display:inline;border-width:0;" title="image" border="0" alt="image" src="http://janegilring.files.wordpress.com/2010/01/image_thumb12.png?w=244&#038;h=58" width="244" height="58" /></a> </p>
<p>The csv-file may be used like this to import the printer connections:</p>
<p><a href="http://janegilring.files.wordpress.com/2010/01/image13.png"><img style="display:inline;border-width:0;" title="image" border="0" alt="image" src="http://janegilring.files.wordpress.com/2010/01/image_thumb13.png?w=644&#038;h=38" width="644" height="38" /></a> </p>
<p><a href="http://janegilring.files.wordpress.com/2010/01/image14.png"><img style="display:inline;border-width:0;" title="image" border="0" alt="image" src="http://janegilring.files.wordpress.com/2010/01/image_thumb14.png?w=244&#038;h=107" width="244" height="107" /></a> </p>
<p>Additional functions and parameters will later be added to the script module, i.e. Remove-GPPreferencesPrinter and Item-Level Targeting. Note that example usage for Item-Level Targeting are provided in the Group Policy Automation Engine User Manual.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/janegilring.wordpress.com/378/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/janegilring.wordpress.com/378/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/janegilring.wordpress.com/378/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/janegilring.wordpress.com/378/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/janegilring.wordpress.com/378/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/janegilring.wordpress.com/378/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/janegilring.wordpress.com/378/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/janegilring.wordpress.com/378/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/janegilring.wordpress.com/378/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/janegilring.wordpress.com/378/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/janegilring.wordpress.com/378/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/janegilring.wordpress.com/378/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/janegilring.wordpress.com/378/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/janegilring.wordpress.com/378/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.powershell.no&amp;blog=5892504&amp;post=378&amp;subd=janegilring&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://blog.powershell.no/2010/01/18/automate-group-policy-preferences-printer-management-using-windows-powershell-2/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/ed08d635415486b87539a6e5a81982b7?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">janegilring</media:title>
		</media:content>

		<media:content url="http://janegilring.files.wordpress.com/2010/01/image_thumb9.png" medium="image">
			<media:title type="html">image</media:title>
		</media:content>

		<media:content url="http://janegilring.files.wordpress.com/2010/01/image_thumb10.png" medium="image">
			<media:title type="html">image</media:title>
		</media:content>

		<media:content url="http://janegilring.files.wordpress.com/2010/01/image_thumb11.png" medium="image">
			<media:title type="html">image</media:title>
		</media:content>

		<media:content url="http://janegilring.files.wordpress.com/2010/01/image_thumb12.png" medium="image">
			<media:title type="html">image</media:title>
		</media:content>

		<media:content url="http://janegilring.files.wordpress.com/2010/01/image_thumb13.png" medium="image">
			<media:title type="html">image</media:title>
		</media:content>

		<media:content url="http://janegilring.files.wordpress.com/2010/01/image_thumb14.png" medium="image">
			<media:title type="html">image</media:title>
		</media:content>
	</item>
	</channel>
</rss>
