<?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>Shariq Sheikh &#124; Port 389</title>
	<atom:link href="http://www.shariqsheikh.com/blog/index.php/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.shariqsheikh.com/blog</link>
	<description>- activity of Active Directory and the rest</description>
	<lastBuildDate>Thu, 22 Jul 2010 17:01:56 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>Hyper-V R2 Component Architecture</title>
		<link>http://www.shariqsheikh.com/blog/index.php/201007/hyper-v-r2-component-architecture/</link>
		<comments>http://www.shariqsheikh.com/blog/index.php/201007/hyper-v-r2-component-architecture/#comments</comments>
		<pubDate>Tue, 20 Jul 2010 21:38:56 +0000</pubDate>
		<dc:creator>Rick</dc:creator>
				<category><![CDATA[Hyper-V]]></category>
		<category><![CDATA[Posters]]></category>

		<guid isPermaLink="false">http://www.shariqsheikh.com/blog/index.php/201007/hyper-v-r2-component-architecture/</guid>
		<description><![CDATA[Another architectural poster from Microsoft that highlights the Hyper-V R2 components and features. You may download it from here.]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.shariqsheikh.com/blog/index.php/base/posters/">Another architectural poster</a> from Microsoft that highlights the Hyper-V R2 components and features.</p>
<p><a href="http://www.shariqsheikh.com/blog/wp-content/uploads/2010/07/HyperVR2.png"><img style="display: inline; border: 0px;" title="Hyper-V-R2" src="http://www.shariqsheikh.com/blog/wp-content/uploads/2010/07/HyperVR2_thumb.png" border="0" alt="Hyper-V-R2" width="1028" height="616" /></a></p>
<p>You may download it from <a href="http://download.microsoft.com/download/C/A/9/CA9292AD-3A33-4984-A9CF-82B08FCEFE77/WindowsServer2008R2Hyper-VComponentArchitecture.pdf">here</a>.</p>
<p><a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save?linkurl=http%3A%2F%2Fwww.shariqsheikh.com%2Fblog%2Findex.php%2F201007%2Fhyper-v-r2-component-architecture%2F&amp;linkname=Hyper-V%20R2%20Component%20Architecture">Share/Bookmark</a> </p>]]></content:encoded>
			<wfw:commentRss>http://www.shariqsheikh.com/blog/index.php/201007/hyper-v-r2-component-architecture/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Reviewing few very useful adds in Quest AD Cmdlets v1.4</title>
		<link>http://www.shariqsheikh.com/blog/index.php/201007/reviewing-few-very-useful-adds-in-quest-ad-cmdlets-v1-4/</link>
		<comments>http://www.shariqsheikh.com/blog/index.php/201007/reviewing-few-very-useful-adds-in-quest-ad-cmdlets-v1-4/#comments</comments>
		<pubDate>Fri, 16 Jul 2010 16:08:09 +0000</pubDate>
		<dc:creator>Rick</dc:creator>
				<category><![CDATA[Active Directory]]></category>
		<category><![CDATA[PowerShell]]></category>

		<guid isPermaLink="false">http://www.shariqsheikh.com/blog/index.php/201007/reviewing-few-very-useful-adds-in-quest-ad-cmdlets-v1-4/</guid>
		<description><![CDATA[Whereas most of newly added cmdlets focus on&#160; PKI and Email Address Management in v1.4, there are a few cmdlets and handful of new parameters that ought to come in very handy with your AD tasks. Below I review a few that I think are some great adds : When you are enumerating a large [...]]]></description>
			<content:encoded><![CDATA[<p>Whereas most of newly added cmdlets focus on&nbsp; PKI and Email Address Management in <a href="http://www.shariqsheikh.com/blog/index.php/201007/quest-ad-cmdlets-a-k-a-active-roles-management-shell-version-1-4-gets-released/">v1.4</a>, there are a few cmdlets and handful of new parameters that ought to come in very handy with your AD tasks. Below I review a few that I think are some great adds :</p>
<p>When you are enumerating a large number of objects in shell (without outputting results into a file), you might just want to have a quick idea of the ‘total’ number of objects meeting the criteria of you query.</p>
<p><strong>Get-QADProgressPolicy</strong></p>
<p>“displays a progress bar for long-running commands”</p>
<p><a href="http://www.shariqsheikh.com/blog/wp-content/uploads/2010/07/progress_bar.png"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="progress_bar" border="0" alt="progress_bar" src="http://www.shariqsheikh.com/blog/wp-content/uploads/2010/07/progress_bar_thumb.png" width="904" height="80"/></a></p>
<p>This progress bar overlays (highlights in and out) as your query is running. It also appears when you are performing a count using the measure-object cmdlet or the “.count” switch</p>
<p><a href="http://www.shariqsheikh.com/blog/wp-content/uploads/2010/07/progress_bar2.png"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="progress_bar2" border="0" alt="progress_bar2" src="http://www.shariqsheikh.com/blog/wp-content/uploads/2010/07/progress_bar2_thumb.png" width="904" height="104"/></a></p>
<p>You can set the progress bar setting and its threshold with</p>
<blockquote><p>Set-QADProgressPolicy -ShowProgress $true -ProgressThreshold 2</p>
</blockquote>
<p><!-- .csharpcode, .csharpcode pre { 	font-size: small; 	color: black; 	font-family: consolas, "Courier New", courier, monospace; 	background-color: #ffffff; 	/*white-space: pre;*/ } .csharpcode pre { margin: 0em; } .csharpcode .rem { color: #008000; } .csharpcode .kwrd { color: #0000ff; } .csharpcode .str { color: #006080; } .csharpcode .op { color: #0000c0; } .csharpcode .preproc { color: #cc6633; } .csharpcode .asp { background-color: #ffff00; } .csharpcode .html { color: #800000; } .csharpcode .attr { color: #ff0000; } .csharpcode .alt  { 	background-color: #f4f4f4; 	width: 100%; 	margin: 0em; } .csharpcode .lnum { color: #606060; } -->The –activity parameter when relying on the progress bar allows you tag each line of progress with a number so that lengthy process is a bit more obvious with respect to the process to one or more cmdlet’s retrieved results.</p>
<p><span style="text-decoration: underline"><span style="color: #cccccc"><font color="#808040">Some new parameters :</font></span></span></p>
<p>Five new parameters for Get-QADUser</p>
<p><em>ExpiredFor </em></p>
<p><em>Inactive</em></p>
<p><em>InactiveFor</em></p>
<p><em>NotLoggedOnFor</em></p>
<p><em>PasswordNotChangedFor</em></p>
<p>Four new parameters for Get-QADComputer</p>
<p><em>Inactive </em></p>
<p><em>InactiveFor</em></p>
<p><em>NotLoggedOnFor</em></p>
<p><em>PasswordNotChangedFor</em></p>
<p>But what mechanism decides the “inactivity” benchmark to ask cmdlet to retrieve that information ?</p>
<p><em>You do.</em></p>
<p><strong>Get-QADInactiveAccountsPolicy</strong></p>
<p><a href="http://www.shariqsheikh.com/blog/wp-content/uploads/2010/07/inactivepolicy1.png"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="inactivepolicy1" border="0" alt="inactivepolicy1" src="http://www.shariqsheikh.com/blog/wp-content/uploads/2010/07/inactivepolicy1_thumb.png" width="904" height="73"/></a></p>
<p>You can change these settings,</p>
<blockquote><div class="csharpcode">Set-QADInactiveAccountsPolicy -AccountExpiredPeriod 0 -AccountNotLoggedOnPeriod 30 –PasswordNotChangedPeriod 120</div>
</blockquote>
<style type="text/css">.csharpcode, .csharpcode pre
{
	font-size: small;
	color: black;
	font-family: consolas, "Courier New", courier, monospace;
	background-color: #ffffff;
	/*white-space: pre;*/
}
.csharpcode pre { margin: 0em; }
.csharpcode .rem { color: #008000; }
.csharpcode .kwrd { color: #0000ff; }
.csharpcode .str { color: #006080; }
.csharpcode .op { color: #0000c0; }
.csharpcode .preproc { color: #cc6633; }
.csharpcode .asp { background-color: #ffff00; }
.csharpcode .html { color: #800000; }
.csharpcode .attr { color: #ff0000; }
.csharpcode .alt 
{
	background-color: #f4f4f4;
	width: 100%;
	margin: 0em;
}
.csharpcode .lnum { color: #606060; }
</style>
<style type="text/css">.csharpcode, .csharpcode pre
{
	font-size: small;
	color: black;
	font-family: consolas, "Courier New", courier, monospace;
	background-color: #ffffff;
	/*white-space: pre;*/
}
.csharpcode pre { margin: 0em; }
.csharpcode .rem { color: #008000; }
.csharpcode .kwrd { color: #0000ff; }
.csharpcode .str { color: #006080; }
.csharpcode .op { color: #0000c0; }
.csharpcode .preproc { color: #cc6633; }
.csharpcode .asp { background-color: #ffff00; }
.csharpcode .html { color: #800000; }
.csharpcode .attr { color: #ff0000; }
.csharpcode .alt 
{
	background-color: #f4f4f4;
	width: 100%;
	margin: 0em;
}
.csharpcode .lnum { color: #606060; }
</style>
<p><!-- .csharpcode, .csharpcode pre { 	font-size: small; 	color: black; 	font-family: consolas, "Courier New", courier, monospace; 	background-color: #ffffff; 	/*white-space: pre;*/ } .csharpcode pre { margin: 0em; } .csharpcode .rem { color: #008000; } .csharpcode .kwrd { color: #0000ff; } .csharpcode .str { color: #006080; } .csharpcode .op { color: #0000c0; } .csharpcode .preproc { color: #cc6633; } .csharpcode .asp { background-color: #ffff00; } .csharpcode .html { color: #800000; } .csharpcode .attr { color: #ff0000; } .csharpcode .alt  { 	background-color: #f4f4f4; 	width: 100%; 	margin: 0em; } .csharpcode .lnum { color: #606060; } --></p>
<p>Note : These settings are profile specific so ones you define these thresholds they will stay there until you change those settings again.</p>
<p>The<strong> NotLoggedOnPeriod</strong> is probably based on the LastLogonTimeStamp, but I will check and edit this post if its any different. If it is, remember it may not be accurate and should only be used for estimation. The LastLogonTimeStamp gets updated from the LastLogon (DC specific attribute) based on a 9-14 day swing period.</p>
<p>Also :</p>
<blockquote><p>“This parameter overrides the logon-related inactivity condition of the Inactive or InactiveFor parameter. Thus, if the NotLoggedOnFor value of 60 is supplied in conjunction with the InactiveFor value of 30, the cmdlet searches for accounts that are expired for 30 or more days, or have the password age of 30 or more days, or have not been used to log on for 60 or more days.”</p>
</blockquote>
<p>Previously if you had to use the Get-QADGroupMember cmdlet to retrieve the enabled accounts only, you had to pass the LDAPFilter, now you can use the same –enabled and –disabled parameter as you could with Get-QADUser cmdlet since v1.3.</p>
<p><a href="http://www.shariqsheikh.com/blog/wp-content/uploads/2010/07/groupmemberdisabled.png"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="groupmemberdisabled" border="0" alt="groupmemberdisabled" src="http://www.shariqsheikh.com/blog/wp-content/uploads/2010/07/groupmemberdisabled_thumb.png" width="904" height="104"/></a></p>
<p>This and much more. All details can be found <a href="http://wiki.powergui.org/index.php/QAD_cmdlets_reference">here</a>.</p>
<p>The folks who develop these cmdlets and work on adding new parameters do take the feedback very seriously. I have myself asked and gotten couple of requests met. You can do the <a href="http://powergui.org/thread.jspa?threadID=11225&amp;tstart=0">same</a>.</p>
<p><a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save?linkurl=http%3A%2F%2Fwww.shariqsheikh.com%2Fblog%2Findex.php%2F201007%2Freviewing-few-very-useful-adds-in-quest-ad-cmdlets-v1-4%2F&amp;linkname=Reviewing%20few%20very%20useful%20adds%20in%20Quest%20AD%20Cmdlets%20v1.4">Share/Bookmark</a> </p>]]></content:encoded>
			<wfw:commentRss>http://www.shariqsheikh.com/blog/index.php/201007/reviewing-few-very-useful-adds-in-quest-ad-cmdlets-v1-4/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Quest AD Cmdlets a.k.a Active Roles Management Shell version 1.4 gets released</title>
		<link>http://www.shariqsheikh.com/blog/index.php/201007/quest-ad-cmdlets-a-k-a-active-roles-management-shell-version-1-4-gets-released/</link>
		<comments>http://www.shariqsheikh.com/blog/index.php/201007/quest-ad-cmdlets-a-k-a-active-roles-management-shell-version-1-4-gets-released/#comments</comments>
		<pubDate>Thu, 15 Jul 2010 21:55:12 +0000</pubDate>
		<dc:creator>Rick</dc:creator>
				<category><![CDATA[Active Directory]]></category>
		<category><![CDATA[PowerShell]]></category>

		<guid isPermaLink="false">http://www.shariqsheikh.com/blog/index.php/201007/quest-ad-cmdlets-a-k-a-active-roles-management-shell-version-1-4-gets-released/</guid>
		<description><![CDATA[From version 1.2 with 49 cmdlets, to version 1.3 with 63 cmdlets and now on to version 1.4 that has 32 new cmdlets making it total of 95. Here are the new cmdlets in v1.4 : • Get-QADLocalCertificateStore • New-QADLocalCertificateStore • Remove-QADLocalCertificateStore • Get-QADCertificate • Where-QADCertificate • Add-QADCertificate • Import-QADCertificate • Show-QADCertificate • Edit-QADCertificate • [...]]]></description>
			<content:encoded><![CDATA[<p>From version 1.2 with 49 cmdlets, to version 1.3 with 63 cmdlets and now on to version 1.4 that has 32 new cmdlets making it total of 95.</p>
<p>Here are the new cmdlets in v1.4 :</p>
<p>• Get-QADLocalCertificateStore<br />
• New-QADLocalCertificateStore<br />
• Remove-QADLocalCertificateStore<br />
• Get-QADCertificate<br />
• Where-QADCertificate<br />
• Add-QADCertificate<br />
• Import-QADCertificate<br />
• Show-QADCertificate<br />
• Edit-QADCertificate<br />
• Export-QADCertificate<br />
• Remove-QADCertificate<br />
• Remove-QADPrivateKey<br />
• Get-QADCertificateRevocationList<br />
• Add-QADCertificateRevocationList<br />
• Import-QADCertificateRevocationList<br />
• Export-QADCertificateRevocationList<br />
• Remove-QADCertificateRevocationList<br />
• Get-QADPKIObject<br />
• Publish-QADCertificate<br />
• Unpublish-QADCertificate<br />
• Publish-QADCertificateRevocationList<br />
• Unpublish-QADCertificateRevocationList<br />
• Add-QADProxyAddress<br />
• Set-QADProxyAddress<br />
• Remove-QADProxyAddress<br />
• Clear-QADProxyAddress<br />
• Enable-QADEmailAddressPolicy<br />
• Disable-QADEmailAddressPolicy<br />
• Set-QADProgressPolicy<br />
• Get-QADProgressPolicy<br />
• Set-QADInactiveAccountsPolicy<br />
• Get-QADInactiveAccountsPolicy</p>
<p>With tons of new parameters and bug fixes. All details can be found under ‘ARMS Build History’ text file under the zip file.</p>
<p><a title="http://www.quest.com/powershell/activeroles-server.aspx" href="http://www.quest.com/powershell/activeroles-server.aspx">http://www.quest.com/powershell/activeroles-server.aspx</a></p>
<p>Also Dmitry Sotnikov tweeted regarding the updated cmdlet references wiki :</p>
<p><a title="http://wiki.powergui.org/index.php/QAD_cmdlets_reference" href="http://wiki.powergui.org/index.php/QAD_cmdlets_reference">http://wiki.powergui.org/index.php/QAD_cmdlets_reference</a></p>
<p><a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save?linkurl=http%3A%2F%2Fwww.shariqsheikh.com%2Fblog%2Findex.php%2F201007%2Fquest-ad-cmdlets-a-k-a-active-roles-management-shell-version-1-4-gets-released%2F&amp;linkname=Quest%20AD%20Cmdlets%20a.k.a%20Active%20Roles%20Management%20Shell%20version%201.4%20gets%20released">Share/Bookmark</a> </p>]]></content:encoded>
			<wfw:commentRss>http://www.shariqsheikh.com/blog/index.php/201007/quest-ad-cmdlets-a-k-a-active-roles-management-shell-version-1-4-gets-released/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Create Active Directory Delegations Report with PowerGUI</title>
		<link>http://www.shariqsheikh.com/blog/index.php/201006/create-active-directory-delegations-report-with-powergui/</link>
		<comments>http://www.shariqsheikh.com/blog/index.php/201006/create-active-directory-delegations-report-with-powergui/#comments</comments>
		<pubDate>Mon, 28 Jun 2010 16:30:24 +0000</pubDate>
		<dc:creator>Rick</dc:creator>
				<category><![CDATA[Active Directory]]></category>
		<category><![CDATA[PowerShell]]></category>

		<guid isPermaLink="false">http://www.shariqsheikh.com/blog/index.php/201006/creating-active-directory-delegations-report-with-powergui/</guid>
		<description><![CDATA[Often times you need to analyze your existing permissions (delegations) on your AD Objects within your domain/forest, perhaps you have just taken over an administrative role over AD and would like to quickly surface information regarding what group and user accounts have certain rights across the board in a pertinent domain. With PowerGUI and Kirk [...]]]></description>
			<content:encoded><![CDATA[<p>Often times you need to analyze your existing permissions (delegations) on your AD Objects within your domain/forest, perhaps you have just taken over an administrative role over AD and would like to quickly surface information regarding what group and user accounts have certain rights across the board in a pertinent domain. With PowerGUI and Kirk Munro’s “Reporting” PowerPack, you can generate nicely formatted HTML files (that expand and collapse) for each object that has delegated permissions within AD.</p>
<p>1. <a href="http://powergui.org/downloads.jspa">Download PowerGUI 2.1 from here</a></p>
<p>2. <a href="http://powergui.org/entry.jspa?externalID=2423&amp;categoryID=52">Get the Advanced Reporting PowerPack from here</a></p>
<p>3. Launch PowerGUI and import Advanced Reporting PowerPack</p>
<p><a href="http://www.shariqsheikh.com/blog/wp-content/uploads/2010/06/ImportPowerPack.png"><img style="border-right-width: 0px; display: block; float: none; border-top-width: 0px; border-bottom-width: 0px; margin-left: auto; border-left-width: 0px; margin-right: auto" title="ImportPowerPack" border="0" alt="ImportPowerPack" src="http://www.shariqsheikh.com/blog/wp-content/uploads/2010/06/ImportPowerPack_thumb.png" width="644" height="337"/></a></p>
<p>4. Click on the root node, go to New and click on the ‘Script Node’ sub-menu option</p>
<p><a href="http://www.shariqsheikh.com/blog/wp-content/uploads/2010/06/CreateScriptNode.png"><img style="border-right-width: 0px; display: block; float: none; border-top-width: 0px; border-bottom-width: 0px; margin-left: auto; border-left-width: 0px; margin-right: auto" title="CreateScriptNode" border="0" alt="CreateScriptNode" src="http://www.shariqsheikh.com/blog/wp-content/uploads/2010/06/CreateScriptNode_thumb.png" width="644" height="285"/></a></p>
<p>5. Name your script in the Title bar and type the following cmdlet in the body of the script</p>
<div class="csharpcode">
<pre class="alt">Get-QADObject -Type organizationalUnit -SecurityMask dacl | Get-QADPermission</pre>
</div>
<style type="text/css">.csharpcode, .csharpcode pre
{
	font-size: small;
	color: black;
	font-family: consolas, "Courier New", courier, monospace;
	background-color: #ffffff;
	/*white-space: pre;*/
}
.csharpcode pre { margin: 0em; }
.csharpcode .rem { color: #008000; }
.csharpcode .kwrd { color: #0000ff; }
.csharpcode .str { color: #006080; }
.csharpcode .op { color: #0000c0; }
.csharpcode .preproc { color: #cc6633; }
.csharpcode .asp { background-color: #ffff00; }
.csharpcode .html { color: #800000; }
.csharpcode .attr { color: #ff0000; }
.csharpcode .alt 
{
	background-color: #f4f4f4;
	width: 100%;
	margin: 0em;
}
.csharpcode .lnum { color: #606060; }
</style>
<p><!-- .csharpcode, .csharpcode pre { 	font-size: small; 	color: black; 	font-family: consolas, "Courier New", courier, monospace; 	background-color: #ffffff; 	/*white-space: pre;*/ } .csharpcode pre { margin: 0em; } .csharpcode .rem { color: #008000; } .csharpcode .kwrd { color: #0000ff; } .csharpcode .str { color: #006080; } .csharpcode .op { color: #0000c0; } .csharpcode .preproc { color: #cc6633; } .csharpcode .asp { background-color: #ffff00; } .csharpcode .html { color: #800000; } .csharpcode .attr { color: #ff0000; } .csharpcode .alt  { 	background-color: #f4f4f4; 	width: 100%; 	margin: 0em; } .csharpcode .lnum { color: #606060; } --></p>
<p><a href="http://www.shariqsheikh.com/blog/wp-content/uploads/2010/06/TypeCmd.png"><img style="border-right-width: 0px; display: block; float: none; border-top-width: 0px; border-bottom-width: 0px; margin-left: auto; border-left-width: 0px; margin-right: auto" title="TypeCmd" border="0" alt="TypeCmd" src="http://www.shariqsheikh.com/blog/wp-content/uploads/2010/06/TypeCmd_thumb.png" width="644" height="180"/></a> 6. By hitting OK the report will run. From the Action Pane (right) click on the ‘Create Report’ link, name the report and add the desired attribute you would like to export on the report</p>
<p><a href="http://www.shariqsheikh.com/blog/wp-content/uploads/2010/06/Report.png"><img style="border-right-width: 0px; display: block; float: none; border-top-width: 0px; border-bottom-width: 0px; margin-left: auto; border-left-width: 0px; margin-right: auto" title="Report" border="0" alt="Report" src="http://www.shariqsheikh.com/blog/wp-content/uploads/2010/06/Report_thumb.png" width="644" height="252"/></a></p>
<p><a href="http://www.shariqsheikh.com/blog/wp-content/uploads/2010/06/IncludeReport.png"><img style="border-right-width: 0px; display: block; float: none; border-top-width: 0px; border-bottom-width: 0px; margin-left: auto; border-left-width: 0px; margin-right: auto" title="IncludeReport" border="0" alt="IncludeReport" src="http://www.shariqsheikh.com/blog/wp-content/uploads/2010/06/IncludeReport_thumb.png" width="644" height="271"/></a> 7.&nbsp; Hit OK and and your HTML based report will be saved by default in your Documents\PowerGUI Exports folder.</p>
<p><a href="http://www.shariqsheikh.com/blog/wp-content/uploads/2010/06/ReportHTML.png"><img style="border-right-width: 0px; display: block; float: none; border-top-width: 0px; border-bottom-width: 0px; margin-left: auto; border-left-width: 0px; margin-right: auto" title="ReportHTML" border="0" alt="ReportHTML" src="http://www.shariqsheikh.com/blog/wp-content/uploads/2010/06/ReportHTML_thumb.png" width="537" height="484"/></a>You can create all sorts of reports from your AD, do any modifications to your scripts, the format how the Report Pack creates the HTML report and how it generates the data. Download PowerGUI and the Reporting PowerPack and start playing with it.</p>
<p><a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save?linkurl=http%3A%2F%2Fwww.shariqsheikh.com%2Fblog%2Findex.php%2F201006%2Fcreate-active-directory-delegations-report-with-powergui%2F&amp;linkname=Create%20Active%20Directory%20Delegations%20Report%20with%20PowerGUI">Share/Bookmark</a> </p>]]></content:encoded>
			<wfw:commentRss>http://www.shariqsheikh.com/blog/index.php/201006/create-active-directory-delegations-report-with-powergui/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>PowerShell : How to rename Groups in bulk ?</title>
		<link>http://www.shariqsheikh.com/blog/index.php/201005/powershell-how-to-rename-groups-in-bulk/</link>
		<comments>http://www.shariqsheikh.com/blog/index.php/201005/powershell-how-to-rename-groups-in-bulk/#comments</comments>
		<pubDate>Tue, 04 May 2010 15:23:17 +0000</pubDate>
		<dc:creator>Rick</dc:creator>
				<category><![CDATA[Active Directory]]></category>
		<category><![CDATA[PowerShell]]></category>

		<guid isPermaLink="false">http://www.shariqsheikh.com/blog/index.php/201005/powershell-how-to-rename-groups-in-bulk/</guid>
		<description><![CDATA[Often times there is a need to standardized Groups’ naming convention such as with migrations, when you don’t have a rich migration tool that can conform the names or when you don’t have a AD proxy management tool such as ARS in your normal provisioning process. Using Quest Cmdlets with PowerShell to rename groups is [...]]]></description>
			<content:encoded><![CDATA[<p>Often times there is a need to standardized Groups’ naming convention such as with migrations, when you don’t have a rich migration tool that can conform the names or when you don’t have a AD proxy management tool such as ARS in your normal provisioning process. Using Quest Cmdlets with PowerShell to rename groups is a snap. There are numerous ways you can fit the Cmdlets and different parameters to meet your need. In this post, I show you a few ways I have used to rename groups in bulk.</p>
<p>Following is an example where all (or most of your groups have a company name as prefix and now that the migration has occurred you would like to strip the company name out.</p>
<p>First, lets take a quick inventory to define your scope;</p>
<blockquote><p>Get-QADGroup -Name companyname* -sizelimit 0 | ft name, SamAccountName</p>
</blockquote>
<p>You can also define a specific OU to target a specific location;</p>
<blockquote><p>Get-QADGroup -name companyname* -searchscope <span class="str">&#8220;onelevel&#8221;</span> -searchroot <span class="str">&#8220;ou=Groups,ou=,dc=mydomain,dc=int&#8221;</span> -sizelimit 0</p>
</blockquote>
<p>Note that the ‘companyname’ string is the number of characters i.e 11 is what we are manipulating and stripping out here;</p>
<blockquote><p>Get-QADGroup -name companyname* -searchscope <span class="str">&#8220;onelevel&#8221;</span> -searchroot <span class="str">&#8220;ou=Groups,ou=,dc=mydomain,dc=int&#8221;</span> -sizelimit 0 | Rename-QADObject -newName {$_.name.substring(11)} -whatif | Set-QADGroup -samAccountName {$_.samAccountName.substring(11)} -whatif</p>
</blockquote>
<p></p>
<p><!-- .csharpcode, .csharpcode pre { 	font-size: small; 	color: black; 	font-family: consolas, "Courier New", courier, monospace; 	background-color: #ffffff; 	/*white-space: pre;*/ } .csharpcode pre { margin: 0em; } .csharpcode .rem { color: #008000; } .csharpcode .kwrd { color: #0000ff; } .csharpcode .str { color: #006080; } .csharpcode .op { color: #0000c0; } .csharpcode .preproc { color: #cc6633; } .csharpcode .asp { background-color: #ffff00; } .csharpcode .html { color: #800000; } .csharpcode .attr { color: #ff0000; } .csharpcode .alt  { 	background-color: #f4f4f4; 	width: 100%; 	margin: 0em; } .csharpcode .lnum { color: #606060; } -->Always use the –whatif parameter to confirm what changes you are about to make before you process the change. If needed, export the results out to a CSV by adding the export-csv cmdlet at the end.&nbsp; Note, in above the piping “|” can be written on the same line, ignore the wrapping due the site layout.</p>
<p>Similarly, you can chose to rename to rename by adding a new name or after you have stripped out the name completely, you can add a new prefix to your groups</p>
<blockquote><p>Get-QADGroup -searchscope <span class="str">&#8220;onelevel&#8221;</span> -searchroot <span class="str">&#8220;ou=Groups,ou=,dc=mydomain,dc=int&#8221;</span> -sizelimit 0 | FOREACH {Rename-QADObject $_ -newName (<span class="str">&#8220;IT-&#8221;</span> + $_.name)} </p>
</blockquote>
<p></p>
<p><!-- .csharpcode, .csharpcode pre { 	font-size: small; 	color: black; 	font-family: consolas, "Courier New", courier, monospace; 	background-color: #ffffff; 	/*white-space: pre;*/ } .csharpcode pre { margin: 0em; } .csharpcode .rem { color: #008000; } .csharpcode .kwrd { color: #0000ff; } .csharpcode .str { color: #006080; } .csharpcode .op { color: #0000c0; } .csharpcode .preproc { color: #cc6633; } .csharpcode .asp { background-color: #ffff00; } .csharpcode .html { color: #800000; } .csharpcode .attr { color: #ff0000; } .csharpcode .alt  { 	background-color: #f4f4f4; 	width: 100%; 	margin: 0em; } .csharpcode .lnum { color: #606060; } -->Above query will grab all the Groups from the defined path and will add “IT-“ as the prefix to all groups. Make sure to append the –samAccountName command to ensure that rename happens properly.</p>
<p><a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save?linkurl=http%3A%2F%2Fwww.shariqsheikh.com%2Fblog%2Findex.php%2F201005%2Fpowershell-how-to-rename-groups-in-bulk%2F&amp;linkname=PowerShell%20%3A%20How%20to%20rename%20Groups%20in%20bulk%20%3F">Share/Bookmark</a> </p>]]></content:encoded>
			<wfw:commentRss>http://www.shariqsheikh.com/blog/index.php/201005/powershell-how-to-rename-groups-in-bulk/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>The Experts Conference 2010</title>
		<link>http://www.shariqsheikh.com/blog/index.php/201004/the-experts-conference-2010/</link>
		<comments>http://www.shariqsheikh.com/blog/index.php/201004/the-experts-conference-2010/#comments</comments>
		<pubDate>Sun, 25 Apr 2010 16:51:54 +0000</pubDate>
		<dc:creator>Rick</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[TEC2010]]></category>

		<guid isPermaLink="false">http://www.shariqsheikh.com/blog/?p=831</guid>
		<description><![CDATA[Few random pictures I took at The Experts Conference 2010]]></description>
			<content:encoded><![CDATA[<p>Few random pictures I took at <a href="http://tec2010.com">The Experts Conference 2010</a></p>

<div class="ngg-galleryoverview" id="ngg-gallery-1-831">


	<!-- Piclense link -->
	<div class="piclenselink">
		<a class="piclenselink" href="javascript:PicLensLite.start({feedUrl:'http://www.shariqsheikh.com/blog/wp-content/plugins/nextgen-gallery/xml/media-rss.php?gid=1&amp;mode=gallery'});">
			[View with PicLens]		</a>
	</div>
	
	<!-- Thumbnails -->
		
	<div id="ngg-image-1" class="ngg-gallery-thumbnail-box"  >
		<div class="ngg-gallery-thumbnail" >
			<a href="http://www.shariqsheikh.com/blog/wp-content/gallery/tec2010/img_0077.jpg" title=" " class="shutterset_set_1" >
								<img title="img_0077" alt="img_0077" src="http://www.shariqsheikh.com/blog/wp-content/gallery/tec2010/thumbs/thumbs_img_0077.jpg" width="100" height="75" />
							</a>
		</div>
	</div>
	
		
 		
	<div id="ngg-image-2" class="ngg-gallery-thumbnail-box"  >
		<div class="ngg-gallery-thumbnail" >
			<a href="http://www.shariqsheikh.com/blog/wp-content/gallery/tec2010/img_0089.jpg" title=" " class="shutterset_set_1" >
								<img title="img_0089" alt="img_0089" src="http://www.shariqsheikh.com/blog/wp-content/gallery/tec2010/thumbs/thumbs_img_0089.jpg" width="100" height="75" />
							</a>
		</div>
	</div>
	
		
 		
	<div id="ngg-image-3" class="ngg-gallery-thumbnail-box"  >
		<div class="ngg-gallery-thumbnail" >
			<a href="http://www.shariqsheikh.com/blog/wp-content/gallery/tec2010/img_0090.jpg" title=" " class="shutterset_set_1" >
								<img title="img_0090" alt="img_0090" src="http://www.shariqsheikh.com/blog/wp-content/gallery/tec2010/thumbs/thumbs_img_0090.jpg" width="100" height="75" />
							</a>
		</div>
	</div>
	
		
 		
	<div id="ngg-image-4" class="ngg-gallery-thumbnail-box"  >
		<div class="ngg-gallery-thumbnail" >
			<a href="http://www.shariqsheikh.com/blog/wp-content/gallery/tec2010/img_0091.jpg" title=" " class="shutterset_set_1" >
								<img title="img_0091" alt="img_0091" src="http://www.shariqsheikh.com/blog/wp-content/gallery/tec2010/thumbs/thumbs_img_0091.jpg" width="100" height="75" />
							</a>
		</div>
	</div>
	
		
 		
	<div id="ngg-image-6" class="ngg-gallery-thumbnail-box"  >
		<div class="ngg-gallery-thumbnail" >
			<a href="http://www.shariqsheikh.com/blog/wp-content/gallery/tec2010/img_0093.jpg" title=" " class="shutterset_set_1" >
								<img title="img_0093" alt="img_0093" src="http://www.shariqsheikh.com/blog/wp-content/gallery/tec2010/thumbs/thumbs_img_0093.jpg" width="100" height="75" />
							</a>
		</div>
	</div>
	
		
 		
	<div id="ngg-image-7" class="ngg-gallery-thumbnail-box"  >
		<div class="ngg-gallery-thumbnail" >
			<a href="http://www.shariqsheikh.com/blog/wp-content/gallery/tec2010/img_0095.jpg" title=" " class="shutterset_set_1" >
								<img title="img_0095" alt="img_0095" src="http://www.shariqsheikh.com/blog/wp-content/gallery/tec2010/thumbs/thumbs_img_0095.jpg" width="100" height="75" />
							</a>
		</div>
	</div>
	
		
 		
	<div id="ngg-image-8" class="ngg-gallery-thumbnail-box"  >
		<div class="ngg-gallery-thumbnail" >
			<a href="http://www.shariqsheikh.com/blog/wp-content/gallery/tec2010/img_0096.jpg" title=" " class="shutterset_set_1" >
								<img title="img_0096" alt="img_0096" src="http://www.shariqsheikh.com/blog/wp-content/gallery/tec2010/thumbs/thumbs_img_0096.jpg" width="100" height="75" />
							</a>
		</div>
	</div>
	
		
 		
	<div id="ngg-image-9" class="ngg-gallery-thumbnail-box"  >
		<div class="ngg-gallery-thumbnail" >
			<a href="http://www.shariqsheikh.com/blog/wp-content/gallery/tec2010/img_0097.jpg" title=" " class="shutterset_set_1" >
								<img title="img_0097" alt="img_0097" src="http://www.shariqsheikh.com/blog/wp-content/gallery/tec2010/thumbs/thumbs_img_0097.jpg" width="100" height="75" />
							</a>
		</div>
	</div>
	
		
 		
	<div id="ngg-image-10" class="ngg-gallery-thumbnail-box"  >
		<div class="ngg-gallery-thumbnail" >
			<a href="http://www.shariqsheikh.com/blog/wp-content/gallery/tec2010/img_0098.jpg" title=" " class="shutterset_set_1" >
								<img title="img_0098" alt="img_0098" src="http://www.shariqsheikh.com/blog/wp-content/gallery/tec2010/thumbs/thumbs_img_0098.jpg" width="100" height="75" />
							</a>
		</div>
	</div>
	
		
 		
	<div id="ngg-image-11" class="ngg-gallery-thumbnail-box"  >
		<div class="ngg-gallery-thumbnail" >
			<a href="http://www.shariqsheikh.com/blog/wp-content/gallery/tec2010/img_0099.jpg" title=" " class="shutterset_set_1" >
								<img title="img_0099" alt="img_0099" src="http://www.shariqsheikh.com/blog/wp-content/gallery/tec2010/thumbs/thumbs_img_0099.jpg" width="100" height="75" />
							</a>
		</div>
	</div>
	
		
 		
	<div id="ngg-image-12" class="ngg-gallery-thumbnail-box"  >
		<div class="ngg-gallery-thumbnail" >
			<a href="http://www.shariqsheikh.com/blog/wp-content/gallery/tec2010/img_0102.jpg" title=" " class="shutterset_set_1" >
								<img title="img_0102" alt="img_0102" src="http://www.shariqsheikh.com/blog/wp-content/gallery/tec2010/thumbs/thumbs_img_0102.jpg" width="100" height="75" />
							</a>
		</div>
	</div>
	
		
 		
	<div id="ngg-image-13" class="ngg-gallery-thumbnail-box"  >
		<div class="ngg-gallery-thumbnail" >
			<a href="http://www.shariqsheikh.com/blog/wp-content/gallery/tec2010/img_0103.jpg" title=" " class="shutterset_set_1" >
								<img title="img_0103" alt="img_0103" src="http://www.shariqsheikh.com/blog/wp-content/gallery/tec2010/thumbs/thumbs_img_0103.jpg" width="100" height="75" />
							</a>
		</div>
	</div>
	
		
 		
	<div id="ngg-image-14" class="ngg-gallery-thumbnail-box"  >
		<div class="ngg-gallery-thumbnail" >
			<a href="http://www.shariqsheikh.com/blog/wp-content/gallery/tec2010/img_0104.jpg" title=" " class="shutterset_set_1" >
								<img title="img_0104" alt="img_0104" src="http://www.shariqsheikh.com/blog/wp-content/gallery/tec2010/thumbs/thumbs_img_0104.jpg" width="100" height="75" />
							</a>
		</div>
	</div>
	
		
 		
	<div id="ngg-image-15" class="ngg-gallery-thumbnail-box"  >
		<div class="ngg-gallery-thumbnail" >
			<a href="http://www.shariqsheikh.com/blog/wp-content/gallery/tec2010/img_0105.jpg" title=" " class="shutterset_set_1" >
								<img title="img_0105" alt="img_0105" src="http://www.shariqsheikh.com/blog/wp-content/gallery/tec2010/thumbs/thumbs_img_0105.jpg" width="100" height="75" />
							</a>
		</div>
	</div>
	
		
 		
	<div id="ngg-image-16" class="ngg-gallery-thumbnail-box"  >
		<div class="ngg-gallery-thumbnail" >
			<a href="http://www.shariqsheikh.com/blog/wp-content/gallery/tec2010/img_0107.jpg" title=" " class="shutterset_set_1" >
								<img title="img_0107" alt="img_0107" src="http://www.shariqsheikh.com/blog/wp-content/gallery/tec2010/thumbs/thumbs_img_0107.jpg" width="100" height="75" />
							</a>
		</div>
	</div>
	
		
 		
	<div id="ngg-image-17" class="ngg-gallery-thumbnail-box"  >
		<div class="ngg-gallery-thumbnail" >
			<a href="http://www.shariqsheikh.com/blog/wp-content/gallery/tec2010/img_0108.jpg" title=" " class="shutterset_set_1" >
								<img title="img_0108" alt="img_0108" src="http://www.shariqsheikh.com/blog/wp-content/gallery/tec2010/thumbs/thumbs_img_0108.jpg" width="100" height="75" />
							</a>
		</div>
	</div>
	
		
 		
	<div id="ngg-image-18" class="ngg-gallery-thumbnail-box"  >
		<div class="ngg-gallery-thumbnail" >
			<a href="http://www.shariqsheikh.com/blog/wp-content/gallery/tec2010/img_0109.jpg" title=" " class="shutterset_set_1" >
								<img title="img_0109" alt="img_0109" src="http://www.shariqsheikh.com/blog/wp-content/gallery/tec2010/thumbs/thumbs_img_0109.jpg" width="100" height="75" />
							</a>
		</div>
	</div>
	
		
 		
	<div id="ngg-image-19" class="ngg-gallery-thumbnail-box"  >
		<div class="ngg-gallery-thumbnail" >
			<a href="http://www.shariqsheikh.com/blog/wp-content/gallery/tec2010/img_0110.jpg" title=" " class="shutterset_set_1" >
								<img title="img_0110" alt="img_0110" src="http://www.shariqsheikh.com/blog/wp-content/gallery/tec2010/thumbs/thumbs_img_0110.jpg" width="100" height="75" />
							</a>
		</div>
	</div>
	
		
 		
	<div id="ngg-image-20" class="ngg-gallery-thumbnail-box"  >
		<div class="ngg-gallery-thumbnail" >
			<a href="http://www.shariqsheikh.com/blog/wp-content/gallery/tec2010/img_0111.jpg" title=" " class="shutterset_set_1" >
								<img title="img_0111" alt="img_0111" src="http://www.shariqsheikh.com/blog/wp-content/gallery/tec2010/thumbs/thumbs_img_0111.jpg" width="100" height="75" />
							</a>
		</div>
	</div>
	
		
 		
	<div id="ngg-image-21" class="ngg-gallery-thumbnail-box"  >
		<div class="ngg-gallery-thumbnail" >
			<a href="http://www.shariqsheikh.com/blog/wp-content/gallery/tec2010/img_0112.jpg" title=" " class="shutterset_set_1" >
								<img title="img_0112" alt="img_0112" src="http://www.shariqsheikh.com/blog/wp-content/gallery/tec2010/thumbs/thumbs_img_0112.jpg" width="100" height="75" />
							</a>
		</div>
	</div>
	
		
 		
	<div id="ngg-image-22" class="ngg-gallery-thumbnail-box"  >
		<div class="ngg-gallery-thumbnail" >
			<a href="http://www.shariqsheikh.com/blog/wp-content/gallery/tec2010/img_0113.jpg" title=" " class="shutterset_set_1" >
								<img title="img_0113" alt="img_0113" src="http://www.shariqsheikh.com/blog/wp-content/gallery/tec2010/thumbs/thumbs_img_0113.jpg" width="100" height="75" />
							</a>
		</div>
	</div>
	
		
 		
	<div id="ngg-image-23" class="ngg-gallery-thumbnail-box"  >
		<div class="ngg-gallery-thumbnail" >
			<a href="http://www.shariqsheikh.com/blog/wp-content/gallery/tec2010/img_0121.jpg" title=" " class="shutterset_set_1" >
								<img title="img_0121" alt="img_0121" src="http://www.shariqsheikh.com/blog/wp-content/gallery/tec2010/thumbs/thumbs_img_0121.jpg" width="100" height="75" />
							</a>
		</div>
	</div>
	
		
 		
	<div id="ngg-image-26" class="ngg-gallery-thumbnail-box"  >
		<div class="ngg-gallery-thumbnail" >
			<a href="http://www.shariqsheikh.com/blog/wp-content/gallery/tec2010/img_0132.jpg" title=" " class="shutterset_set_1" >
								<img title="img_0132" alt="img_0132" src="http://www.shariqsheikh.com/blog/wp-content/gallery/tec2010/thumbs/thumbs_img_0132.jpg" width="100" height="75" />
							</a>
		</div>
	</div>
	
		
 		
	<div id="ngg-image-27" class="ngg-gallery-thumbnail-box"  >
		<div class="ngg-gallery-thumbnail" >
			<a href="http://www.shariqsheikh.com/blog/wp-content/gallery/tec2010/img_0133.jpg" title=" " class="shutterset_set_1" >
								<img title="img_0133" alt="img_0133" src="http://www.shariqsheikh.com/blog/wp-content/gallery/tec2010/thumbs/thumbs_img_0133.jpg" width="100" height="75" />
							</a>
		</div>
	</div>
	
		
 		
	<div id="ngg-image-28" class="ngg-gallery-thumbnail-box"  >
		<div class="ngg-gallery-thumbnail" >
			<a href="http://www.shariqsheikh.com/blog/wp-content/gallery/tec2010/img_0135.jpg" title=" " class="shutterset_set_1" >
								<img title="img_0135" alt="img_0135" src="http://www.shariqsheikh.com/blog/wp-content/gallery/tec2010/thumbs/thumbs_img_0135.jpg" width="100" height="75" />
							</a>
		</div>
	</div>
	
		
 		
	<div id="ngg-image-29" class="ngg-gallery-thumbnail-box"  >
		<div class="ngg-gallery-thumbnail" >
			<a href="http://www.shariqsheikh.com/blog/wp-content/gallery/tec2010/img_0136.jpg" title=" " class="shutterset_set_1" >
								<img title="img_0136" alt="img_0136" src="http://www.shariqsheikh.com/blog/wp-content/gallery/tec2010/thumbs/thumbs_img_0136.jpg" width="100" height="75" />
							</a>
		</div>
	</div>
	
		
 		
	<div id="ngg-image-31" class="ngg-gallery-thumbnail-box"  >
		<div class="ngg-gallery-thumbnail" >
			<a href="http://www.shariqsheikh.com/blog/wp-content/gallery/tec2010/img_0138.jpg" title=" " class="shutterset_set_1" >
								<img title="img_0138" alt="img_0138" src="http://www.shariqsheikh.com/blog/wp-content/gallery/tec2010/thumbs/thumbs_img_0138.jpg" width="100" height="75" />
							</a>
		</div>
	</div>
	
		
 		
	<div id="ngg-image-32" class="ngg-gallery-thumbnail-box"  >
		<div class="ngg-gallery-thumbnail" >
			<a href="http://www.shariqsheikh.com/blog/wp-content/gallery/tec2010/img_0140.jpg" title=" " class="shutterset_set_1" >
								<img title="img_0140" alt="img_0140" src="http://www.shariqsheikh.com/blog/wp-content/gallery/tec2010/thumbs/thumbs_img_0140.jpg" width="100" height="75" />
							</a>
		</div>
	</div>
	
		
 		
	<div id="ngg-image-33" class="ngg-gallery-thumbnail-box"  >
		<div class="ngg-gallery-thumbnail" >
			<a href="http://www.shariqsheikh.com/blog/wp-content/gallery/tec2010/img_0143.jpg" title=" " class="shutterset_set_1" >
								<img title="img_0143" alt="img_0143" src="http://www.shariqsheikh.com/blog/wp-content/gallery/tec2010/thumbs/thumbs_img_0143.jpg" width="100" height="75" />
							</a>
		</div>
	</div>
	
		
 		
	<div id="ngg-image-34" class="ngg-gallery-thumbnail-box"  >
		<div class="ngg-gallery-thumbnail" >
			<a href="http://www.shariqsheikh.com/blog/wp-content/gallery/tec2010/img_0145.jpg" title=" " class="shutterset_set_1" >
								<img title="img_0145" alt="img_0145" src="http://www.shariqsheikh.com/blog/wp-content/gallery/tec2010/thumbs/thumbs_img_0145.jpg" width="100" height="75" />
							</a>
		</div>
	</div>
	
		
 		
	<div id="ngg-image-35" class="ngg-gallery-thumbnail-box"  >
		<div class="ngg-gallery-thumbnail" >
			<a href="http://www.shariqsheikh.com/blog/wp-content/gallery/tec2010/img_0146.jpg" title=" " class="shutterset_set_1" >
								<img title="img_0146" alt="img_0146" src="http://www.shariqsheikh.com/blog/wp-content/gallery/tec2010/thumbs/thumbs_img_0146.jpg" width="100" height="75" />
							</a>
		</div>
	</div>
	
		
 		
	<div id="ngg-image-36" class="ngg-gallery-thumbnail-box"  >
		<div class="ngg-gallery-thumbnail" >
			<a href="http://www.shariqsheikh.com/blog/wp-content/gallery/tec2010/img_0149.jpg" title=" " class="shutterset_set_1" >
								<img title="img_0149" alt="img_0149" src="http://www.shariqsheikh.com/blog/wp-content/gallery/tec2010/thumbs/thumbs_img_0149.jpg" width="100" height="75" />
							</a>
		</div>
	</div>
	
		
 		
	<div id="ngg-image-37" class="ngg-gallery-thumbnail-box"  >
		<div class="ngg-gallery-thumbnail" >
			<a href="http://www.shariqsheikh.com/blog/wp-content/gallery/tec2010/img_0150.jpg" title=" " class="shutterset_set_1" >
								<img title="img_0150" alt="img_0150" src="http://www.shariqsheikh.com/blog/wp-content/gallery/tec2010/thumbs/thumbs_img_0150.jpg" width="100" height="75" />
							</a>
		</div>
	</div>
	
		
 		
	<div id="ngg-image-38" class="ngg-gallery-thumbnail-box"  >
		<div class="ngg-gallery-thumbnail" >
			<a href="http://www.shariqsheikh.com/blog/wp-content/gallery/tec2010/img_0151.jpg" title=" " class="shutterset_set_1" >
								<img title="img_0151" alt="img_0151" src="http://www.shariqsheikh.com/blog/wp-content/gallery/tec2010/thumbs/thumbs_img_0151.jpg" width="100" height="75" />
							</a>
		</div>
	</div>
	
		
 		
	<div id="ngg-image-39" class="ngg-gallery-thumbnail-box"  >
		<div class="ngg-gallery-thumbnail" >
			<a href="http://www.shariqsheikh.com/blog/wp-content/gallery/tec2010/img_0152.jpg" title=" " class="shutterset_set_1" >
								<img title="img_0152" alt="img_0152" src="http://www.shariqsheikh.com/blog/wp-content/gallery/tec2010/thumbs/thumbs_img_0152.jpg" width="100" height="75" />
							</a>
		</div>
	</div>
	
		
 		
	<div id="ngg-image-40" class="ngg-gallery-thumbnail-box"  >
		<div class="ngg-gallery-thumbnail" >
			<a href="http://www.shariqsheikh.com/blog/wp-content/gallery/tec2010/img_0080.jpg" title=" " class="shutterset_set_1" >
								<img title="img_0080" alt="img_0080" src="http://www.shariqsheikh.com/blog/wp-content/gallery/tec2010/thumbs/thumbs_img_0080.jpg" width="100" height="75" />
							</a>
		</div>
	</div>
	
		
 		
	<div id="ngg-image-41" class="ngg-gallery-thumbnail-box"  >
		<div class="ngg-gallery-thumbnail" >
			<a href="http://www.shariqsheikh.com/blog/wp-content/gallery/tec2010/tec-chicken.png" title=" " class="shutterset_set_1" >
								<img title="tec-chicken" alt="tec-chicken" src="http://www.shariqsheikh.com/blog/wp-content/gallery/tec2010/thumbs/thumbs_tec-chicken.png" width="93" height="75" />
							</a>
		</div>
	</div>
	
		
 		
	<div id="ngg-image-42" class="ngg-gallery-thumbnail-box"  >
		<div class="ngg-gallery-thumbnail" >
			<a href="http://www.shariqsheikh.com/blog/wp-content/gallery/tec2010/img_0069.jpg" title=" " class="shutterset_set_1" >
								<img title="img_0069" alt="img_0069" src="http://www.shariqsheikh.com/blog/wp-content/gallery/tec2010/thumbs/thumbs_img_0069.jpg" width="100" height="75" />
							</a>
		</div>
	</div>
	
		
 		
	<div id="ngg-image-43" class="ngg-gallery-thumbnail-box"  >
		<div class="ngg-gallery-thumbnail" >
			<a href="http://www.shariqsheikh.com/blog/wp-content/gallery/tec2010/img_0070.jpg" title=" " class="shutterset_set_1" >
								<img title="img_0070" alt="img_0070" src="http://www.shariqsheikh.com/blog/wp-content/gallery/tec2010/thumbs/thumbs_img_0070.jpg" width="100" height="75" />
							</a>
		</div>
	</div>
	
		
 		
	<div id="ngg-image-44" class="ngg-gallery-thumbnail-box"  >
		<div class="ngg-gallery-thumbnail" >
			<a href="http://www.shariqsheikh.com/blog/wp-content/gallery/tec2010/img_0071.jpg" title=" " class="shutterset_set_1" >
								<img title="img_0071" alt="img_0071" src="http://www.shariqsheikh.com/blog/wp-content/gallery/tec2010/thumbs/thumbs_img_0071.jpg" width="100" height="75" />
							</a>
		</div>
	</div>
	
		
 		
	<div id="ngg-image-45" class="ngg-gallery-thumbnail-box"  >
		<div class="ngg-gallery-thumbnail" >
			<a href="http://www.shariqsheikh.com/blog/wp-content/gallery/tec2010/img_0072.jpg" title=" " class="shutterset_set_1" >
								<img title="img_0072" alt="img_0072" src="http://www.shariqsheikh.com/blog/wp-content/gallery/tec2010/thumbs/thumbs_img_0072.jpg" width="100" height="75" />
							</a>
		</div>
	</div>
	
		
 		
	<div id="ngg-image-46" class="ngg-gallery-thumbnail-box"  >
		<div class="ngg-gallery-thumbnail" >
			<a href="http://www.shariqsheikh.com/blog/wp-content/gallery/tec2010/img_0073.jpg" title=" " class="shutterset_set_1" >
								<img title="img_0073" alt="img_0073" src="http://www.shariqsheikh.com/blog/wp-content/gallery/tec2010/thumbs/thumbs_img_0073.jpg" width="100" height="75" />
							</a>
		</div>
	</div>
	
		
 		
	<div id="ngg-image-47" class="ngg-gallery-thumbnail-box"  >
		<div class="ngg-gallery-thumbnail" >
			<a href="http://www.shariqsheikh.com/blog/wp-content/gallery/tec2010/img_0075.jpg" title=" " class="shutterset_set_1" >
								<img title="img_0075" alt="img_0075" src="http://www.shariqsheikh.com/blog/wp-content/gallery/tec2010/thumbs/thumbs_img_0075.jpg" width="100" height="75" />
							</a>
		</div>
	</div>
	
		
 		
	<div id="ngg-image-48" class="ngg-gallery-thumbnail-box"  >
		<div class="ngg-gallery-thumbnail" >
			<a href="http://www.shariqsheikh.com/blog/wp-content/gallery/tec2010/img_0079.jpg" title=" " class="shutterset_set_1" >
								<img title="img_0079" alt="img_0079" src="http://www.shariqsheikh.com/blog/wp-content/gallery/tec2010/thumbs/thumbs_img_0079.jpg" width="100" height="75" />
							</a>
		</div>
	</div>
	
		
 		
	<div id="ngg-image-49" class="ngg-gallery-thumbnail-box"  >
		<div class="ngg-gallery-thumbnail" >
			<a href="http://www.shariqsheikh.com/blog/wp-content/gallery/tec2010/img_0080_0.jpg" title=" " class="shutterset_set_1" >
								<img title="img_0080_0" alt="img_0080_0" src="http://www.shariqsheikh.com/blog/wp-content/gallery/tec2010/thumbs/thumbs_img_0080_0.jpg" width="100" height="75" />
							</a>
		</div>
	</div>
	
		
 		
	<div id="ngg-image-50" class="ngg-gallery-thumbnail-box"  >
		<div class="ngg-gallery-thumbnail" >
			<a href="http://www.shariqsheikh.com/blog/wp-content/gallery/tec2010/img_0077_0.jpg" title=" " class="shutterset_set_1" >
								<img title="img_0077_0" alt="img_0077_0" src="http://www.shariqsheikh.com/blog/wp-content/gallery/tec2010/thumbs/thumbs_img_0077_0.jpg" width="100" height="75" />
							</a>
		</div>
	</div>
	
		
 		
	<div id="ngg-image-51" class="ngg-gallery-thumbnail-box"  >
		<div class="ngg-gallery-thumbnail" >
			<a href="http://www.shariqsheikh.com/blog/wp-content/gallery/tec2010/img_0079_0.jpg" title=" " class="shutterset_set_1" >
								<img title="img_0079_0" alt="img_0079_0" src="http://www.shariqsheikh.com/blog/wp-content/gallery/tec2010/thumbs/thumbs_img_0079_0.jpg" width="100" height="75" />
							</a>
		</div>
	</div>
	
		
 		
	<div id="ngg-image-52" class="ngg-gallery-thumbnail-box"  >
		<div class="ngg-gallery-thumbnail" >
			<a href="http://www.shariqsheikh.com/blog/wp-content/gallery/tec2010/img_0080_1.jpg" title=" " class="shutterset_set_1" >
								<img title="img_0080_1" alt="img_0080_1" src="http://www.shariqsheikh.com/blog/wp-content/gallery/tec2010/thumbs/thumbs_img_0080_1.jpg" width="100" height="75" />
							</a>
		</div>
	</div>
	
		
 		
	<div id="ngg-image-53" class="ngg-gallery-thumbnail-box"  >
		<div class="ngg-gallery-thumbnail" >
			<a href="http://www.shariqsheikh.com/blog/wp-content/gallery/tec2010/img_0082.jpg" title=" " class="shutterset_set_1" >
								<img title="img_0082" alt="img_0082" src="http://www.shariqsheikh.com/blog/wp-content/gallery/tec2010/thumbs/thumbs_img_0082.jpg" width="100" height="75" />
							</a>
		</div>
	</div>
	
		
 		
	<div id="ngg-image-54" class="ngg-gallery-thumbnail-box"  >
		<div class="ngg-gallery-thumbnail" >
			<a href="http://www.shariqsheikh.com/blog/wp-content/gallery/tec2010/img_0083.jpg" title=" " class="shutterset_set_1" >
								<img title="img_0083" alt="img_0083" src="http://www.shariqsheikh.com/blog/wp-content/gallery/tec2010/thumbs/thumbs_img_0083.jpg" width="100" height="75" />
							</a>
		</div>
	</div>
	
		
 		
	<div id="ngg-image-55" class="ngg-gallery-thumbnail-box"  >
		<div class="ngg-gallery-thumbnail" >
			<a href="http://www.shariqsheikh.com/blog/wp-content/gallery/tec2010/img_0084.jpg" title=" " class="shutterset_set_1" >
								<img title="img_0084" alt="img_0084" src="http://www.shariqsheikh.com/blog/wp-content/gallery/tec2010/thumbs/thumbs_img_0084.jpg" width="100" height="75" />
							</a>
		</div>
	</div>
	
		
 		
	<div id="ngg-image-56" class="ngg-gallery-thumbnail-box"  >
		<div class="ngg-gallery-thumbnail" >
			<a href="http://www.shariqsheikh.com/blog/wp-content/gallery/tec2010/img_0085.jpg" title=" " class="shutterset_set_1" >
								<img title="img_0085" alt="img_0085" src="http://www.shariqsheikh.com/blog/wp-content/gallery/tec2010/thumbs/thumbs_img_0085.jpg" width="100" height="75" />
							</a>
		</div>
	</div>
	
		
 		
	<div id="ngg-image-57" class="ngg-gallery-thumbnail-box"  >
		<div class="ngg-gallery-thumbnail" >
			<a href="http://www.shariqsheikh.com/blog/wp-content/gallery/tec2010/img_0086.jpg" title=" " class="shutterset_set_1" >
								<img title="img_0086" alt="img_0086" src="http://www.shariqsheikh.com/blog/wp-content/gallery/tec2010/thumbs/thumbs_img_0086.jpg" width="100" height="75" />
							</a>
		</div>
	</div>
	
		
 	 	
	<!-- Pagination -->
 	<div class='ngg-clear'></div>
 	
</div>


<p><a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save?linkurl=http%3A%2F%2Fwww.shariqsheikh.com%2Fblog%2Findex.php%2F201004%2Fthe-experts-conference-2010%2F&amp;linkname=The%20Experts%20Conference%202010">Share/Bookmark</a> </p>]]></content:encoded>
			<wfw:commentRss>http://www.shariqsheikh.com/blog/index.php/201004/the-experts-conference-2010/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>PowerShell : What’s my PowerShell version ?</title>
		<link>http://www.shariqsheikh.com/blog/index.php/201003/powershell-whats-my-powershell-version/</link>
		<comments>http://www.shariqsheikh.com/blog/index.php/201003/powershell-whats-my-powershell-version/#comments</comments>
		<pubDate>Tue, 09 Mar 2010 16:26:02 +0000</pubDate>
		<dc:creator>Rick</dc:creator>
				<category><![CDATA[PowerShell]]></category>

		<guid isPermaLink="false">http://www.shariqsheikh.com/blog/index.php/201003/powershell-whats-my-powershell-version/</guid>
		<description><![CDATA[There are two types of PowerShell versions out there. PowerShell v1 that dates back to 2006 and the PowerShell v2 that is bundled with Windows 7 and Windows Server 2008 R2, and also mysteriously released for down level clients such as Windows Vista and XP (under vaguely named Windows Management Framework (Windows PowerShell 2.0, WinRM [...]]]></description>
			<content:encoded><![CDATA[<p>There are two types of PowerShell versions out there. PowerShell v1 that dates back to 2006 and the PowerShell v2 that is bundled with Windows 7 and Windows Server 2008 R2, and also mysteriously released for down level clients such as Windows Vista and XP (under vaguely named <a href="http://support.microsoft.com/kb/968929">Windows Management Framework (Windows PowerShell 2.0, WinRM 2.0, and BITS 4.0</a>). </p>
<p>An easy of distinguishing both versions is to look for a PowerShell variable called <strong>$psversiontable</strong>. If it is not defined, then you are running v1. If it is there, you have v2. You can also look at a registry key to differentiate between v1 and v2: <em>HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\PowerShell\1\PowerShellEngine\PowerShellVersion</em>. </p>
<p>Note that if PowerShell was installed as an update package you may not find it under installed software. You may have to look at the update packages. Also note that PowerShell v2 can be installed over v1 without having to uninstall v1 first. If you were running any CTP versions than the install may make you find and manually uninstall v1 first.  </p>
<p><a href="http://www.shariqsheikh.com/blog/wp-content/uploads/2010/03/image.png"><img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="image" border="0" alt="image" src="http://www.shariqsheikh.com/blog/wp-content/uploads/2010/03/image_thumb.png" width="796" height="241"/></a></p>
<p><a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save?linkurl=http%3A%2F%2Fwww.shariqsheikh.com%2Fblog%2Findex.php%2F201003%2Fpowershell-whats-my-powershell-version%2F&amp;linkname=PowerShell%20%3A%20What%E2%80%99s%20my%20PowerShell%20version%20%3F">Share/Bookmark</a> </p>]]></content:encoded>
			<wfw:commentRss>http://www.shariqsheikh.com/blog/index.php/201003/powershell-whats-my-powershell-version/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>PowerShell : How do I fix displayName attribute for all users in Active Directory ?</title>
		<link>http://www.shariqsheikh.com/blog/index.php/201002/powershell-how-do-i-fix-displayname-attribute-for-all-users-in-active-directory/</link>
		<comments>http://www.shariqsheikh.com/blog/index.php/201002/powershell-how-do-i-fix-displayname-attribute-for-all-users-in-active-directory/#comments</comments>
		<pubDate>Fri, 19 Feb 2010 22:16:25 +0000</pubDate>
		<dc:creator>Rick</dc:creator>
				<category><![CDATA[Active Directory]]></category>
		<category><![CDATA[PowerShell]]></category>
		<category><![CDATA[One-liner]]></category>

		<guid isPermaLink="false">http://www.shariqsheikh.com/blog/index.php/201002/powershell-how-do-i-fix-displayname-attribute-for-all-users-in-active-directory/</guid>
		<description><![CDATA[For small shops that do not leverage automated provisioning tools, they face challenge in keeping the attributes for Users and other objects in AD standardized. For similar situation, recently I was asked from Access Control team if there is an easy way to fix the displayName attribute for all users or to fill in the [...]]]></description>
			<content:encoded><![CDATA[<p>For small shops that do not leverage automated provisioning tools, they face challenge in keeping the attributes for Users and other objects in AD standardized. For similar situation, recently I was asked from Access Control team if there is an easy way to fix the displayName attribute for all users or to fill in the display name where its missing based on the Users’ first and last name. The answer is a simple PowerShell one-liner using Quest Cmdlets.</p>
<p>Using <strong><em>Get-QADUser</em></strong> cmdlet, you can define the location of all your users using the –searchlevel parameter or you can sweep the whole directory for all user accounts. And then pipe the results to the <em>foreach</em> and use <em><strong>Set-QADuser</strong></em> to fix the display names (in this example) based on the users’ first and last name</p>
<div id="codeSnippetWrapper">
<pre class="csharpcode">Get-QADUser mydomain.int/users -sl 0 | <span class="kwrd">foreach</span> {Set-QADUser $_ -DisplayName (<span class="str">"{0} {1}"</span> -f $_.firstname,$_.lastname)}</pre>
<style type="text/css">.csharpcode, .csharpcode pre
{
	font-size: small;
	color: black;
	font-family: consolas, "Courier New", courier, monospace;
	background-color: #ffffff;
	/*white-space: pre;*/
}
.csharpcode pre { margin: 0em; }
.csharpcode .rem { color: #008000; }
.csharpcode .kwrd { color: #0000ff; }
.csharpcode .str { color: #006080; }
.csharpcode .op { color: #0000c0; }
.csharpcode .preproc { color: #cc6633; }
.csharpcode .asp { background-color: #ffff00; }
.csharpcode .html { color: #800000; }
.csharpcode .attr { color: #ff0000; }
.csharpcode .alt 
{
	background-color: #f4f4f4;
	width: 100%;
	margin: 0em;
}
.csharpcode .lnum { color: #606060; }
</style>
<style type="text/css">.csharpcode, .csharpcode pre
{
	font-size: small;
	color: black;
	font-family: consolas, "Courier New", courier, monospace;
	background-color: #ffffff;
	/*white-space: pre;*/
}
.csharpcode pre { margin: 0em; }
.csharpcode .rem { color: #008000; }
.csharpcode .kwrd { color: #0000ff; }
.csharpcode .str { color: #006080; }
.csharpcode .op { color: #0000c0; }
.csharpcode .preproc { color: #cc6633; }
.csharpcode .asp { background-color: #ffff00; }
.csharpcode .html { color: #800000; }
.csharpcode .attr { color: #ff0000; }
.csharpcode .alt 
{
	background-color: #f4f4f4;
	width: 100%;
	margin: 0em;
}
.csharpcode .lnum { color: #606060; }
</style>
<p><!-- .csharpcode, .csharpcode pre { 	font-size: small; 	color: black; 	font-family: consolas, "Courier New", courier, monospace; 	background-color: #ffffff; 	/*white-space: pre;*/ } .csharpcode pre { margin: 0em; } .csharpcode .rem { color: #008000; } .csharpcode .kwrd { color: #0000ff; } .csharpcode .str { color: #006080; } .csharpcode .op { color: #0000c0; } .csharpcode .preproc { color: #cc6633; } .csharpcode .asp { background-color: #ffff00; } .csharpcode .html { color: #800000; } .csharpcode .attr { color: #ff0000; } .csharpcode .alt  { 	background-color: #f4f4f4; 	width: 100%; 	margin: 0em; } .csharpcode .lnum { color: #606060; } --></p>
</div>
<p>The –sl 0 parameter defines the limit of users to 0.</p>
<p><a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save?linkurl=http%3A%2F%2Fwww.shariqsheikh.com%2Fblog%2Findex.php%2F201002%2Fpowershell-how-do-i-fix-displayname-attribute-for-all-users-in-active-directory%2F&amp;linkname=PowerShell%20%3A%20How%20do%20I%20fix%20displayName%20attribute%20for%20all%20users%20in%20Active%20Directory%20%3F">Share/Bookmark</a> </p>]]></content:encoded>
			<wfw:commentRss>http://www.shariqsheikh.com/blog/index.php/201002/powershell-how-do-i-fix-displayname-attribute-for-all-users-in-active-directory/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>PowerShell : How do I check Active Directory Tombstone Lifetime ?</title>
		<link>http://www.shariqsheikh.com/blog/index.php/201002/powershell-how-do-i-check-active-directory-tombstone-lifetime/</link>
		<comments>http://www.shariqsheikh.com/blog/index.php/201002/powershell-how-do-i-check-active-directory-tombstone-lifetime/#comments</comments>
		<pubDate>Wed, 10 Feb 2010 03:45:38 +0000</pubDate>
		<dc:creator>Rick</dc:creator>
				<category><![CDATA[Active Directory]]></category>
		<category><![CDATA[PowerShell]]></category>
		<category><![CDATA[Windows Server 2008 R2]]></category>

		<guid isPermaLink="false">http://www.shariqsheikh.com/blog/index.php/201002/powershell-how-do-i-check-active-directory-tombstone-lifetime/</guid>
		<description><![CDATA[What is Active Directory Tombstone Lifetime (TSL) ? The tombstone lifetime in an Active Directory forest determines how long a deleted object (called a “tombstone”) is retained in Active Directory Domain Services (AD DS). The tombstone lifetime is determined by the value of the tombstoneLifetime attribute on the Directory Service object in the configuration directory [...]]]></description>
			<content:encoded><![CDATA[<p>What is Active Directory Tombstone Lifetime (TSL) ?</p>
<blockquote><p>The tombstone lifetime in an Active Directory forest determines how long a deleted object (called a “tombstone”) is retained in Active Directory Domain Services (AD DS). The tombstone lifetime is determined by the value of the <strong>tombstoneLifetime</strong> attribute on the Directory Service object in the configuration directory partition.</p></blockquote>
<p>Directory Services veteran and MVP Joe Richards has <a href="http://blog.joeware.net/2010/02/05/1896/">published a short blog entry</a> demystifying the confusion a <a href="http://technet.microsoft.com/en-us/library/cc784932%28WS.10%29.aspx">technet article</a> has caused in regards to how to go about figuring a TSL on a particular domain. Note that new forests that are installed with Windows Server 2003 with SP1 and up have a default tombstone lifetime of 180 days.</p>
<p>Joe shares his ADFIND tool to lookup the current value of the TSL attribute (irrespective of what OS was used to build the forest). Note that as Joe pointed out if this attribute is not set (i.e empty value) then the TSL is 60 days. Here I show you how to lookup the TSL with PowerShell.</p>
<p>Using Quest cmdlets :</p>
<blockquote><p>Get-QADbject “CN=Directory Service,CN=Windows NT,CN=Services,CN=Configuration,DC=yourdomain,DC=int” includeallproperties | Select TombstoneLifetime</p></blockquote>
<p>And with using native AD cmdlets (of ADWS) in Windows Server 2008 R2 :</p>
<blockquote><p>Get-ADObject -Identity “CN=Directory Service,CN=Windows NT,CN=Services,CN=Configuration,DC=R2,DC=lab” -properties tombstonelifetime</p></blockquote>
<p><a href="http://www.shariqsheikh.com/blog/wp-content/uploads/2010/02/TSL.png"><img style="border-top-width: 0px; display: inline; border-left-width: 0px; border-bottom-width: 0px; border-right-width: 0px" title="TSL" src="http://www.shariqsheikh.com/blog/wp-content/uploads/2010/02/TSL_thumb.png" border="0" alt="TSL" width="900" height="145" /></a></p>
<p>Also within PowerShell, you can also use ADSI to lookup the TSL value.</p>
<blockquote><p>[ADSI]$config=LDAP://cn=Directory Service,cn=Windows NT,cn=Services,cn=Configuration,DC=R2,dc=lab</p></blockquote>
<blockquote><p>$config.TombstoneLifetime</p></blockquote>
<p>Also, here is how you can use DSQUERY from the Windows Support Tools to lookup the TSL.</p>
<blockquote><p>dsquery * “CN=Directory Service,CN=Windows NT,CN=Services,CN=Configuration,DC=R2,DC=lab” -scope base –attr</p>
<p>tombstonelifetime</p></blockquote>
<p>Note that I have used my test forest’s DN of R2.lab in above examples, be sure to replace the values with your forest’s DN. Above query should be typed in one line.</p>
<p><a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save?linkurl=http%3A%2F%2Fwww.shariqsheikh.com%2Fblog%2Findex.php%2F201002%2Fpowershell-how-do-i-check-active-directory-tombstone-lifetime%2F&amp;linkname=PowerShell%20%3A%20How%20do%20I%20check%20Active%20Directory%20Tombstone%20Lifetime%20%3F">Share/Bookmark</a> </p>]]></content:encoded>
			<wfw:commentRss>http://www.shariqsheikh.com/blog/index.php/201002/powershell-how-do-i-check-active-directory-tombstone-lifetime/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Can I install KMS on Server Core ?</title>
		<link>http://www.shariqsheikh.com/blog/index.php/200912/can-i-install-kms-on-server-core/</link>
		<comments>http://www.shariqsheikh.com/blog/index.php/200912/can-i-install-kms-on-server-core/#comments</comments>
		<pubDate>Wed, 23 Dec 2009 22:49:54 +0000</pubDate>
		<dc:creator>Rick</dc:creator>
				<category><![CDATA[Server Core]]></category>
		<category><![CDATA[Windows Server 2008 R2]]></category>
		<category><![CDATA[KMS]]></category>
		<category><![CDATA[Volume Activation 2.0]]></category>

		<guid isPermaLink="false">http://www.shariqsheikh.com/blog/index.php/200912/can-i-install-kms-on-server-core/</guid>
		<description><![CDATA[Server Core seems to be the perfect candidate for installing KMS. Key Management Service mediates your Volume Licensing with Microsoft Activation Services and acts as the man-in-the-middle for the activation for all your KMS clients that comprise of Vista, Windows 7, Windows Server 2008 and R2. With Windows 7 and Windows Server 2008 R2, what [...]]]></description>
			<content:encoded><![CDATA[<p>Server Core seems to be the perfect candidate for installing KMS. Key Management Service mediates your Volume Licensing with Microsoft Activation Services and acts as the man-in-the-middle for the activation for all your KMS clients that comprise of Vista, Windows 7, Windows Server 2008 and R2. With Windows 7 and Windows Server 2008 R2, what you have in KMS is Volume Activation 2.0. In contrast with KMS, what you have is MAK that stands for <em>multiple activation key</em>. MAK is targeted for clients that stay off the network whereas KMS is designed for your internal clients. Following I have a simple overview design of how it works.</p>
<p><a href="http://www.shariqsheikh.com/blog/wp-content/uploads/2009/12/image.png"><img style="display: inline" title="image" alt="image" src="http://www.shariqsheikh.com/blog/wp-content/uploads/2009/12/image_thumb.png" width="876" height="506"/></a></p>
<p>My Windows Server 2008 R2 Server Core has a very small footprint, it is a single processor/20gb hd/512mb ram machine. The first thing you need is the KMS Host key from your Microsoft Volume Licensing site or from your TAM.<br />The command to register the machine as the KMS host is <em>slmgr /ipk &lt;your key&gt;</em></p>
<p><em></em><br /><a href="http://www.shariqsheikh.com/blog/wp-content/uploads/2009/12/mozscreenshot5.jpg"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="moz-screenshot-5" border="0" alt="moz-screenshot-5" src="http://www.shariqsheikh.com/blog/wp-content/uploads/2009/12/mozscreenshot5_thumb.jpg" width="660" height="326"/></a></p>
<p>Once it is registered, you need to activate the host itself. Run <em>slmgr -ato</em><br />You can check the status and brief description of the KMS host by running <em>slmgr –dli</em></p>
<p><em></em></p>
<p><a href="http://www.shariqsheikh.com/blog/wp-content/uploads/2009/12/mozscreenshot6.jpg"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="moz-screenshot-6" border="0" alt="moz-screenshot-6" src="http://www.shariqsheikh.com/blog/wp-content/uploads/2009/12/mozscreenshot6_thumb.jpg" width="670" height="480"/></a></p>
<p>The verbose information is provided via <em>slmgr –dlv</em></p>
<p><em></em></p>
<p><a href="http://www.shariqsheikh.com/blog/wp-content/uploads/2009/12/mozscreenshot7.jpg"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="moz-screenshot-7" border="0" alt="moz-screenshot-7" src="http://www.shariqsheikh.com/blog/wp-content/uploads/2009/12/mozscreenshot7_thumb.jpg" width="690" height="593"/></a></p>
<p>Once KMS is setup, it will register its SRV record in DNS. You can verify from your workstation if it has done so via,</p>
<p><em>nslookup -type=srv _vlmcs._tcp</em></p>
<p>From then on clients will automatically be reverted to your KMS host for activation but as hinted in the drawing above, starting with Windows 7 and 08 R2, the minimum threshold (activation attempts/requests) that are needed to fully activate the KMS host is 25 Vista/Windows 7 clients or 5 Server 2008 (R2). This number can comprise of virtual and physical loads, previously this was limited to physical systems only. The slmgr -dlv will show you the total requests received.<br />Note that the KMS is desgined to let you better manage your internal activation for compliance reason. Micrsoft does not go receive any internal information from between the KMS host and KMS client. KMS has you abide your EA Volume Licenseing, check the VL Product Groups shown in the diagram that are pertinent for your environment. I find the group B to be most commonly required.</p>
<p>Important note : Installing/configuring the KMS does not open up the pertinent firewall port (default port 1688). From running &#8220;slmgr -dli&#8221; you will notice that it says that the KMS is listening on port 1688 but the rule is not enabled so you may do so like this.</p>
<p>netsh advfirewall&gt;FIREWALL add rule name=&#8221;KMS&#8221; dir=in action=allow protocol=tcp<br />localport=1688<br />Ok.</p>
<p>For more information see this <a href="http://technet.microsoft.com/en-us/library/cc303280.aspx" target="_blank">link.</a></p>
<p><a href="http://technorati.com/tag/Server%20Core"></a></p>
<p><a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save?linkurl=http%3A%2F%2Fwww.shariqsheikh.com%2Fblog%2Findex.php%2F200912%2Fcan-i-install-kms-on-server-core%2F&amp;linkname=Can%20I%20install%20KMS%20on%20Server%20Core%20%3F">Share/Bookmark</a> </p>]]></content:encoded>
			<wfw:commentRss>http://www.shariqsheikh.com/blog/index.php/200912/can-i-install-kms-on-server-core/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
