Skip to content

Commit bddb2b5

Browse files
authored
Merge pull request MicrosoftDocs#640 from tseward/patch-327
Update Set-SPProfileServiceApplicationProxy.md
2 parents 05c5dd5 + 38d7e93 commit bddb2b5

File tree

1 file changed

+3
-6
lines changed

1 file changed

+3
-6
lines changed

sharepoint/sharepoint-ps/sharepoint-server/Set-SPProfileServiceApplicationProxy.md

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -29,14 +29,11 @@ For permissions and the most current information about Windows PowerShell for Sh
2929

3030
### ----------------EXAMPLE---------------------
3131
```
32-
C:\PS>#Get UPA Proxy
33-
$pr = Get-SPServiceApplicationProxy | ? {$_.DisplayName.Contains(PartitionedUserProfileApplication_Proxy)}
34-
35-
C:\PS>#Change the name of the proxy
36-
Set-SPProfileServiceApplicationProxy -Identity $pr -Name PartitionedUserProfileApplication_Proxy2
32+
PS C:\>$proxy = Get-SPServiceApplicationProxy | ? {$_.TypeName -eq 'User Profile Service Application Proxy'}
33+
PS C:\>Set-SPProfileServiceApplicationProxy -Identity $proxy -SiteNamingConflictResolution 2
3734
```
3835

39-
This example sets a proxy for the User Profile Service application.
36+
This example sets the User Profile Service Application Proxy to use a site naming conflict resolution to use domain names prefixed to usernames.
4037

4138

4239
## PARAMETERS

0 commit comments

Comments
 (0)