File tree Expand file tree Collapse file tree 1 file changed +4
-6
lines changed
sharepoint/sharepoint-ps/sharepoint-server Expand file tree Collapse file tree 1 file changed +4
-6
lines changed Original file line number Diff line number Diff line change @@ -51,13 +51,11 @@ For permissions and the most current information about Windows PowerShell for Sh
51
51
52
52
### ---------------EXAMPLE---------------------
53
53
```
54
- C:\PS>$ap = Get-SPServiceApplication -Name PartitionedUserProfileApplication
55
-
56
- C:\PS>#Change the name of the application
57
- Set-SPProfileServiceApplication -Identity $ap -Name PartitionedUserProfileApplication2
54
+ PS C:\>$sa = Get-SPServiceApplication | ?{$_.TypeName -eq 'User Profile Service Application'}
55
+ PS C:\>Set-SPProfileServiceApplication -Identity $sa -PurgeNonImportedObjects:$true
58
56
```
59
57
60
- This example sets profile information by using the specified identity .
58
+ This example purges objects from the Profile database which are not in scope of the User Profile import .
61
59
62
60
63
61
## PARAMETERS
@@ -393,7 +391,7 @@ Accept wildcard characters: False
393
391
` ` `
394
392
395
393
# ## -ProfileDBFailoverServer
396
- {{Fill ProfileDBFailoverServer Description}}
394
+ Specifies the name of the failover SQL server for Profile database. It is used to build the connection string for the Profile database.
397
395
398
396
` ` ` yaml
399
397
Type: String
You can’t perform that action at this time.
0 commit comments