<?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 SharePoint Geek</title>
	<atom:link href="http://sharepoint-geek.com/comments/feed/" rel="self" type="application/rss+xml" />
	<link>http://sharepoint-geek.com</link>
	<description>Just another 9Rains Technology Sites site</description>
	<lastBuildDate>Mon, 30 Jan 2012 12:38:28 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>Comment on Sync SharePoint Foundation 2010 User Profiles To AD Using PowerShell by Stewart</title>
		<link>http://sharepoint-geek.com/2011/07/27/sync-sharepoint-foundation-2010-user-profiles-to-ad-using-powershell/#comment-11092</link>
		<dc:creator>Stewart</dc:creator>
		<pubDate>Mon, 30 Jan 2012 12:38:28 +0000</pubDate>
		<guid isPermaLink="false">http://sharepoint-geek.com/2011/07/27/sync-sharepoint-foundation-2010-user-profiles-to-ad-using-powershell/#comment-11092</guid>
		<description>Mickey, 
Unfortunately, that isn&#039;t quite as easy.  I am working on a script that will accomplish that and many other things.

Please keep checking my posts as I hope to have this completed soon.</description>
		<content:encoded><![CDATA[<p>Mickey,<br />
Unfortunately, that isn&#8217;t quite as easy.  I am working on a script that will accomplish that and many other things.</p>
<p>Please keep checking my posts as I hope to have this completed soon.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Sync SharePoint Foundation 2010 User Profiles To AD Using PowerShell by Stewart</title>
		<link>http://sharepoint-geek.com/2011/07/27/sync-sharepoint-foundation-2010-user-profiles-to-ad-using-powershell/#comment-11091</link>
		<dc:creator>Stewart</dc:creator>
		<pubDate>Mon, 30 Jan 2012 12:35:26 +0000</pubDate>
		<guid isPermaLink="false">http://sharepoint-geek.com/2011/07/27/sync-sharepoint-foundation-2010-user-profiles-to-ad-using-powershell/#comment-11091</guid>
		<description>You may have just been using this as a placeholder but is your domain rrrr.com or rrrrrr.com?</description>
		<content:encoded><![CDATA[<p>You may have just been using this as a placeholder but is your domain rrrr.com or rrrrrr.com?</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Sync SharePoint Foundation 2010 User Profiles To AD Using PowerShell by Ezy</title>
		<link>http://sharepoint-geek.com/2011/07/27/sync-sharepoint-foundation-2010-user-profiles-to-ad-using-powershell/#comment-10678</link>
		<dc:creator>Ezy</dc:creator>
		<pubDate>Fri, 20 Jan 2012 11:37:14 +0000</pubDate>
		<guid isPermaLink="false">http://sharepoint-geek.com/2011/07/27/sync-sharepoint-foundation-2010-user-profiles-to-ad-using-powershell/#comment-10678</guid>
		<description>Hi Stewart thanks for your quick response, i have specified the Organizational Unit at the root of my domain.com. but i still get the same error. Does it matter that my AD is on a different machine??
Below is the script i ran.
Thank YOU

[System.Reflection.Assembly]::LoadWithPartialName(&quot;Microsoft.SharePoint&quot;)
[System.Reflection.Assembly]::LoadWithPartialName(&quot;Microsoft.Office.Server&quot;)
[System.Reflection.Assembly]::LoadWithPartialName(&quot;Microsoft.Office.Server.UserProfiles&quot;)
$strFilter = &quot;(&amp;(objectCategory=User))&quot;

$objDomain = New-Object System.DirectoryServices.DirectoryEntry(&quot;LDAP://OU=royal users,dc=rrrr,dc=COM&quot;)
 
$objSearcher = New-Object System.DirectoryServices.DirectorySearcher

$objSearcher.SearchRoot = $objDomain

$objSearcher.PageSize = 1000

$objSearcher.Filter = $strFilter

$objSearcher.SearchScope = &quot;Subtree&quot;

 

$colProplist = (&quot;samaccountname&quot;)

foreach ($i in $colPropList) {

$objSearcher.PropertiesToLoad.Add($i)

}

 

$colResults = $objSearcher.FindAll()
$sites = Get-SPSite -Limit &quot;ALL&quot;


foreach ($objResult in $colResults) {

$objItem = $objResult.Properties

write-host
 $objResult.Properties[&quot;samaccountname&quot;] + &quot;@rrrrrr.COM&quot;

foreach ($site in $sites) {

set-spuser -Identity $userID -SyncFromAD -web $site.url -ErrorAction SilentlyContinue

if(!$error[0]) {

write-host $site.url &quot; - &quot; $userID

}

else {

#write-host $site.url &quot; - &quot; $error[0]

}

$error.clear()

}
}</description>
		<content:encoded><![CDATA[<p>Hi Stewart thanks for your quick response, i have specified the Organizational Unit at the root of my domain.com. but i still get the same error. Does it matter that my AD is on a different machine??<br />
Below is the script i ran.<br />
Thank YOU</p>
<p>[System.Reflection.Assembly]::LoadWithPartialName(&#8220;Microsoft.SharePoint&#8221;)<br />
[System.Reflection.Assembly]::LoadWithPartialName(&#8220;Microsoft.Office.Server&#8221;)<br />
[System.Reflection.Assembly]::LoadWithPartialName(&#8220;Microsoft.Office.Server.UserProfiles&#8221;)<br />
$strFilter = &#8220;(&amp;(objectCategory=User))&#8221;</p>
<p>$objDomain = New-Object System.DirectoryServices.DirectoryEntry(&#8220;LDAP://OU=royal users,dc=rrrr,dc=COM&#8221;)</p>
<p>$objSearcher = New-Object System.DirectoryServices.DirectorySearcher</p>
<p>$objSearcher.SearchRoot = $objDomain</p>
<p>$objSearcher.PageSize = 1000</p>
<p>$objSearcher.Filter = $strFilter</p>
<p>$objSearcher.SearchScope = &#8220;Subtree&#8221;</p>
<p>$colProplist = (&#8220;samaccountname&#8221;)</p>
<p>foreach ($i in $colPropList) {</p>
<p>$objSearcher.PropertiesToLoad.Add($i)</p>
<p>}</p>
<p>$colResults = $objSearcher.FindAll()<br />
$sites = Get-SPSite -Limit &#8220;ALL&#8221;</p>
<p>foreach ($objResult in $colResults) {</p>
<p>$objItem = $objResult.Properties</p>
<p>write-host<br />
 $objResult.Properties["samaccountname"] + &#8220;@rrrrrr.COM&#8221;</p>
<p>foreach ($site in $sites) {</p>
<p>set-spuser -Identity $userID -SyncFromAD -web $site.url -ErrorAction SilentlyContinue</p>
<p>if(!$error[0]) {</p>
<p>write-host $site.url &#8221; &#8211; &#8221; $userID</p>
<p>}</p>
<p>else {</p>
<p>#write-host $site.url &#8221; &#8211; &#8221; $error[0]</p>
<p>}</p>
<p>$error.clear()</p>
<p>}<br />
}</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Sync SharePoint Foundation 2010 User Profiles To AD Using PowerShell by mickey</title>
		<link>http://sharepoint-geek.com/2011/07/27/sync-sharepoint-foundation-2010-user-profiles-to-ad-using-powershell/#comment-10658</link>
		<dc:creator>mickey</dc:creator>
		<pubDate>Thu, 19 Jan 2012 22:29:28 +0000</pubDate>
		<guid isPermaLink="false">http://sharepoint-geek.com/2011/07/27/sync-sharepoint-foundation-2010-user-profiles-to-ad-using-powershell/#comment-10658</guid>
		<description>How do I syncronize email. I don&#039;t see it here. I tried adding the property to load &quot;mail&quot; and nothing appears. Did and echo to check that it was getting email but instead got error of cannot index into null array. The sammaccount name works fine.

And if I do find it..how do i syncronize with sharepoint.</description>
		<content:encoded><![CDATA[<p>How do I syncronize email. I don&#8217;t see it here. I tried adding the property to load &#8220;mail&#8221; and nothing appears. Did and echo to check that it was getting email but instead got error of cannot index into null array. The sammaccount name works fine.</p>
<p>And if I do find it..how do i syncronize with sharepoint.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Sync SharePoint Foundation 2010 User Profiles To AD Using PowerShell by Stewart</title>
		<link>http://sharepoint-geek.com/2011/07/27/sync-sharepoint-foundation-2010-user-profiles-to-ad-using-powershell/#comment-10639</link>
		<dc:creator>Stewart</dc:creator>
		<pubDate>Thu, 19 Jan 2012 16:40:06 +0000</pubDate>
		<guid isPermaLink="false">http://sharepoint-geek.com/2011/07/27/sync-sharepoint-foundation-2010-user-profiles-to-ad-using-powershell/#comment-10639</guid>
		<description>Ezy,
Have you verified that your LDAP object is valid?

The object specified below is the &quot;Users&quot; Organizational Unit at the root of the &quot;domain.com&quot; domain.  You may have something like domain.local for the domain.

LDAP://OU=Users,dc=DOMAIN,dc=COM</description>
		<content:encoded><![CDATA[<p>Ezy,<br />
Have you verified that your LDAP object is valid?</p>
<p>The object specified below is the &#8220;Users&#8221; Organizational Unit at the root of the &#8220;domain.com&#8221; domain.  You may have something like domain.local for the domain.</p>
<p>LDAP://OU=Users,dc=DOMAIN,dc=COM</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Sync SharePoint Foundation 2010 User Profiles To AD Using PowerShell by Ezy</title>
		<link>http://sharepoint-geek.com/2011/07/27/sync-sharepoint-foundation-2010-user-profiles-to-ad-using-powershell/#comment-10632</link>
		<dc:creator>Ezy</dc:creator>
		<pubDate>Thu, 19 Jan 2012 14:34:24 +0000</pubDate>
		<guid isPermaLink="false">http://sharepoint-geek.com/2011/07/27/sync-sharepoint-foundation-2010-user-profiles-to-ad-using-powershell/#comment-10632</guid>
		<description>Hi Stewart, I tried the script including the last point you gave Tobias but got the following error. please what can i do.

PS C:\Users\Administrator&gt; $colResults = $objSearcher.FindAll()
Exception calling &quot;FindAll&quot; with &quot;0&quot; argument(s): &quot;The specified domain either does not exist or could not be contacted
.
&quot;
At line:1 char:35
+ $colResults = $objSearcher.FindAll &lt;&lt;&lt; $sites = Get-SPSite -Limit &quot;ALL&quot;
The term &#039;Get-SPSite&#039; is not recognized as the name of a cmdlet, function, script file, or operable program. Check the
spelling of the name, or if a path was included, verify that the path is correct and try again.
At line:1 char:20
+ $sites = Get-SPSite &lt;&lt;&lt;&lt;  -Limit &quot;ALL&quot;
    + CategoryInfo          : ObjectNotFound: (Get-SPSite:String) [], CommandNotFoundException
    + FullyQualifiedErrorId : CommandNotFoundException</description>
		<content:encoded><![CDATA[<p>Hi Stewart, I tried the script including the last point you gave Tobias but got the following error. please what can i do.</p>
<p>PS C:\Users\Administrator&gt; $colResults = $objSearcher.FindAll()<br />
Exception calling &#8220;FindAll&#8221; with &#8220;0&#8243; argument(s): &#8220;The specified domain either does not exist or could not be contacted<br />
.<br />
&#8221;<br />
At line:1 char:35<br />
+ $colResults = $objSearcher.FindAll &lt;&lt;&lt; $sites = Get-SPSite -Limit &#8220;ALL&#8221;<br />
The term &#8216;Get-SPSite&#8217; is not recognized as the name of a cmdlet, function, script file, or operable program. Check the<br />
spelling of the name, or if a path was included, verify that the path is correct and try again.<br />
At line:1 char:20<br />
+ $sites = Get-SPSite &lt;&lt;&lt;&lt;  -Limit &quot;ALL&quot;<br />
    + CategoryInfo          : ObjectNotFound: (Get-SPSite:String) [], CommandNotFoundException<br />
    + FullyQualifiedErrorId : CommandNotFoundException</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on SharePoint Alerts Not Working by Ian</title>
		<link>http://sharepoint-geek.com/2009/11/05/sharepoint-alerts-not-working/#comment-10429</link>
		<dc:creator>Ian</dc:creator>
		<pubDate>Fri, 13 Jan 2012 16:58:32 +0000</pubDate>
		<guid isPermaLink="false">http://sharepoint-geek.com/2009/11/05/sharepoint-alerts-not-working/#comment-10429</guid>
		<description>That was greatly appreaciated. Fortunately ADMINISTRATOR was in the Farm so it worked without having to add anything to it.

Appreciate the advice.</description>
		<content:encoded><![CDATA[<p>That was greatly appreaciated. Fortunately ADMINISTRATOR was in the Farm so it worked without having to add anything to it.</p>
<p>Appreciate the advice.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on SharePoint Alerts Not Working by Stewart</title>
		<link>http://sharepoint-geek.com/2009/11/05/sharepoint-alerts-not-working/#comment-10414</link>
		<dc:creator>Stewart</dc:creator>
		<pubDate>Fri, 13 Jan 2012 13:33:59 +0000</pubDate>
		<guid isPermaLink="false">http://sharepoint-geek.com/2009/11/05/sharepoint-alerts-not-working/#comment-10414</guid>
		<description>Only if the Local Administrator account is a SharePoint Farm Administrator, which I kinda doubt.

In Central [Administration] - [Security] - [Manage the farm administrators group] you will see the accounts that would work.

&lt;a href=&quot;http://spgeek.9rains.com/files/2012/01/farm_administrators_group.png&quot; rel=&quot;nofollow&quot;&gt;&lt;img src=&quot;http://spgeek.9rains.com/files/2012/01/farm_administrators_group.png&quot; width=&quot;530px&quot; /&gt;&lt;/a&gt;</description>
		<content:encoded><![CDATA[<p>Only if the Local Administrator account is a SharePoint Farm Administrator, which I kinda doubt.</p>
<p>In Central [Administration] &#8211; [Security] &#8211; [Manage the farm administrators group] you will see the accounts that would work.</p>
<p><a href="http://spgeek.9rains.com/files/2012/01/farm_administrators_group.png" rel="nofollow"><img src="http://spgeek.9rains.com/files/2012/01/farm_administrators_group.png" width="530px" /></a></p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on SharePoint Alerts Not Working by Ian</title>
		<link>http://sharepoint-geek.com/2009/11/05/sharepoint-alerts-not-working/#comment-10409</link>
		<dc:creator>Ian</dc:creator>
		<pubDate>Fri, 13 Jan 2012 12:33:27 +0000</pubDate>
		<guid isPermaLink="false">http://sharepoint-geek.com/2009/11/05/sharepoint-alerts-not-working/#comment-10409</guid>
		<description>So, to help out a mere novice, the statement

Windows SharePoint Services Timer” Log On account was set to “Network Service”. It actually needed to be a Farm Administrator account.

If I change the Properties of this service, Log On Tab, from &quot;Network Service&quot; to &quot;ADMINISTRATOR&quot; will that be all I require?

Any advice would be great.</description>
		<content:encoded><![CDATA[<p>So, to help out a mere novice, the statement</p>
<p>Windows SharePoint Services Timer” Log On account was set to “Network Service”. It actually needed to be a Farm Administrator account.</p>
<p>If I change the Properties of this service, Log On Tab, from &#8220;Network Service&#8221; to &#8220;ADMINISTRATOR&#8221; will that be all I require?</p>
<p>Any advice would be great.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on List All Users In The Site Owners Group Of All Sites In A Site Collection Using PowerShell by Patrick Bretelson</title>
		<link>http://sharepoint-geek.com/2011/07/28/list-all-users-in-the-site-owners-group-of-all-sites-in-a-site-collection-using-powershell/#comment-10309</link>
		<dc:creator>Patrick Bretelson</dc:creator>
		<pubDate>Wed, 11 Jan 2012 17:20:13 +0000</pubDate>
		<guid isPermaLink="false">http://sharepoint-geek.com/2011/07/28/list-all-users-in-the-site-owners-group-of-all-sites-in-a-site-collection-using-powershell/#comment-10309</guid>
		<description>I am getting this error:

Exception has been thrown by the target of an invocation at line:1 char:21

Can you help?</description>
		<content:encoded><![CDATA[<p>I am getting this error:</p>
<p>Exception has been thrown by the target of an invocation at line:1 char:21</p>
<p>Can you help?</p>
]]></content:encoded>
	</item>
</channel>
</rss>

