0
votes
1answer
45 views

Why can't powershell convert my password from system.string to system.security.securestring?

I'm trying to create a UPS sync connection using powershell. Becuase of the vagaries of our AD setup I can't use the Central Admin 'Create New Connection' function. I am using the script below which ...
0
votes
1answer
39 views

Removing NewsFeed comments with Remove-SPSocialItemByDate throws SQLException

I am trying to remove all Mysite newsfeed comments via powershell in preparation for a new site release (getting debugging and test comments out, etc.)... I am using the Remove-SPSocialItemByDate ...
1
vote
1answer
107 views

Viewing the existing MySiteHostLocation for the SPProfileServiceApplication

I've found plenty of example of how to set the My Site host location for the User Profile service application. On the Start menu, click All Programs. Click Microsoft SharePoint 2010 Products. ...
1
vote
1answer
117 views

Using PowerShell, how can I compare User Profile Properties to a list

For this example, I have a list of first names Fred Mark Tony Alisa Todd Emily I would like to compare them to profiles in the user profile service Fred Greg Tony Alisa John And get output ...
2
votes
0answers
646 views

Move-SPUser : pixels

Migrating users from one domain to another, I get this error on a couple of users. The migration still seems to occur. Move-SPUser : pixels At D:\UserMigration\MigrateUsers.ps1:10 char:28 + ...
1
vote
0answers
257 views

Edit UserProfileProperties in Sharepoint 2010 using PowerShell

As I mentioned above I want to modify given UserProfileProperties. http://www.c-sharpcorner.com/uploadfile/anavijai/modify-user-profile-properties-in-sharepoint-2010-using-powershell/ This is what I ...
2
votes
1answer
2k views

Delete sharepoint userprofile property using powershell

This is the script im using to delete the sharepoint userprofile property using powershell. #Load Sharepoint SnapIn if ((Get-PSSnapin "Microsoft.SharePoint.PowerShell" -ErrorAction ...
4
votes
1answer
439 views

Powershell scripts: Create user profile synchronization service using sharepoint active directory

In sharepoint 2013 I have to create user profile synchronization connection using sharepoint active directory through scripts. I have created the user profile service using powershell after that is ...
3
votes
1answer
324 views

Add Administrator to User Profile Server via Powershell

I was recently directed to an article that explains how to add a user to the permissions list for the User Profile Service using Powershell, which worked a treat. [My original question] I'm now ...
0
votes
2answers
664 views

PurgeNonImportedObjects doesn’t remove user accounts?

Our customer has switched his AD to a new one. We have migrated users in SharePoint, but the User Profile Service doesn’t work for 73 of 7024 users. These users can log in to SharePoint, but doesn’t ...
1
vote
4answers
3k views

How do i get the url for the mysite host from powershell?

I need the url of the mysite in SharePoint 2010 server. In my farm i only have one MySite host (and one corresponding user profile service) configured. I need the information on one of the farm ...
1
vote
1answer
484 views

move my site profile information from one server to another

I used central administration site collection backup to back up a My Site, and then used PowerShell restore-spsite to restore it on another server. All of the content moved, but the profile ...
1
vote
2answers
647 views

null valued error in powershell scripting

Im trying to create a userprofile section but when i run the code Im gettiong the following error you cannot cal a method on a null valued expression.please help me out thanks in advance. ...
7
votes
4answers
3k views

How can I schedule the User Profile Service to run a full sync weekly?

We are running SharePoint Server 2010 and have not yet applied SP1. User profile incremental sync is not picking up all of the group membership from AD. Starting a full sync seems to rectify the ...
3
votes
1answer
293 views

Forefront Run Profiles not created when creating user profile service from PowerShell

I'm trying to achieve a full User Profile setup for SharePoint 2010 using PowerShell, including the creation of the Active Directory connection. My PowerShell source code comes mainly from here. // ...