<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://blogs.technet.com/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Use PowerShell to Edit SharePoint Profiles</title><link>http://blogs.technet.com/b/heyscriptingguy/archive/2011/11/12/use-powershell-to-edit-sharepoint-profiles.aspx</link><description>Summary: Microsoft Premier Field Engineer Chris Weaver shows how to use Windows PowerShell to edit SharePoint profiles.</description><dc:language>en-US</dc:language><generator>Telligent Evolution Platform Developer Build (Build: 5.6.50428.7875)</generator><item><title>re: Use PowerShell to Edit SharePoint Profiles</title><link>http://blogs.technet.com/b/heyscriptingguy/archive/2011/11/12/use-powershell-to-edit-sharepoint-profiles.aspx#3572365</link><pubDate>Mon, 13 May 2013 16:30:02 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3572365</guid><dc:creator>JAdkin</dc:creator><description>&lt;p&gt;Hey Chris,&lt;/p&gt;
&lt;p&gt;When an Admin gets &amp;quot;Object reference not set to an instance of an object.&amp;quot; &amp;nbsp;it is because they can not retrieve the information, this is usually due to incorrect permissions on the UPA.&lt;/p&gt;
&lt;p&gt;Fix:&lt;/p&gt;
&lt;p&gt;------&lt;/p&gt;
&lt;p&gt;Go to Central Administration&lt;/p&gt;
&lt;p&gt;Select Application Management&lt;/p&gt;
&lt;p&gt;Under Service Application select Manage Service Applications&lt;/p&gt;
&lt;p&gt;Highlight your User Profile&lt;/p&gt;
&lt;p&gt;Select Administrators and you are probably listed there (If not then add account)&lt;/p&gt;
&lt;p&gt;Select User Permissions and add yourself there as well. (You will only get Full permission option)&lt;/p&gt;
&lt;p&gt;Yes you actually need both or you will fail.&lt;/p&gt;
&lt;p&gt;Awesome article!&lt;/p&gt;
&lt;p&gt;Jeff&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=3572365" width="1" height="1"&gt;</description></item><item><title>re: Use PowerShell to Edit SharePoint Profiles</title><link>http://blogs.technet.com/b/heyscriptingguy/archive/2011/11/12/use-powershell-to-edit-sharepoint-profiles.aspx#3569231</link><pubDate>Fri, 26 Apr 2013 07:28:49 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3569231</guid><dc:creator>Soumyadev</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Can you please explain how this property value can be interpretted in sharepoint 2013?&lt;/p&gt;
&lt;p&gt;In Sharepoint 2013 the value is stored as integer and if multiple checkboxes are checked then it is returning a single integer value. &lt;/p&gt;
&lt;p&gt;I couldn&amp;#39;t find a documentation from MS on how to interpret this.&lt;/p&gt;
&lt;p&gt;Thanks,&lt;/p&gt;
&lt;p&gt;Soumyadev&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=3569231" width="1" height="1"&gt;</description></item><item><title>re: Use PowerShell to Edit SharePoint Profiles</title><link>http://blogs.technet.com/b/heyscriptingguy/archive/2011/11/12/use-powershell-to-edit-sharepoint-profiles.aspx#3542756</link><pubDate>Thu, 27 Dec 2012 12:25:47 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3542756</guid><dc:creator>Srikanth</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Thanks for nice article.&lt;/p&gt;
&lt;p&gt;For new USers how to disable this property? Do we need to run after adding new user or is there any work around?&lt;/p&gt;
&lt;p&gt;Regards&lt;/p&gt;
&lt;p&gt;Srikanth&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=3542756" width="1" height="1"&gt;</description></item><item><title>re: Use PowerShell to Edit SharePoint Profiles</title><link>http://blogs.technet.com/b/heyscriptingguy/archive/2011/11/12/use-powershell-to-edit-sharepoint-profiles.aspx#3465283</link><pubDate>Tue, 15 Nov 2011 15:35:28 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3465283</guid><dc:creator>Chris We - MSFT</dc:creator><description>&lt;p&gt;Hello Adam,&lt;/p&gt;
&lt;p&gt;I would suggest that you look at the following items since I believe that your not getting the correct Service Context&lt;/p&gt;
&lt;p&gt;1. Do you have at least full read on the Site Collection that you are pointing to?&lt;/p&gt;
&lt;p&gt;2. Insure you are pointing at the Site Collection object (http://webapp/sitecollection/) and not a list, page or library.&lt;/p&gt;
&lt;p&gt;3. Insure that the Site Collection has the UPA included in it&amp;#39;s proxy group&lt;/p&gt;
&lt;p&gt;4. You have to have the proper permissions on the UPA so either add your account or use an elevated account.&lt;/p&gt;
&lt;p&gt;Let me know if this helps or if you get other errors.&lt;/p&gt;
&lt;p&gt;Thank you,&lt;/p&gt;
&lt;p&gt;Chris Weaver&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=3465283" width="1" height="1"&gt;</description></item><item><title>re: Use PowerShell to Edit SharePoint Profiles</title><link>http://blogs.technet.com/b/heyscriptingguy/archive/2011/11/12/use-powershell-to-edit-sharepoint-profiles.aspx#3464816</link><pubDate>Sat, 12 Nov 2011 10:02:22 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3464816</guid><dc:creator>Adam</dc:creator><description>&lt;p&gt;I&amp;#39;ve been trying to do this but I keep getting an error when creating the UserProfileManager object:&lt;/p&gt;
&lt;p&gt;New-Object : Exception calling &amp;quot;.ctor&amp;quot; with &amp;quot;1&amp;quot; argument(s): &amp;quot;Object reference not set to an instance of an object.&amp;quot;&lt;/p&gt;
&lt;p&gt;At line:1 char:29&lt;/p&gt;
&lt;p&gt;+ $ProfileManager = new-object &amp;lt;&amp;lt;&amp;lt;&amp;lt; &amp;nbsp;Microsoft.Office.Server.UserProfiles.UserProfileManager($ServiceContext)&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp;+ CategoryInfo &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;: InvalidOperation: (:) [New-Object], MethodInvocationException&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp;+ FullyQualifiedErrorId : ConstructorInvokedThrowException,Microsoft.PowerShell.Commands.NewObjectCommand&lt;/p&gt;
&lt;p&gt;My $ServiceContext object looks like this:&lt;/p&gt;
&lt;p&gt;SiteSubscriptionId : 00000000-0000-0000-0000-000000000000&lt;/p&gt;
&lt;p&gt;Any ideas?&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=3464816" width="1" height="1"&gt;</description></item></channel></rss>