Configure Settings on the Profile Service Application

Scenario/Problem: You want to configure settings on the Profile Service.

Solution: Use the Set-SPProfileServiceApplication cmdlet with an Identity variable.

You can use the Set-SPProfileServiceApplication cmdlet to configure settings on the profile service application using an Identity variable, as shown in Listing 14.3.

Listing 14.3. Configuring the Profile Service Settings

$profileSA = Get-SPServiceApplication -Identity 9b6235e4-f306-4ccc-8192-0c83cb679476Set-SPProfileServiceApplication -Identity $profileSA-MySiteHostLocation http://sp2013:80/my/ -MySiteManagedPath my/personal

The Set-SPProfileServiceApplication cmdlet has two similar parameter sets. In addition to the MySite parameters, ...

Get PowerShell™ for SharePoint® 2013 How-To now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.