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

<channel>
	<title>Dalle &#38; DXter &#187; Power Shell</title>
	<atom:link href="http://poweradmin.se/blog/tag/power-shell/feed/" rel="self" type="application/rss+xml" />
	<link>http://poweradmin.se/blog</link>
	<description>The Power Administrators</description>
	<lastBuildDate>Wed, 04 Jan 2012 18:18:33 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=</generator>
		<item>
		<title>ADCS Certificate Expiration Report Tool</title>
		<link>http://poweradmin.se/blog/2011/08/09/adcs-certificate-expiration-report-tool/</link>
		<comments>http://poweradmin.se/blog/2011/08/09/adcs-certificate-expiration-report-tool/#comments</comments>
		<pubDate>Tue, 09 Aug 2011 22:10:31 +0000</pubDate>
		<dc:creator>DXter</dc:creator>
				<category><![CDATA[PKI]]></category>
		<category><![CDATA[PowerShell]]></category>
		<category><![CDATA[DXter]]></category>
		<category><![CDATA[Power Shell]]></category>

		<guid isPermaLink="false">http://poweradmin.se/blog/2011/08/09/adcs-certificate-expiration-report-tool/</guid>
		<description><![CDATA[I want to start with a little disclaimer: The real credits for this tool does not really belong to me. This tool is using the really wonderful PSPKI PowerShell module from http://pspki.codeplex.com/ and all credits should go them for making &#8230; <a href="http://poweradmin.se/blog/2011/08/09/adcs-certificate-expiration-report-tool/">Continue reading <span class="meta-nav">&#8594;</span></a>
No related posts.]]></description>
			<content:encoded><![CDATA[
<div class="topsy_widget_data topsy_theme_blue" style="float: right;margin-left: 0.75em; background: url(data:,%7B%20%22url%22%3A%20%22http%253A%252F%252Fpoweradmin.se%252Fblog%252F2011%252F08%252F09%252Fadcs-certificate-expiration-report-tool%252F%22%2C%20%22style%22%3A%20%22big%22%2C%20%22title%22%3A%20%22ADCS%20Certificate%20Expiration%20Report%20Tool%22%20%7D);"></div>
<!-- Start Shareaholic LikeButtonSetTop Automatic --><!-- End Shareaholic LikeButtonSetTop Automatic --><p>I want to start with a little disclaimer: The real credits for this tool does not really belong to me. This tool is using the really wonderful PSPKI PowerShell module from <a title="http://pspki.codeplex.com/" href="http://pspki.codeplex.com/">http://pspki.codeplex.com/</a> and all credits should go them for making this wonderful piece of work public. I just format the output that those cmd-lets provide into a HTML based report.</p>
<p>A very common problem people have with certificates is that they realize that it’s time to renew their certificates… after they have expired! <img style="border-bottom-style: none; border-left-style: none; border-top-style: none; border-right-style: none" class="wlEmoticon wlEmoticon-winkingsmile" alt="Winking smile" src="http://poweradmin.se/blog/wp-content/uploads/wlEmoticon-winkingsmile10.png"></p>
<p>&nbsp;</p>
<p>To be able to get a web based report of the certificates in an ADCS CA that is about to expire within 30 days, I wrote this small script today on the train on my way to work. It accepts two switches, <strong>–computername </strong>of the CA (which defaults to local computer if not specified) and <strong>–reportfile</strong> (defaults to a HTML-file on the current users desktop).</p>
<p>&nbsp;</p>
<p><a href="http://poweradmin.se/blog/wp-content/uploads/image527.png"><img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://poweradmin.se/blog/wp-content/uploads/image_thumb460.png" width="644" height="321"></a></p>
<p><strong>The script can be run locally on the CA if desired.</strong></p>
<p>&nbsp;</p>
<p>This opens up the report.</p>
<p>&nbsp;</p>
<p><a href="http://poweradmin.se/blog/wp-content/uploads/image529.png"><img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://poweradmin.se/blog/wp-content/uploads/image_thumb462.png" width="644" height="393"></a></p>
<p><strong>The report contains all certificates that are expiring within 30 days. This can be edited in the script.</strong></p>
<p>&nbsp;</p>
<p>I want to thank a small group of people for their input during the day.</p>
<p>&nbsp;</p>
<p>Ludwig “Ludde” Nilsson = for cosmetic input regarding the HTML report.</p>
<p>Stefan Schörling = for his support, thoughts and feedback during the development of this script.</p>
<p>Kerim Sidia = for validation of “intelligent” design.</p>
<p>Niklas Goude = for his clever idea regarding detection of the PSPKI module.</p>
<p>Hasain Alshakarti = for a good note about that the filtering is client based (very large ADCS databases will take longer time to process).</p>
<p>&nbsp;</p>
<p>Please note that this is a simple proof of concept and is not done or complete in any way. I will continue to work on this and include many more switches, etc.… but I wanted to show you guys already now what can be done if people share their knowledge and work together.</p>
<p>&nbsp;</p>
<p>The code to the script is embedded below.</p>
<p>&nbsp;</p>
<p>PKI and ADCS is fun, so go out and play! <img style="border-bottom-style: none; border-left-style: none; border-top-style: none; border-right-style: none" class="wlEmoticon wlEmoticon-winkingsmile" alt="Winking smile" src="http://poweradmin.se/blog/wp-content/uploads/wlEmoticon-winkingsmile10.png"></p>
<p>&nbsp;</p>
<p>// Fredrik “DXter” Jonsson</p>
<p>&nbsp;</p>
<p><strong>#ADCS Certificate Expiration Report Tool <br />#Made by Fredrik &#8220;DXter&#8221; Jonsson (dxter@poweradmin.se) 2011-08-09 <br />#</strong><a href="http://www.poweradmin.se"><strong>http://www.poweradmin.se</strong></a></p>
<p><strong>#Get input strings <br />param( <br />&nbsp; [string] $computername = &#8220;$ENV:COMPUTERNAME&#8221;, <br />&nbsp; [string] $reportfile = &#8220;$ENV:USERPROFILE\Desktop\acert_certificate_expiration_report.html&#8221; <br />&nbsp;&nbsp; )</strong></p>
<p><strong>#Start stopwatch <br />$totalTime = New-Object -TypeName System.Diagnostics.Stopwatch <br />$totalTime.Start()</strong></p>
<p><strong>#Credits <br />Write-Host <br />Write-Host &#8220;ADCS Certificate Expiration Report Tool &#8221; -ForegroundColor &#8220;Yellow&#8221; <br />Write-Host &#8220;by Fredrik &#8220;&#8221;DXter&#8221;" Jonsson (dxter@poweradmin.se)&#8221; -ForegroundColor &#8220;Yellow&#8221; <br />Write-Host</strong></p>
<p><strong>if(Get-Module -ListAvailable -Name PKI | Where-Object { $_.name -eq &#8220;PKI&#8221; }) <br />{ <br />#Import PSPKI PowerShell module <br />if(Get-Module -Name PKI | Where-Object { $_.name -eq &#8220;PKI&#8221; }) <br />{ <br />Write-Host &#8220;PSPKI PowerShell module already imported&#8230;&#8221; -ForegroundColor &#8220;Yellow&#8221; <br />} <br />else <br />{ <br />Write-Host &#8220;Importing PSPKI PowerShell module&#8230;&#8221; -ForegroundColor &#8220;Yellow&#8221; <br />Import-Module -Name PKI <br />} <br />Write-Host</strong></p>
<p><strong>#Set variables <br />Write-Host &#8220;Setting variables&#8230;&#8221; -ForegroundColor &#8220;Yellow&#8221; <br />Write-Host <br />$caname = $computername.ToLower() <br />$domaindns = $ENV:USERDNSDOMAIN.ToLower() <br />$todaysdate = Get-Date <br />$findaldate = $todaysdate.AddMonths(1) <br />$htmlpre = &#8220;&lt;P&gt;Generated by user: $ENV:USERNAME&lt;/P&gt;&lt;P&gt;The following certificates expire before $findaldate&lt;/P&gt;&#8221; <br />$htmlpost = &#8220;&lt;P&gt;Certificate expiration information retrived from $caname.$domaindns&lt;/P&gt;&#8221; <br />$htmltitle = &#8220;Certificate expiration information from $caname.$domaindns&#8221; <br />$htmlinput = Get-CertificationAuthority &#8220;$caname.$domaindns&#8221; | Get-IssuedRequest -Filter &#8220;NotAfter -ge $(Get-Date)&#8221;, &#8220;NotAfter -le $((Get-Date).AddMonths(1))&#8221;</strong></p>
<p><strong>#Generate report <br />Write-Host &#8220;Generating report&#8230;&#8221; -ForegroundColor &#8220;Yellow&#8221; <br />Write-Host <br />$htmlinput | ConvertTo-Html -Body (Get-Date) &#8220;Report date:&#8221; -Property RequestID,RequesterName,CommonName,NotBefore,NotAfter,SerialNumber -Pre $htmlpre -Post $htmlpost -Title $htmltitle | Out-File -FilePath $reportfile</strong></p>
<p><strong>#Open report <br />Write-Host &#8220;Opening report&#8230;&#8221; -ForegroundColor &#8220;Yellow&#8221; <br />Write-Host <br />Invoke-Item $reportfile</strong></p>
<p><strong>#Warning if PSPKI is not installed <br />} <br />else <br />{ <br />Write-Host &#8220;PSPKI is not installed. Please install it from </strong><a href="http://pspki.codeplex.com/"><strong>http://pspki.codeplex.com/</strong></a><strong> &#8221; -ForegroundColor &#8220;Yellow&#8221; <br />Write-Host <br />}</strong></p>
<p><strong>#Stop stopwatch <br />$totalTime.Stop() <br />$ts = $totalTime.Elapsed <br />$totalTime = [system.String]::Format(&#8220;{0:00}:{1:00}:{2:00}&#8221;,$ts.Hours, $ts.Minutes, $ts.Seconds) <br />Write-Host &#8220;Process total time: $totalTime&#8221; -ForegroundColor Yellow <br />Write-Host</strong></p>
<div class="shr-publisher-2672"></div><!-- Start Shareaholic LikeButtonSetBottom Automatic --><div style="clear: both; min-height: 1px; height: 3px; width: 100%;"></div><div class='shareaholic-like-buttonset' style='float:none;height:60px;'><a class='shareaholic-fblike' data-shr_layout='box_count' data-shr_showfaces='false' data-shr_href='http%3A%2F%2Fpoweradmin.se%2Fblog%2F2011%2F08%2F09%2Fadcs-certificate-expiration-report-tool%2F' data-shr_title='ADCS+Certificate+Expiration+Report+Tool'></a><a class='shareaholic-fbsend' data-shr_href='http%3A%2F%2Fpoweradmin.se%2Fblog%2F2011%2F08%2F09%2Fadcs-certificate-expiration-report-tool%2F'></a><a class='shareaholic-googleplusone' data-shr_size='tall' data-shr_count='true' data-shr_href='http%3A%2F%2Fpoweradmin.se%2Fblog%2F2011%2F08%2F09%2Fadcs-certificate-expiration-report-tool%2F' data-shr_title='ADCS+Certificate+Expiration+Report+Tool'></a></div><div style="clear: both; min-height: 1px; height: 3px; width: 100%;"></div><!-- End Shareaholic LikeButtonSetBottom Automatic -->
<p>No related posts.</p>]]></content:encoded>
			<wfw:commentRss>http://poweradmin.se/blog/2011/08/09/adcs-certificate-expiration-report-tool/feed/</wfw:commentRss>
		<slash:comments>18</slash:comments>
		</item>
		<item>
		<title>How to remotely check if Base CSP is installed</title>
		<link>http://poweradmin.se/blog/2011/04/15/how-to-remotely-check-if-base-csp-is-installed/</link>
		<comments>http://poweradmin.se/blog/2011/04/15/how-to-remotely-check-if-base-csp-is-installed/#comments</comments>
		<pubDate>Fri, 15 Apr 2011 13:15:41 +0000</pubDate>
		<dc:creator>DXter</dc:creator>
				<category><![CDATA[PKI]]></category>
		<category><![CDATA[DXter]]></category>
		<category><![CDATA[Power Shell]]></category>

		<guid isPermaLink="false">http://poweradmin.se/blog/2011/04/15/how-to-remotely-check-if-base-csp-is-installed/</guid>
		<description><![CDATA[At this TechDays 2011 here in Sweden, I got a question when I was standing in the Swedish Windows Security User Group booth about if there was some easy way to determine if the Microsoft Base CSP (KB909520) is installed &#8230; <a href="http://poweradmin.se/blog/2011/04/15/how-to-remotely-check-if-base-csp-is-installed/">Continue reading <span class="meta-nav">&#8594;</span></a>
No related posts.]]></description>
			<content:encoded><![CDATA[
<div class="topsy_widget_data topsy_theme_blue" style="float: right;margin-left: 0.75em; background: url(data:,%7B%20%22url%22%3A%20%22http%253A%252F%252Fpoweradmin.se%252Fblog%252F2011%252F04%252F15%252Fhow-to-remotely-check-if-base-csp-is-installed%252F%22%2C%20%22shorturl%22%3A%20%22http%3A%2F%2Fbit.ly%2FezNjxb%22%2C%20%22style%22%3A%20%22big%22%2C%20%22title%22%3A%20%22How%20to%20remotely%20check%20if%20Base%20CSP%20is%20installed%22%20%7D);"></div>
<!-- Start Shareaholic LikeButtonSetTop Automatic --><!-- End Shareaholic LikeButtonSetTop Automatic --><p>At this TechDays 2011 here in Sweden, I got a question when I was standing in the Swedish Windows Security User Group booth about if there was some easy way to determine if the Microsoft Base CSP (KB909520) is installed on a machine or not. My instant answer was to try to run pintool.exe since it is a PIN management utility that comes with the Base CSP.</p>
<p>&#160;</p>
<p>However, in Windows Vista and above, even if the Base CSP is included by default, pintool.exe isn’t. This is because this functionality has been merged into the Windows logon screen that is native in Windows.</p>
<p>&#160;</p>
<p>Just for fun, and because of my unusual big amount of spare time a few days ago, I wrote this very small PowerShell script to check if Base CSP is installed on a local or remote machine. The script is doing this regardless if the target computer is running a pre or post Windows Vista operating system, since the script is simply checking if the dll for Base CSP is installed in Windows or not.</p>
<p>&#160;</p>
<p>The reason I am not using the <strong>Get-HotFix</strong> cmd-let that is native in PowerShell is that Base CSP is not available as an hotfix for Vista and later since it is already included. Therefor, it will not show up as an installed hotfix. <img style="border-bottom-style: none; border-left-style: none; border-top-style: none; border-right-style: none" class="wlEmoticon wlEmoticon-winkingsmile" alt="Winking smile" src="http://poweradmin.se/blog/wp-content/uploads/wlEmoticon-winkingsmile7.png" /></p>
<p>&#160;</p>
<p>The reason that I am checking for that file and not the Gemalto .NET mini driver (that is also a part of KB909520) is that the axaltocm.dll mini driver for the Gemalto .NET cards might be installed, but not always. In Windows XP, Windows Server 2003, Windows Vista and Windows Server 2008, it is installed by default with the Base CSP. But it is not installed be default in Windows 7 and Windows Server 2008 R2!</p>
<p>&#160;</p>
<p>This is because the mini drivers for smartcards are dynamically installed when needed from Windows Update through the smartcard plug and play feature in Windows 7 and Windows Server 2008 R2. (You have to enable it on 2008 R2. It is disabled by default for security reasons.)</p>
<p>&#160;</p>
<p>The script relies on two quite basic components, remote access to the C$ share of the computer and that it is responding to ping to be able to check if the machine is available on the network or not. If you don’t like this, simply remove that part from the code. <img style="border-bottom-style: none; border-left-style: none; border-top-style: none; border-right-style: none" class="wlEmoticon wlEmoticon-smile" alt="Smile" src="http://poweradmin.se/blog/wp-content/uploads/wlEmoticon-smile9.png" /></p>
<p>&#160;</p>
<p>&#160;</p>
<p><a href="http://poweradmin.se/blog/wp-content/uploads/image499.png"><img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://poweradmin.se/blog/wp-content/uploads/image_thumb432.png" width="644" height="327" /></a></p>
<p><strong>If no input for the computer parameter is given, the script will default on localhost.</strong></p>
<p><strong>&#160;</strong></p>
<p>&#160;</p>
<p><strong>&#160;</strong></p>
<p><strong></strong></p>
<p><strong></strong></p>
<p><strong></strong></p>
<p><a href="http://poweradmin.se/blog/wp-content/uploads/image500.png"><img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://poweradmin.se/blog/wp-content/uploads/image_thumb433.png" width="644" height="327" /></a></p>
<p><strong>Here we try to check the computer SRV0042. It is not responding to ping and is assumed to be offline.</strong></p>
<p><strong></strong></p>
<p><strong></strong></p>
<p>&#160;</p>
<p>&#160;</p>
<p>If you need to distribute the Base CSP through WSUS, I wrote a blog post about for a year ago: <a title="http://poweradmin.se/blog/2010/01/15/distributing-the-base-csp-for-windows-xp-with-wsus/" href="http://poweradmin.se/blog/2010/01/15/distributing-the-base-csp-for-windows-xp-with-wsus/">http://poweradmin.se/blog/2010/01/15/distributing-the-base-csp-for-windows-xp-with-wsus/</a></p>
<p>&#160;</p>
<p>My dear friend Hasain tipped me about the following one liner to list all installed CSP’s in Windows with PowerShell. Sometimes the coolest things are both short, easy and brilliant, even if you don’t think about them. <img style="border-bottom-style: none; border-left-style: none; border-top-style: none; border-right-style: none" class="wlEmoticon wlEmoticon-smile" alt="Smile" src="http://poweradmin.se/blog/wp-content/uploads/wlEmoticon-smile9.png" /></p>
<p><strong>Get-ChildItem HKLM:\SOFTWARE\Microsoft\Cryptography\Defaults\Provider | Format-List</strong></p>
<p>&#160;</p>
<p>The script can be found below. Enjoy! <img style="border-bottom-style: none; border-left-style: none; border-top-style: none; border-right-style: none" class="wlEmoticon wlEmoticon-winkingsmile" alt="Winking smile" src="http://poweradmin.se/blog/wp-content/uploads/wlEmoticon-winkingsmile7.png" /></p>
<p>&#160;</p>
<p>// Fredrik “DXter” Jonsson</p>
<p><strong></strong></p>
<p><strong></strong></p>
<p><strong>#Get input strings      <br />param(       <br />&#160; [string] $computer = &quot;localhost&quot;       <br />&#160;&#160; )       <br />.$ENV:SystemRoot\System32\ping.exe -n 1 $computer | Out-Null       <br />if ($? -eq $True)       <br />{       <br />if (Test-Path -Path &quot;\\$computer\C$\Windows\System32\basecsp.dll&quot;)       <br />{       <br />&#160;&#160;&#160; Write-Host       <br />&#160;&#160;&#160; Write-Host &quot;Microsoft Base CSP is installed on $computer!&quot; -ForegroundColor Green       <br />&#160;&#160;&#160; Write-Host       <br />}       <br />else       <br />{       <br />&#160;&#160;&#160; Write-Host       <br />&#160;&#160;&#160; Write-Host &quot;Microsoft Base CSP is not installed on $computer!&quot; -ForegroundColor Red       <br />&#160;&#160;&#160; Write-Host       <br />}       <br />}       <br />else       <br />{       <br />&#160;&#160;&#160; Write-Host       <br />&#160;&#160;&#160; Write-Host &quot;$computer is not available!&quot; -ForegroundColor Red       <br />&#160;&#160;&#160; Write-Host       <br />}</strong></p>
<div class="shr-publisher-2526"></div><!-- Start Shareaholic LikeButtonSetBottom Automatic --><div style="clear: both; min-height: 1px; height: 3px; width: 100%;"></div><div class='shareaholic-like-buttonset' style='float:none;height:60px;'><a class='shareaholic-fblike' data-shr_layout='box_count' data-shr_showfaces='false' data-shr_href='http%3A%2F%2Fpoweradmin.se%2Fblog%2F2011%2F04%2F15%2Fhow-to-remotely-check-if-base-csp-is-installed%2F' data-shr_title='How+to+remotely+check+if+Base+CSP+is+installed'></a><a class='shareaholic-fbsend' data-shr_href='http%3A%2F%2Fpoweradmin.se%2Fblog%2F2011%2F04%2F15%2Fhow-to-remotely-check-if-base-csp-is-installed%2F'></a><a class='shareaholic-googleplusone' data-shr_size='tall' data-shr_count='true' data-shr_href='http%3A%2F%2Fpoweradmin.se%2Fblog%2F2011%2F04%2F15%2Fhow-to-remotely-check-if-base-csp-is-installed%2F' data-shr_title='How+to+remotely+check+if+Base+CSP+is+installed'></a></div><div style="clear: both; min-height: 1px; height: 3px; width: 100%;"></div><!-- End Shareaholic LikeButtonSetBottom Automatic -->
<p>No related posts.</p>]]></content:encoded>
			<wfw:commentRss>http://poweradmin.se/blog/2011/04/15/how-to-remotely-check-if-base-csp-is-installed/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>My PowerShell based certificate viewer</title>
		<link>http://poweradmin.se/blog/2011/01/20/my-powershell-based-certificate-viewer/</link>
		<comments>http://poweradmin.se/blog/2011/01/20/my-powershell-based-certificate-viewer/#comments</comments>
		<pubDate>Thu, 20 Jan 2011 22:31:09 +0000</pubDate>
		<dc:creator>DXter</dc:creator>
				<category><![CDATA[PKI]]></category>
		<category><![CDATA[PowerShell Blogs]]></category>
		<category><![CDATA[DXter]]></category>
		<category><![CDATA[Power Shell]]></category>

		<guid isPermaLink="false">http://poweradmin.se/blog/2011/01/20/my-powershell-based-certificate-viewer/</guid>
		<description><![CDATA[For some time now, I have been a little bit tired of certmgr.msc, the certificate management MMC-snap in. Not only by the fact that a user needs local administrator rights to be able to open it (because MMC itself needs &#8230; <a href="http://poweradmin.se/blog/2011/01/20/my-powershell-based-certificate-viewer/">Continue reading <span class="meta-nav">&#8594;</span></a>
No related posts.]]></description>
			<content:encoded><![CDATA[
<div class="topsy_widget_data topsy_theme_blue" style="float: right;margin-left: 0.75em; background: url(data:,%7B%20%22url%22%3A%20%22http%253A%252F%252Fpoweradmin.se%252Fblog%252F2011%252F01%252F20%252Fmy-powershell-based-certificate-viewer%252F%22%2C%20%22style%22%3A%20%22big%22%2C%20%22title%22%3A%20%22My%20PowerShell%20based%20certificate%20viewer%22%20%7D);"></div>
<!-- Start Shareaholic LikeButtonSetTop Automatic --><!-- End Shareaholic LikeButtonSetTop Automatic --><p>For some time now, I have been a little bit tired of certmgr.msc, the certificate management MMC-snap in.</p>
<p>Not only by the fact that a user needs local administrator rights to be able to open it (because MMC itself needs it),&#160; but it also doesn&#8217;t show info about if certificates are on smartcards or not and it does not have a quick command for the computer certificate store, etc.…</p>
<p>&#160;</p>
<p>So instead of just whining, I decided to create my own certificate viewer in PowerShell (which does NOT need any elevation). <img style="border-bottom-style: none; border-left-style: none; border-top-style: none; border-right-style: none" class="wlEmoticon wlEmoticon-winkingsmile" alt="Winking smile" src="http://poweradmin.se/blog/wp-content/uploads/wlEmoticon-winkingsmile5.png" /></p>
<p>&#160;</p>
<p>Hereby, I present my own certificate viewer. <img style="border-bottom-style: none; border-left-style: none; border-top-style: none; border-right-style: none" class="wlEmoticon wlEmoticon-smile" alt="Smile" src="http://poweradmin.se/blog/wp-content/uploads/wlEmoticon-smile5.png" /></p>
<p>&#160;</p>
<p><a href="http://poweradmin.se/blog/wp-content/uploads/image462.png"><img style="background-image: none; border-right-width: 0px; margin: ; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://poweradmin.se/blog/wp-content/uploads/image_thumb396.png" width="430" height="484" /></a></p>
<p><strong>My PowerShell script only needs one parameter and that is the thumbprint of the certificate you want to view (wildcards are accepted).</strong></p>
<p>&#160;</p>
<p>&#160;</p>
<p>The script will search both the current users and the local computers personal certificate store until the certificate is found. You will see output such as if the certificate is stored on a smartcard, if it has been exported, which CSP it is using, what key container it is stored in, etc.…</p>
<p>&#160;</p>
<p>Not enough info? Well, run the script in an elevated PowerShell prompt instead and check the output of that then! <img style="border-bottom-style: none; border-left-style: none; border-top-style: none; border-right-style: none" class="wlEmoticon wlEmoticon-winkingsmile" alt="Winking smile" src="http://poweradmin.se/blog/wp-content/uploads/wlEmoticon-winkingsmile5.png" /></p>
<p>&#160;</p>
<p>The script can be found in the <a href="http://poweradmin.se/blog/download/?did=9">download section</a>! Enjoy! <img style="border-bottom-style: none; border-left-style: none; border-top-style: none; border-right-style: none" class="wlEmoticon wlEmoticon-smile" alt="Smile" src="http://poweradmin.se/blog/wp-content/uploads/wlEmoticon-smile5.png" /></p>
<p>&#160;</p>
<p>// Fredrik “DXter” Jonsson</p>
<div class="shr-publisher-2288"></div><!-- Start Shareaholic LikeButtonSetBottom Automatic --><div style="clear: both; min-height: 1px; height: 3px; width: 100%;"></div><div class='shareaholic-like-buttonset' style='float:none;height:60px;'><a class='shareaholic-fblike' data-shr_layout='box_count' data-shr_showfaces='false' data-shr_href='http%3A%2F%2Fpoweradmin.se%2Fblog%2F2011%2F01%2F20%2Fmy-powershell-based-certificate-viewer%2F' data-shr_title='My+PowerShell+based+certificate+viewer'></a><a class='shareaholic-fbsend' data-shr_href='http%3A%2F%2Fpoweradmin.se%2Fblog%2F2011%2F01%2F20%2Fmy-powershell-based-certificate-viewer%2F'></a><a class='shareaholic-googleplusone' data-shr_size='tall' data-shr_count='true' data-shr_href='http%3A%2F%2Fpoweradmin.se%2Fblog%2F2011%2F01%2F20%2Fmy-powershell-based-certificate-viewer%2F' data-shr_title='My+PowerShell+based+certificate+viewer'></a></div><div style="clear: both; min-height: 1px; height: 3px; width: 100%;"></div><!-- End Shareaholic LikeButtonSetBottom Automatic -->
<p>No related posts.</p>]]></content:encoded>
			<wfw:commentRss>http://poweradmin.se/blog/2011/01/20/my-powershell-based-certificate-viewer/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Automated certificate management in ADFS using PowerShell</title>
		<link>http://poweradmin.se/blog/2011/01/12/automated-certificate-management-in-adfs-using-powershell/</link>
		<comments>http://poweradmin.se/blog/2011/01/12/automated-certificate-management-in-adfs-using-powershell/#comments</comments>
		<pubDate>Wed, 12 Jan 2011 11:56:25 +0000</pubDate>
		<dc:creator>DXter</dc:creator>
				<category><![CDATA[PKI]]></category>
		<category><![CDATA[ADFS]]></category>
		<category><![CDATA[DXter]]></category>
		<category><![CDATA[Power Shell]]></category>
		<category><![CDATA[PowerShell 2.0]]></category>
		<category><![CDATA[PowerShell Blogs]]></category>

		<guid isPermaLink="false">http://poweradmin.se/blog/2011/01/12/automated-certificate-management-in-adfs-using-powershell/</guid>
		<description><![CDATA[Now don’t get me wrong, I absolutely love ADFS. I think is a great way to enable single sign on and federated login on a per application basis using existing identities in your infrastructure. However, the only thing I don’t &#8230; <a href="http://poweradmin.se/blog/2011/01/12/automated-certificate-management-in-adfs-using-powershell/">Continue reading <span class="meta-nav">&#8594;</span></a>
No related posts.]]></description>
			<content:encoded><![CDATA[
<div class="topsy_widget_data topsy_theme_blue" style="float: right;margin-left: 0.75em; background: url(data:,%7B%20%22url%22%3A%20%22http%253A%252F%252Fpoweradmin.se%252Fblog%252F2011%252F01%252F12%252Fautomated-certificate-management-in-adfs-using-powershell%252F%22%2C%20%22style%22%3A%20%22big%22%2C%20%22title%22%3A%20%22Automated%20certificate%20management%20in%20ADFS%20using%20PowerShell%22%20%7D);"></div>
<!-- Start Shareaholic LikeButtonSetTop Automatic --><!-- End Shareaholic LikeButtonSetTop Automatic --><p>Now don’t get me wrong, I absolutely love ADFS. I think is a great way to enable single sign on and federated login on a per application basis using existing identities in your infrastructure. However, the only thing I don’t like about ADFS is the management of its certificates. <img style="border-bottom-style: none; border-left-style: none; border-top-style: none; border-right-style: none" class="wlEmoticon wlEmoticon-smilewithtongueout" alt="Smile with tongue out" src="http://poweradmin.se/blog/wp-content/uploads/wlEmoticon-smilewithtongueout.png" /></p>
<p>&#160;</p>
<p>&#160;</p>
<p>Now that might be a strange thing for a guy like me to say, but I see much improvement potential with the certificate management part in ADFS.</p>
<p>&#160;</p>
<p>&#160;</p>
<p>Certificate management for the certificates is disabled by default (you need to enable it through PowerShell), ADFS require a SAN attribute in the certificate that is the same as the CN (why, I don’t know), the Service-Communications certificate does not get updated in the ADFS site in IIS when you change it, ADFS itself has no certificate enrollment capabilities unlike other server roles that utilize certificates such as IIS or ADDS, the ADFS context (by default) does not have access to the certificates private keys giving multiple errors in the event viewer, etc..</p>
<p>&#160;</p>
<p>&#160;</p>
<p>And it does not get better by the fact that the ADFS help in PowerShell has errors in it (the help says the parameter is <strong>Token-Encryption</strong>, which is wrong, it is called <strong>Token-Decryption</strong>)! <img style="border-bottom-style: none; border-left-style: none; border-top-style: none; border-right-style: none" class="wlEmoticon wlEmoticon-winkingsmile" alt="Winking smile" src="http://poweradmin.se/blog/wp-content/uploads/wlEmoticon-winkingsmile4.png" /></p>
<p>&#160;</p>
<p>&#160;</p>
<p>Yesterday when I was on the train on my way to work I decided to play around a little with PowerShell and ADFS. And since I knew that there was quite many cmd-lets for ADFS that comes with the ADFS 2.0 role, there just had to be some scripting possibilities here! <img style="border-bottom-style: none; border-left-style: none; border-top-style: none; border-right-style: none" class="wlEmoticon wlEmoticon-openmouthedsmile" alt="Open-mouthed smile" src="http://poweradmin.se/blog/wp-content/uploads/wlEmoticon-openmouthedsmile2.png" /></p>
<p>&#160;</p>
<p>&#160;</p>
<p>So I wrote a script that automatically adds and sets a specific certificate for ADFS different purposes and it also updates the SSL-binding in IIS for the Service-Communications website. Everything is done with native cmd-lets for ADFS 2.0, IIS and Windows Server 2008 R2.</p>
<p>&#160;</p>
<p>&#160;</p>
<p><a href="http://poweradmin.se/blog/wp-content/uploads/01.jpg"><img style="background-image: none; border-right-width: 0px; margin: ; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="01" border="0" alt="01" src="http://poweradmin.se/blog/wp-content/uploads/01_thumb.jpg" width="644" height="290" /></a></p>
<p><strong>Before the execution of the script. Notice the self signed decryption and signing certificates that comes by default and that they are the primary certificates.</strong></p>
<p><strong>&#160;</strong></p>
<p><strong>&#160;</strong></p>
<p><strong></strong></p>
<p><strong></strong></p>
<p><strong></strong></p>
<p><a href="http://poweradmin.se/blog/wp-content/uploads/image461.png"><img style="background-image: none; border-bottom: 0px; border-left: 0px; margin: ; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://poweradmin.se/blog/wp-content/uploads/image_thumb395.png" width="644" height="428" /></a></p>
<p><strong>The script executes with only one necessary parameter, and that is the exact thumbprint of the certificate in the computers certificate store you want to use for Token-Signing, Token-Decryption and Service-Communications. It also restarts both the ADFS service and the IIS service when it is done with its configuration in each service.</strong></p>
<p><strong>&#160;</strong></p>
<p><strong>&#160;</strong></p>
<p><strong></strong></p>
<p><strong></strong></p>
<p><strong></strong></p>
<p><a href="http://poweradmin.se/blog/wp-content/uploads/03.jpg"><img style="background-image: none; border-right-width: 0px; margin: ; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="03" border="0" alt="03" src="http://poweradmin.se/blog/wp-content/uploads/03_thumb.jpg" width="644" height="290" /></a></p>
<p><strong>After the script has executed, a new certificate with common name adfs1.poweradmin.se is the primary token-decryption, token-signing and service communications certificate! <img style="border-bottom-style: none; border-left-style: none; border-top-style: none; border-right-style: none" class="wlEmoticon wlEmoticon-openmouthedsmile" alt="Open-mouthed smile" src="http://poweradmin.se/blog/wp-content/uploads/wlEmoticon-openmouthedsmile2.png" /></strong></p>
<p><strong>&#160;</strong></p>
<p><strong>&#160;</strong></p>
<p><strong></strong></p>
<p><strong></strong></p>
<p><strong></strong></p>
<p><a href="http://poweradmin.se/blog/wp-content/uploads/04.jpg"><img style="background-image: none; border-right-width: 0px; margin: ; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="04" border="0" alt="04" src="http://poweradmin.se/blog/wp-content/uploads/04_thumb.jpg" width="244" height="134" /></a></p>
<p><strong>And if we take a look at the ADFS website in IIS, the script has also changed the SSL-binding for that website! </strong><img style="border-bottom-style: none; border-left-style: none; border-top-style: none; border-right-style: none" class="wlEmoticon wlEmoticon-winkingsmile" alt="Winking smile" src="http://poweradmin.se/blog/wp-content/uploads/wlEmoticon-winkingsmile4.png" /></p>
<p>&#160;</p>
<p>The script can be found in the <a href="http://poweradmin.se/blog/download/?did=8">download section</a>! Enjoy! <img style="border-bottom-style: none; border-left-style: none; border-top-style: none; border-right-style: none" class="wlEmoticon wlEmoticon-smile" alt="Smile" src="http://poweradmin.se/blog/wp-content/uploads/wlEmoticon-smile4.png" /></p>
<p>&#160;</p>
<p>// Fredrik “DXter” Jonsson</p>
<div class="shr-publisher-2280"></div><!-- Start Shareaholic LikeButtonSetBottom Automatic --><div style="clear: both; min-height: 1px; height: 3px; width: 100%;"></div><div class='shareaholic-like-buttonset' style='float:none;height:60px;'><a class='shareaholic-fblike' data-shr_layout='box_count' data-shr_showfaces='false' data-shr_href='http%3A%2F%2Fpoweradmin.se%2Fblog%2F2011%2F01%2F12%2Fautomated-certificate-management-in-adfs-using-powershell%2F' data-shr_title='Automated+certificate+management+in+ADFS+using+PowerShell'></a><a class='shareaholic-fbsend' data-shr_href='http%3A%2F%2Fpoweradmin.se%2Fblog%2F2011%2F01%2F12%2Fautomated-certificate-management-in-adfs-using-powershell%2F'></a><a class='shareaholic-googleplusone' data-shr_size='tall' data-shr_count='true' data-shr_href='http%3A%2F%2Fpoweradmin.se%2Fblog%2F2011%2F01%2F12%2Fautomated-certificate-management-in-adfs-using-powershell%2F' data-shr_title='Automated+certificate+management+in+ADFS+using+PowerShell'></a></div><div style="clear: both; min-height: 1px; height: 3px; width: 100%;"></div><!-- End Shareaholic LikeButtonSetBottom Automatic -->
<p>No related posts.</p>]]></content:encoded>
			<wfw:commentRss>http://poweradmin.se/blog/2011/01/12/automated-certificate-management-in-adfs-using-powershell/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>Automated boot image management in MDT 2010 and WDS using PowerShell</title>
		<link>http://poweradmin.se/blog/2010/07/25/automated-boot-image-management-in-mdt-2010-and-wds-using-powershell/</link>
		<comments>http://poweradmin.se/blog/2010/07/25/automated-boot-image-management-in-mdt-2010-and-wds-using-powershell/#comments</comments>
		<pubDate>Sun, 25 Jul 2010 12:32:07 +0000</pubDate>
		<dc:creator>DXter</dc:creator>
				<category><![CDATA[Deployment]]></category>
		<category><![CDATA[PowerShell Blogs]]></category>
		<category><![CDATA[DXter]]></category>
		<category><![CDATA[MDT 2010]]></category>
		<category><![CDATA[Power Shell]]></category>

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

		<guid isPermaLink="false">http://poweradmin.se/blog/2010/06/02/pki-view-is-no-longer-a-supported-way-for-ca-decommission/</guid>
		<description><![CDATA[Thanks to my post http://poweradmin.se/blog/2010/05/08/pkiview-msc-doesnt-say-the-entire-truth and the great, open and quick communication between myself and Microsoft, PKI View is no longer a part of KB889250, which is the step by step guide for CA decommission. I really salute Microsoft for &#8230; <a href="http://poweradmin.se/blog/2010/06/02/pki-view-is-no-longer-a-supported-way-for-ca-decommission/">Continue reading <span class="meta-nav">&#8594;</span></a>
No related posts.]]></description>
			<content:encoded><![CDATA[
<div class="topsy_widget_data topsy_theme_blue" style="float: right;margin-left: 0.75em; background: url(data:,%7B%20%22url%22%3A%20%22http%253A%252F%252Fpoweradmin.se%252Fblog%252F2010%252F06%252F02%252Fpki-view-is-no-longer-a-supported-way-for-ca-decommission%252F%22%2C%20%22style%22%3A%20%22big%22%2C%20%22title%22%3A%20%22PKI%20View%20is%20no%20longer%20a%20supported%20way%20for%20CA%20decommission%22%20%7D);"></div>
<!-- Start Shareaholic LikeButtonSetTop Automatic --><!-- End Shareaholic LikeButtonSetTop Automatic --><p>Thanks to my post <a title="http://poweradmin.se/blog/2010/05/08/pkiview-msc-doesnt-say-the-entire-truth" href="http://poweradmin.se/blog/2010/05/08/pkiview-msc-doesnt-say-the-entire-truth">http://poweradmin.se/blog/2010/05/08/pkiview-msc-doesnt-say-the-entire-truth</a> and the great, open and quick communication between myself and Microsoft, PKI View is no longer a part of <a title="http://support.microsoft.com/kb/889250" href="http://support.microsoft.com/kb/889250">KB889250</a>, which is the step by step guide for CA decommission. I really salute Microsoft for listening to the communities (such as blogs <img src='http://poweradmin.se/blog/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> ) and removes references in KB’s that have unexpected behaviors and may cause confusion for people! Kudos to you guys! <img src='http://poweradmin.se/blog/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
<p>&#160;</p>
<p>I guess it is back to hardcore, old school stuff again with ldifde.exe, dssite.msc and adsiedit.msc when it comes to CA decommissions, which is just fine with me! <img src='http://poweradmin.se/blog/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /> </p>
<p>&#160;</p>
<p>Who knows? Maybe two guys will make a very nice PowerShell based GUI for managing the Public Key Services container using the Cmd-Lets for Active Directory in Windows Server 2008 R2? Time will tell… <img src='http://poweradmin.se/blog/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
<p>&#160;</p>
<p>// Fredrik “DXter” Jonsson</p>
<div class="shr-publisher-2025"></div><!-- Start Shareaholic LikeButtonSetBottom Automatic --><div style="clear: both; min-height: 1px; height: 3px; width: 100%;"></div><div class='shareaholic-like-buttonset' style='float:none;height:60px;'><a class='shareaholic-fblike' data-shr_layout='box_count' data-shr_showfaces='false' data-shr_href='http%3A%2F%2Fpoweradmin.se%2Fblog%2F2010%2F06%2F02%2Fpki-view-is-no-longer-a-supported-way-for-ca-decommission%2F' data-shr_title='PKI+View+is+no+longer+a+supported+way+for+CA+decommission'></a><a class='shareaholic-fbsend' data-shr_href='http%3A%2F%2Fpoweradmin.se%2Fblog%2F2010%2F06%2F02%2Fpki-view-is-no-longer-a-supported-way-for-ca-decommission%2F'></a><a class='shareaholic-googleplusone' data-shr_size='tall' data-shr_count='true' data-shr_href='http%3A%2F%2Fpoweradmin.se%2Fblog%2F2010%2F06%2F02%2Fpki-view-is-no-longer-a-supported-way-for-ca-decommission%2F' data-shr_title='PKI+View+is+no+longer+a+supported+way+for+CA+decommission'></a></div><div style="clear: both; min-height: 1px; height: 3px; width: 100%;"></div><!-- End Shareaholic LikeButtonSetBottom Automatic -->
<p>No related posts.</p>]]></content:encoded>
			<wfw:commentRss>http://poweradmin.se/blog/2010/06/02/pki-view-is-no-longer-a-supported-way-for-ca-decommission/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Pkiview.msc doesn&#039;t say the entire truth&#8230;</title>
		<link>http://poweradmin.se/blog/2010/05/08/pkiview-msc-doesnt-say-the-entire-truth/</link>
		<comments>http://poweradmin.se/blog/2010/05/08/pkiview-msc-doesnt-say-the-entire-truth/#comments</comments>
		<pubDate>Sat, 08 May 2010 09:56:45 +0000</pubDate>
		<dc:creator>DXter</dc:creator>
				<category><![CDATA[News]]></category>
		<category><![CDATA[PKI]]></category>
		<category><![CDATA[DXter]]></category>
		<category><![CDATA[Power Shell]]></category>

		<guid isPermaLink="false">http://poweradmin.se/blog/2010/05/08/pkiview-msc-doesnt-say-the-entire-truth/</guid>
		<description><![CDATA[I guess I am not the only one that usually removes old PKI stuff from the Public Key Container in Active Directory with pkiview.msc. &#160; However, recently I discovered something that kind of bothered me. I was working with a &#8230; <a href="http://poweradmin.se/blog/2010/05/08/pkiview-msc-doesnt-say-the-entire-truth/">Continue reading <span class="meta-nav">&#8594;</span></a>
No related posts.]]></description>
			<content:encoded><![CDATA[
<div class="topsy_widget_data topsy_theme_blue" style="float: right;margin-left: 0.75em; background: url(data:,%7B%20%22url%22%3A%20%22http%253A%252F%252Fpoweradmin.se%252Fblog%252F2010%252F05%252F08%252Fpkiview-msc-doesnt-say-the-entire-truth%252F%22%2C%20%22style%22%3A%20%22big%22%2C%20%22title%22%3A%20%22Pkiview.msc%20doesn%26%23039%3Bt%20say%20the%20entire%20truth%26%238230%3B%22%20%7D);"></div>
<!-- Start Shareaholic LikeButtonSetTop Automatic --><!-- End Shareaholic LikeButtonSetTop Automatic --><p>I guess I am not the only one that usually removes old PKI stuff from the Public Key Container in Active Directory with pkiview.msc.</p>
<p>&#160;</p>
<p>However, recently I discovered something that kind of bothered me. I was working with a customer of mine, and I was removing some stuff in sites and services regarding a decommissioned DC and I by curiosity open the Public Key Services container to take a look at it. I found three objects in the KRA Container and I decided to take a look at them with pkiview.msc since it presents PKI related objects in Active Directory in a much nice way than Sites and Services. But you can imagine my face expression when pkiview.msc reported the container as empty! <img src='http://poweradmin.se/blog/wp-includes/images/smilies/icon_sad.gif' alt=':(' class='wp-smiley' /> </p>
<p>&#160;</p>
<p>As you guys must understand, I just had to reproduce this “bug”. <img src='http://poweradmin.se/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>&#160;</p>
<p>So this morning, I installed a virtual Windows Server 2008 R2 Standard Edition in a isolated environment and made it a DC for the domain wtf.poweradmin.se.</p>
<p>&#160;</p>
<p>I also made it an Enterprise Root CA for the same domain. After that, I started by confirming that the KRA object was located in that container. There are multiple ways to look at the PKI information in Active Directory but I decided to use five of them for this test. <img src='http://poweradmin.se/blog/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
<p>&#160;</p>
<p>I started with adsiedit.msc:</p>
<p><a href="http://poweradmin.se/blog/wp-content/uploads/image406.png"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://poweradmin.se/blog/wp-content/uploads/image_thumb340.png" width="644" height="379" /></a> </p>
<p><strong>ADSI Edit clearly shows that we have a object in the KRA container.</strong></p>
<p>&#160;</p>
<p>&#160;</p>
<p>Then I decided to try dssite.msc:</p>
<p><a href="http://poweradmin.se/blog/wp-content/uploads/image407.png"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://poweradmin.se/blog/wp-content/uploads/image_thumb341.png" width="644" height="338" /></a> </p>
<p><strong>Sites and Services also displays our object in the KRA container (if we show services nodes).</strong></p>
<p><strong>&#160;</strong></p>
<p><strong>&#160;</strong></p>
<p>A third option is to use a LDAP using ldifde:</p>
<p><a href="http://poweradmin.se/blog/wp-content/uploads/image414.png"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://poweradmin.se/blog/wp-content/uploads/image_thumb348.png" width="644" height="321" /></a> </p>
<p><strong>It writes out entries to a text file, and if we look at that text file…</strong></p>
<p><strong>&#160;</strong></p>
<p><strong>&#160;</strong></p>
<p><a href="http://poweradmin.se/blog/wp-content/uploads/image415.png"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://poweradmin.se/blog/wp-content/uploads/image_thumb349.png" width="644" height="369" /></a> </p>
<p><strong>… we can actually see the same info that both ADSI Edit and Sites And Services has provided us earlier.</strong></p>
<p>&#160;</p>
<p>&#160;</p>
<p>Our fourth option is to query Active Directory with the Active Directory Module for PowerShell:</p>
<p><a href="http://poweradmin.se/blog/wp-content/uploads/image416.png"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://poweradmin.se/blog/wp-content/uploads/image_thumb350.png" width="644" height="321" /></a> </p>
<p><strong>PowerShell also shows us our object in the KRA container.</strong></p>
<p>&#160;</p>
<p>&#160;</p>
<p>Now, what does the fifth option, pkiview.msc, say about the KRA container? Well…</p>
<p><a href="http://poweradmin.se/blog/wp-content/uploads/image410.png"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://poweradmin.se/blog/wp-content/uploads/image_thumb344.png" width="475" height="484" /></a> </p>
<p><strong>… according to Manage AD Containers in PKI View, the KRA Container is empty.</strong></p>
<p>&#160;</p>
<p>I recommend you guys that have removed objects of decommissioned CA’s with the “Manage AD containers” in PKI View: Look again in the KRA Container with ADSI Edit, Sites And Services, LDAP or PowerShell. You might find something interesting left behind. <img src='http://poweradmin.se/blog/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
<p>&#160;</p>
<p><strong>Update: </strong><a title="http://poweradmin.se/blog/2010/06/02/pki-view-is-no-longer-a-supported-way-for-ca-decommission/" href="http://poweradmin.se/blog/2010/06/02/pki-view-is-no-longer-a-supported-way-for-ca-decommission/"><strong>http://poweradmin.se/blog/2010/06/02/pki-view-is-no-longer-a-supported-way-for-ca-decommission/</strong></a></p>
<p>&#160;</p>
<p>// Fredrik “DXter” Jonsson</p>
<div class="shr-publisher-1983"></div><!-- Start Shareaholic LikeButtonSetBottom Automatic --><div style="clear: both; min-height: 1px; height: 3px; width: 100%;"></div><div class='shareaholic-like-buttonset' style='float:none;height:60px;'><a class='shareaholic-fblike' data-shr_layout='box_count' data-shr_showfaces='false' data-shr_href='http%3A%2F%2Fpoweradmin.se%2Fblog%2F2010%2F05%2F08%2Fpkiview-msc-doesnt-say-the-entire-truth%2F' data-shr_title='Pkiview.msc+doesn%26%23039%3Bt+say+the+entire+truth%26%238230%3B'></a><a class='shareaholic-fbsend' data-shr_href='http%3A%2F%2Fpoweradmin.se%2Fblog%2F2010%2F05%2F08%2Fpkiview-msc-doesnt-say-the-entire-truth%2F'></a><a class='shareaholic-googleplusone' data-shr_size='tall' data-shr_count='true' data-shr_href='http%3A%2F%2Fpoweradmin.se%2Fblog%2F2010%2F05%2F08%2Fpkiview-msc-doesnt-say-the-entire-truth%2F' data-shr_title='Pkiview.msc+doesn%26%23039%3Bt+say+the+entire+truth%26%238230%3B'></a></div><div style="clear: both; min-height: 1px; height: 3px; width: 100%;"></div><!-- End Shareaholic LikeButtonSetBottom Automatic -->
<p>No related posts.</p>]]></content:encoded>
			<wfw:commentRss>http://poweradmin.se/blog/2010/05/08/pkiview-msc-doesnt-say-the-entire-truth/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Revealing your WLAN password using netsh and PowerShell</title>
		<link>http://poweradmin.se/blog/2010/03/14/revealing-your-wlan-password-using-netsh-and-powershell/</link>
		<comments>http://poweradmin.se/blog/2010/03/14/revealing-your-wlan-password-using-netsh-and-powershell/#comments</comments>
		<pubDate>Sun, 14 Mar 2010 11:50:10 +0000</pubDate>
		<dc:creator>DXter</dc:creator>
				<category><![CDATA[News]]></category>
		<category><![CDATA[DXter]]></category>
		<category><![CDATA[PKI]]></category>
		<category><![CDATA[Power Shell]]></category>
		<category><![CDATA[Wireless]]></category>

		<guid isPermaLink="false">http://poweradmin.se/blog/2010/03/14/revealing-your-wlan-password-using-netsh-and-powershell/</guid>
		<description><![CDATA[I have for a very long time tried to explain to people that network security using pre shared keys is a false feeling of security (you should look at PKI based solutions instead )! Many people seems to think that &#8230; <a href="http://poweradmin.se/blog/2010/03/14/revealing-your-wlan-password-using-netsh-and-powershell/">Continue reading <span class="meta-nav">&#8594;</span></a>
No related posts.]]></description>
			<content:encoded><![CDATA[
<div class="topsy_widget_data topsy_theme_blue" style="float: right;margin-left: 0.75em; background: url(data:,%7B%20%22url%22%3A%20%22http%253A%252F%252Fpoweradmin.se%252Fblog%252F2010%252F03%252F14%252Frevealing-your-wlan-password-using-netsh-and-powershell%252F%22%2C%20%22style%22%3A%20%22big%22%2C%20%22title%22%3A%20%22Revealing%20your%20WLAN%20password%20using%20netsh%20and%20PowerShell%22%20%7D);"></div>
<!-- Start Shareaholic LikeButtonSetTop Automatic --><!-- End Shareaholic LikeButtonSetTop Automatic --><p>I have for a very long time tried to explain to people that network security using pre shared keys is a false feeling of security (you should look at PKI based solutions instead <img src='http://poweradmin.se/blog/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> )! Many people seems to think that you must have one of those evil hacking tools (that your antivirus probably will detect) to be able to get your password for your WLAN from your computer in a clear text format. But that is incorrect, we can actually do this with built in tools in Windows. <img src='http://poweradmin.se/blog/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /> </p>
<p>&#160;</p>
<p>For example, the following one liner is using netsh to reveal your WLAN password and is using PowerShell to sort out the security information and dumps it into a text file in the folder that your are executing the command. This command should be executed in an elevated PowerShell prompt.</p>
<p>&#160;</p>
<p><strong>netsh wlan show profiles name=&quot;the_name_of_your_network_profile_which_is_usually_the_ssid&quot; key=clear | Select-Object -last 8 | Out-File -Filepath .\wlan_security_settings.txt</strong></p>
<p>&#160;</p>
<p>// Fredrik “DXter” Jonsson</p>
<div class="shr-publisher-1825"></div><!-- Start Shareaholic LikeButtonSetBottom Automatic --><div style="clear: both; min-height: 1px; height: 3px; width: 100%;"></div><div class='shareaholic-like-buttonset' style='float:none;height:60px;'><a class='shareaholic-fblike' data-shr_layout='box_count' data-shr_showfaces='false' data-shr_href='http%3A%2F%2Fpoweradmin.se%2Fblog%2F2010%2F03%2F14%2Frevealing-your-wlan-password-using-netsh-and-powershell%2F' data-shr_title='Revealing+your+WLAN+password+using+netsh+and+PowerShell'></a><a class='shareaholic-fbsend' data-shr_href='http%3A%2F%2Fpoweradmin.se%2Fblog%2F2010%2F03%2F14%2Frevealing-your-wlan-password-using-netsh-and-powershell%2F'></a><a class='shareaholic-googleplusone' data-shr_size='tall' data-shr_count='true' data-shr_href='http%3A%2F%2Fpoweradmin.se%2Fblog%2F2010%2F03%2F14%2Frevealing-your-wlan-password-using-netsh-and-powershell%2F' data-shr_title='Revealing+your+WLAN+password+using+netsh+and+PowerShell'></a></div><div style="clear: both; min-height: 1px; height: 3px; width: 100%;"></div><!-- End Shareaholic LikeButtonSetBottom Automatic -->
<p>No related posts.</p>]]></content:encoded>
			<wfw:commentRss>http://poweradmin.se/blog/2010/03/14/revealing-your-wlan-password-using-netsh-and-powershell/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>Three ways to kill and avoid KB976002 (The Microsoft Browser Choice Screen)</title>
		<link>http://poweradmin.se/blog/2010/03/11/three-ways-to-kill-and-avoid-kb976002-the-microsoft-browser-choice-screen/</link>
		<comments>http://poweradmin.se/blog/2010/03/11/three-ways-to-kill-and-avoid-kb976002-the-microsoft-browser-choice-screen/#comments</comments>
		<pubDate>Thu, 11 Mar 2010 18:25:04 +0000</pubDate>
		<dc:creator>DXter</dc:creator>
				<category><![CDATA[News]]></category>
		<category><![CDATA[DXter]]></category>
		<category><![CDATA[Firefox]]></category>
		<category><![CDATA[Internet Explorer 8]]></category>
		<category><![CDATA[Power Shell]]></category>
		<category><![CDATA[windows]]></category>

		<guid isPermaLink="false">http://poweradmin.se/blog/2010/03/11/three-ways-to-kill-and-avoid-kb976002-the-microsoft-browser-choice-screen/</guid>
		<description><![CDATA[I am not a very big fan of KB976002, the Microsoft Browser Choice Screen. Here are three ways to prevent it to appear on your computers: &#160; 1. The cmd way: reg add HKLM\Software\BrowserChoice /v Enable /t REG_DWORD /d 0&#215;00000000 &#8230; <a href="http://poweradmin.se/blog/2010/03/11/three-ways-to-kill-and-avoid-kb976002-the-microsoft-browser-choice-screen/">Continue reading <span class="meta-nav">&#8594;</span></a>
No related posts.]]></description>
			<content:encoded><![CDATA[
<div class="topsy_widget_data topsy_theme_blue" style="float: right;margin-left: 0.75em; background: url(data:,%7B%20%22url%22%3A%20%22http%253A%252F%252Fpoweradmin.se%252Fblog%252F2010%252F03%252F11%252Fthree-ways-to-kill-and-avoid-kb976002-the-microsoft-browser-choice-screen%252F%22%2C%20%22style%22%3A%20%22big%22%2C%20%22title%22%3A%20%22Three%20ways%20to%20kill%20and%20avoid%20KB976002%20%28The%20Microsoft%20Browser%20Choice%20Screen%29%22%20%7D);"></div>
<!-- Start Shareaholic LikeButtonSetTop Automatic --><!-- End Shareaholic LikeButtonSetTop Automatic --><p>I am not a very big fan of <a href="http://support.microsoft.com/kb/976002">KB976002</a>, the Microsoft Browser Choice Screen. Here are three ways to prevent it to appear on your computers:</p>
<p>&#160;</p>
<p>1. The cmd way:</p>
<p><strong>reg add HKLM\Software\BrowserChoice /v Enable /t REG_DWORD /d 0&#215;00000000 /f</strong></p>
<p>&#160;</p>
<p>&#160;</p>
<p>2. The VB.NET way:</p>
<p><strong>Public Module Registry      <br />Public Sub Main() </strong></p>
<p><strong>My.Computer.Registry.SetValue(&quot;HKEY_LOCAL_MACHINE\Software\BrowserChoice&quot;, &quot;Enable&quot;, &quot;0&quot;, Microsoft.Win32.RegistryValueKind.DWord) </strong></p>
<p><strong>End Sub      <br />End Module</strong></p>
<p>&#160;</p>
<p>&#160;</p>
<p>3. The PowerShell way:</p>
<p><strong>Set-ItemProperty -path ‘HKLM:\Software\BrowserChoice’ -name ‘Enable’ -type ‘DWord’ -value ‘0‘</strong></p>
<p><strong>&#160;</strong></p>
<p><strong>&#160;</strong></p>
<p>An interesting fact however is that <a href="http://support.microsoft.com/kb/976002">KB976002</a> can not yet be found in WSUS. I wonder if it will ever show up? <img src='http://poweradmin.se/blog/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
<p>&#160;</p>
<p>&#160;</p>
<p>// Fredrik “DXter” Jonsson</p>
<div class="shr-publisher-1813"></div><!-- Start Shareaholic LikeButtonSetBottom Automatic --><div style="clear: both; min-height: 1px; height: 3px; width: 100%;"></div><div class='shareaholic-like-buttonset' style='float:none;height:60px;'><a class='shareaholic-fblike' data-shr_layout='box_count' data-shr_showfaces='false' data-shr_href='http%3A%2F%2Fpoweradmin.se%2Fblog%2F2010%2F03%2F11%2Fthree-ways-to-kill-and-avoid-kb976002-the-microsoft-browser-choice-screen%2F' data-shr_title='Three+ways+to+kill+and+avoid+KB976002+%28The+Microsoft+Browser+Choice+Screen%29'></a><a class='shareaholic-fbsend' data-shr_href='http%3A%2F%2Fpoweradmin.se%2Fblog%2F2010%2F03%2F11%2Fthree-ways-to-kill-and-avoid-kb976002-the-microsoft-browser-choice-screen%2F'></a><a class='shareaholic-googleplusone' data-shr_size='tall' data-shr_count='true' data-shr_href='http%3A%2F%2Fpoweradmin.se%2Fblog%2F2010%2F03%2F11%2Fthree-ways-to-kill-and-avoid-kb976002-the-microsoft-browser-choice-screen%2F' data-shr_title='Three+ways+to+kill+and+avoid+KB976002+%28The+Microsoft+Browser+Choice+Screen%29'></a></div><div style="clear: both; min-height: 1px; height: 3px; width: 100%;"></div><!-- End Shareaholic LikeButtonSetBottom Automatic -->
<p>No related posts.</p>]]></content:encoded>
			<wfw:commentRss>http://poweradmin.se/blog/2010/03/11/three-ways-to-kill-and-avoid-kb976002-the-microsoft-browser-choice-screen/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>The story continues</title>
		<link>http://poweradmin.se/blog/2009/12/22/the-story-continues/</link>
		<comments>http://poweradmin.se/blog/2009/12/22/the-story-continues/#comments</comments>
		<pubDate>Tue, 22 Dec 2009 19:25:32 +0000</pubDate>
		<dc:creator>Dalle</dc:creator>
				<category><![CDATA[PowerShell Blogs]]></category>
		<category><![CDATA[Active Directory]]></category>
		<category><![CDATA[Power Shell]]></category>

		<guid isPermaLink="false">http://poweradmin.se/blog/2009/12/22/the-story-continues/</guid>
		<description><![CDATA[Hi, I sat down thinking a little bit today. And then It strikes me that the Lab AD was not finished and that It was not done by best practice. So I will do the structure from this document from &#8230; <a href="http://poweradmin.se/blog/2009/12/22/the-story-continues/">Continue reading <span class="meta-nav">&#8594;</span></a>
No related posts.]]></description>
			<content:encoded><![CDATA[
<div class="topsy_widget_data topsy_theme_blue" style="float: right;margin-left: 0.75em; background: url(data:,%7B%20%22url%22%3A%20%22http%253A%252F%252Fpoweradmin.se%252Fblog%252F2009%252F12%252F22%252Fthe-story-continues%252F%22%2C%20%22style%22%3A%20%22big%22%2C%20%22title%22%3A%20%22The%20story%20continues%22%20%7D);"></div>
<!-- Start Shareaholic LikeButtonSetTop Automatic --><!-- End Shareaholic LikeButtonSetTop Automatic --><p>Hi,</p>
<p>I sat down thinking a little bit today.   <br />And then It strikes me that the Lab AD was not finished    <br />and that It was not done by best practice.</p>
<p>So I will do the structure from this document from Microsoft,   <br /><a href="http://technet.microsoft.com/en-us/library/bb727085.aspx#EFAA">Best Practice Active Directory Design for Managing Windows Networks</a>.</p>
<p>And then we need to:</p>
<ol>
<li>Create groups</li>
<li>Computers</li>
<li>OU Information</li>
</ol>
<p>Then I think we are where we should be.</p>
<p>&#160;</p>
<div style="padding-bottom: 0px; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; float: none; padding-top: 0px" id="scid:0767317B-992E-4b12-91E0-4F059A8CECA8:5ed36225-a7c8-4b20-8b32-1d80a54b5f82" class="wlWriterEditableSmartContent">Technorati Tags: <a href="http://technorati.com/tags/Power+Shell" rel="tag">Power Shell</a>,<a href="http://technorati.com/tags/Active+Directory" rel="tag">Active Directory</a></div>
<div class="shr-publisher-1246"></div><!-- Start Shareaholic LikeButtonSetBottom Automatic --><div style="clear: both; min-height: 1px; height: 3px; width: 100%;"></div><div class='shareaholic-like-buttonset' style='float:none;height:60px;'><a class='shareaholic-fblike' data-shr_layout='box_count' data-shr_showfaces='false' data-shr_href='http%3A%2F%2Fpoweradmin.se%2Fblog%2F2009%2F12%2F22%2Fthe-story-continues%2F' data-shr_title='The+story+continues'></a><a class='shareaholic-fbsend' data-shr_href='http%3A%2F%2Fpoweradmin.se%2Fblog%2F2009%2F12%2F22%2Fthe-story-continues%2F'></a><a class='shareaholic-googleplusone' data-shr_size='tall' data-shr_count='true' data-shr_href='http%3A%2F%2Fpoweradmin.se%2Fblog%2F2009%2F12%2F22%2Fthe-story-continues%2F' data-shr_title='The+story+continues'></a></div><div style="clear: both; min-height: 1px; height: 3px; width: 100%;"></div><!-- End Shareaholic LikeButtonSetBottom Automatic -->
<p>No related posts.</p>]]></content:encoded>
			<wfw:commentRss>http://poweradmin.se/blog/2009/12/22/the-story-continues/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
	</channel>
</rss>

