<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>Comments for Dirk Van den Berghe</title>
	<atom:link href="http://dirkvandenberghe.com/comments/feed" rel="self" type="application/rss+xml" />
	<link>http://dirkvandenberghe.com</link>
	<description>a SharePoint Administrator&#039;s Blog</description>
	<lastBuildDate>Sat, 11 May 2013 09:36:50 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.5.1</generator>
	<item>
		<title>Comment on My Technet Gallery Scripts by Dirk</title>
		<link>http://dirkvandenberghe.com/2013/02/19/my-technet-gallery-scripts.html#comment-39577</link>
		<dc:creator>Dirk</dc:creator>
		<pubDate>Sat, 11 May 2013 09:36:50 +0000</pubDate>
		<guid isPermaLink="false">http://dirkvandenberghe.com/?p=327#comment-39577</guid>
		<description><![CDATA[Hi,

for you to be able to include the searchbase in the query, you could change the script to read the searchbase form the notes field as well.

The notes field could look like:
Filter:(&amp;(ObjectClass=Person)(Department=Management))
SearchBase:OU=Mgmt,OU=CorpUsers,DC=contoso,DC=com

Then you need to change the script as follows:

Replace:
&lt;code&gt;$filter = $group.info&lt;/code&gt;
Replace By
&lt;code&gt;$filter = &quot;&quot;
$searchbase = &quot;&quot;
$notesField = $group.info
$strArray = $notesField.Split(&quot;`r`n&quot;)
foreach($strField in $strArray)
{
   if ($strField.ToLower().StartsWith(&#039;filter:&#039;) -eq $true) 
   {
      $filter = $strField.ToLower().TrimStart(&#039;filter:&#039;)
   }
   if ($strField.ToLower().StartsWith(&#039;searchbase:&#039;) -eq $true) 
   {
      $searchbase = $strField.ToLower().TrimStart(&#039;searchbase:&#039;)
   }
}&lt;/code&gt;

Replace:
&lt;code&gt;$NewGroupMembers  = Get-ADObject -LDAPfilter $filter &#124; Sort-Object distinguishedName &lt;/code&gt;

Replace By:
&lt;code&gt;if ($searchbase -eq &quot;&quot;)
{
   $NewGroupMembers  = Get-ADObject -LDAPfilter $filter &#124; Sort-Object distinguishedName 
}      
else
{
   $NewGroupMembers  = Get-ADObject -LDAPfilter $filter -SearchBase $searchbase&#124; Sort-Object distinguishedName  
}&lt;/code&gt;]]></description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>for you to be able to include the searchbase in the query, you could change the script to read the searchbase form the notes field as well.</p>
<p>The notes field could look like:<br />
Filter:(&#038;(ObjectClass=Person)(Department=Management))<br />
SearchBase:OU=Mgmt,OU=CorpUsers,DC=contoso,DC=com</p>
<p>Then you need to change the script as follows:</p>
<p>Replace:<br />
<code>$filter = $group.info</code><br />
Replace By<br />
<code>$filter = ""<br />
$searchbase = ""<br />
$notesField = $group.info<br />
$strArray = $notesField.Split("`r`n")<br />
foreach($strField in $strArray)<br />
{<br />
   if ($strField.ToLower().StartsWith('filter:') -eq $true)<br />
   {<br />
      $filter = $strField.ToLower().TrimStart('filter:')<br />
   }<br />
   if ($strField.ToLower().StartsWith('searchbase:') -eq $true)<br />
   {<br />
      $searchbase = $strField.ToLower().TrimStart('searchbase:')<br />
   }<br />
}</code></p>
<p>Replace:<br />
<code>$NewGroupMembers  = Get-ADObject -LDAPfilter $filter | Sort-Object distinguishedName </code></p>
<p>Replace By:<br />
<code>if ($searchbase -eq "")<br />
{<br />
   $NewGroupMembers  = Get-ADObject -LDAPfilter $filter | Sort-Object distinguishedName<br />
}<br />
else<br />
{<br />
   $NewGroupMembers  = Get-ADObject -LDAPfilter $filter -SearchBase $searchbase| Sort-Object distinguishedName<br />
}</code></p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on My Technet Gallery Scripts by David M</title>
		<link>http://dirkvandenberghe.com/2013/02/19/my-technet-gallery-scripts.html#comment-39569</link>
		<dc:creator>David M</dc:creator>
		<pubDate>Sat, 11 May 2013 04:44:34 +0000</pubDate>
		<guid isPermaLink="false">http://dirkvandenberghe.com/?p=327#comment-39569</guid>
		<description><![CDATA[Hi Dirk, 

Great script. I have been trying to tweak it a little so I can set the -SearchBase and limit which OU&#039;s are searched in AD with little success. Is this something you could help out with? 

I have tried to add it to the notes field in AD which would give super granularity and control. I think the &quot; or &#039; are being added which is causing the script to fail. 

Thanks kindly

David]]></description>
		<content:encoded><![CDATA[<p>Hi Dirk, </p>
<p>Great script. I have been trying to tweak it a little so I can set the -SearchBase and limit which OU&#8217;s are searched in AD with little success. Is this something you could help out with? </p>
<p>I have tried to add it to the notes field in AD which would give super granularity and control. I think the &#8221; or &#8216; are being added which is causing the script to fail. </p>
<p>Thanks kindly</p>
<p>David</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on SPS2003 Lock site using command line: SPSiteManager by Dirk</title>
		<link>http://dirkvandenberghe.com/2009/03/23/sps2003-lock-site-using-command-line-spsitemanager.html#comment-39053</link>
		<dc:creator>Dirk</dc:creator>
		<pubDate>Mon, 29 Apr 2013 10:02:49 +0000</pubDate>
		<guid isPermaLink="false">/archive/2009/03/23/sps2003-lock-site-using-command-line-spsitemanager.aspx#comment-39053</guid>
		<description><![CDATA[Hi, 

AFAIK site locks only apply to entire site collections ans cannot be applied to subsites.

best regards,

Dirk]]></description>
		<content:encoded><![CDATA[<p>Hi, </p>
<p>AFAIK site locks only apply to entire site collections ans cannot be applied to subsites.</p>
<p>best regards,</p>
<p>Dirk</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on SPS2003 Lock site using command line: SPSiteManager by Avian</title>
		<link>http://dirkvandenberghe.com/2009/03/23/sps2003-lock-site-using-command-line-spsitemanager.html#comment-39052</link>
		<dc:creator>Avian</dc:creator>
		<pubDate>Mon, 29 Apr 2013 09:57:56 +0000</pubDate>
		<guid isPermaLink="false">/archive/2009/03/23/sps2003-lock-site-using-command-line-spsitemanager.aspx#comment-39052</guid>
		<description><![CDATA[Hello

I used and tested the tool for locking and unlocking SharePoint 2003 sites. It is a great tool and served my purpose. Now I am stuck in one place. I have following type of site hierarchy
/Topsite/subsiste1/subsite11/subsite111/subsite1111

Is ther any way that I can only lock subsite111 only. I run the spsitemanager command but it is locking site from topsite to low level site. Please let me know how can I do this, is it possible?

I also noticed that in SP2003 Central Admin, you can only lock top level site not any subsite.

Thanks
Avian]]></description>
		<content:encoded><![CDATA[<p>Hello</p>
<p>I used and tested the tool for locking and unlocking SharePoint 2003 sites. It is a great tool and served my purpose. Now I am stuck in one place. I have following type of site hierarchy<br />
/Topsite/subsiste1/subsite11/subsite111/subsite1111</p>
<p>Is ther any way that I can only lock subsite111 only. I run the spsitemanager command but it is locking site from topsite to low level site. Please let me know how can I do this, is it possible?</p>
<p>I also noticed that in SP2003 Central Admin, you can only lock top level site not any subsite.</p>
<p>Thanks<br />
Avian</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Remove HTTP Response Headers for internet facing SharePoint sites by Dirk</title>
		<link>http://dirkvandenberghe.com/2011/06/07/remove-http-response-headers-for-internet-facing-sharepoint-sites.html#comment-36605</link>
		<dc:creator>Dirk</dc:creator>
		<pubDate>Mon, 18 Mar 2013 07:20:41 +0000</pubDate>
		<guid isPermaLink="false">http://dirkvandenberghe.com/?p=252#comment-36605</guid>
		<description><![CDATA[Hi,

as I am not a developer I cannot give you any guidance as to how to package these modifications into a SharePoint solution. I am pretty sure it can be done as these modifications include settings in the web.config file and the IIS folder file.

best regards,
Dirk]]></description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>as I am not a developer I cannot give you any guidance as to how to package these modifications into a SharePoint solution. I am pretty sure it can be done as these modifications include settings in the web.config file and the IIS folder file.</p>
<p>best regards,<br />
Dirk</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Remove HTTP Response Headers for internet facing SharePoint sites by M.alrifaie</title>
		<link>http://dirkvandenberghe.com/2011/06/07/remove-http-response-headers-for-internet-facing-sharepoint-sites.html#comment-36604</link>
		<dc:creator>M.alrifaie</dc:creator>
		<pubDate>Mon, 18 Mar 2013 07:08:35 +0000</pubDate>
		<guid isPermaLink="false">http://dirkvandenberghe.com/?p=252#comment-36604</guid>
		<description><![CDATA[Dears ,
i want to do the above code as a package to deploy on farm ,
how ?

thanks in advance .]]></description>
		<content:encoded><![CDATA[<p>Dears ,<br />
i want to do the above code as a package to deploy on farm ,<br />
how ?</p>
<p>thanks in advance .</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on SharePoint 2013 Login as a different user by Cory Peters</title>
		<link>http://dirkvandenberghe.com/2012/07/18/sharepoint-2013-login-as-a-different-user.html#comment-33047</link>
		<dc:creator>Cory Peters</dc:creator>
		<pubDate>Fri, 05 Oct 2012 05:30:33 +0000</pubDate>
		<guid isPermaLink="false">http://dirkvandenberghe.com/?p=305#comment-33047</guid>
		<description><![CDATA[I&#039;ve just posted a blog on the subject. My solution is to create a JavaScript bookmarklet using your URL plus some client object model. A bit more convenient than a runas shortcut but as you say, maybe not as reliable.

http://corypeters.net/2012/10/sharepoint-2013-sign-in-as-another-user/]]></description>
		<content:encoded><![CDATA[<p>I&#8217;ve just posted a blog on the subject. My solution is to create a JavaScript bookmarklet using your URL plus some client object model. A bit more convenient than a runas shortcut but as you say, maybe not as reliable.</p>
<p><a href="http://corypeters.net/2012/10/sharepoint-2013-sign-in-as-another-user/" rel="nofollow">http://corypeters.net/2012/10/sharepoint-2013-sign-in-as-another-user/</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Edit Sharepoint page from IE7 does not work by Frustrated MOSS user</title>
		<link>http://dirkvandenberghe.com/2007/10/22/edit-sharepoint-page-from-ie7-does-not-work.html#comment-31994</link>
		<dc:creator>Frustrated MOSS user</dc:creator>
		<pubDate>Wed, 15 Aug 2012 20:06:32 +0000</pubDate>
		<guid isPermaLink="false">/archive/2007/10/22/edit-sharepoint-page-from-ie7-does-not-work.aspx#comment-31994</guid>
		<description><![CDATA[Thank You Dirk. Your tip helped me a lot]]></description>
		<content:encoded><![CDATA[<p>Thank You Dirk. Your tip helped me a lot</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on SharePoint 2013 Login as a different user by Reeves Little</title>
		<link>http://dirkvandenberghe.com/2012/07/18/sharepoint-2013-login-as-a-different-user.html#comment-31209</link>
		<dc:creator>Reeves Little</dc:creator>
		<pubDate>Wed, 18 Jul 2012 06:42:25 +0000</pubDate>
		<guid isPermaLink="false">http://dirkvandenberghe.com/?p=305#comment-31209</guid>
		<description><![CDATA[Unfortunately the login as other user is unlikely to reappear anytime soon. My recomendation is to &lt;a href=&quot;http://www.little.org/blog/2012/07/17/launch-your-web-browser-as-another-user/&quot; rel=&quot;nofollow&quot;&gt;use a runas.exe shortcut to launch browser as another user&lt;/a&gt;. Less convenient, but more reliable in the long run.]]></description>
		<content:encoded><![CDATA[<p>Unfortunately the login as other user is unlikely to reappear anytime soon. My recomendation is to <a href="http://www.little.org/blog/2012/07/17/launch-your-web-browser-as-another-user/" rel="nofollow">use a runas.exe shortcut to launch browser as another user</a>. Less convenient, but more reliable in the long run.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Revert a SharePoint 2010 site to the WSS3.0/MOSS2007 Look after Visual Upgrade by Sambit</title>
		<link>http://dirkvandenberghe.com/2009/12/04/revert-a-sharepoint-2010-site-to-the-wss3-0-moss2007-look-after-visual-upgrade.html#comment-31186</link>
		<dc:creator>Sambit</dc:creator>
		<pubDate>Tue, 17 Jul 2012 06:51:31 +0000</pubDate>
		<guid isPermaLink="false">/archive/2009/12/04/revert-a-sharepoint-2010-site-to-the-wss3-0-moss2007-look-after-visual-upgrade.aspx#comment-31186</guid>
		<description><![CDATA[I believe this code: $site = Get-SPSite(“http://portal“)
$web = $site.OpenWeb()
$web.UIVersion = 3
$web.Update()
$web.Dispose()
$site.Dispose()

need to be put into the powershell cmd line on the application/wfe server]]></description>
		<content:encoded><![CDATA[<p>I believe this code: $site = Get-SPSite(“http://portal“)<br />
$web = $site.OpenWeb()<br />
$web.UIVersion = 3<br />
$web.Update()<br />
$web.Dispose()<br />
$site.Dispose()</p>
<p>need to be put into the powershell cmd line on the application/wfe server</p>
]]></content:encoded>
	</item>
</channel>
</rss>
