Skip to content

Commit bd1c90a

Browse files
authored
Merge pull request MicrosoftDocs#244 from tseward/patch-23
Update Add-SPSiteSubscriptionProfileConfig.md
2 parents bf76ade + 563458c commit bd1c90a

File tree

1 file changed

+12
-16
lines changed

1 file changed

+12
-16
lines changed

sharepoint/sharepoint-ps/sharepoint-server/Add-SPSiteSubscriptionProfileConfig.md

Lines changed: 12 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
external help file:
3-
applicable: SharePoint Server 2013, SharePoint Server 2016
3+
applicable: SharePoint Server 2010, SharePoint Server 2013, SharePoint Server 2016
44
title: Add-SPSiteSubscriptionProfileConfig
55
schema: 2.0.0
66
---
@@ -41,14 +41,10 @@ For permissions and the most current information about Windows PowerShell for Sh
4141

4242
### --------------EXAMPLE------------------
4343
```
44-
C:\PS>#Get UPA Proxy
45-
$pr = Get-SPServiceApplicationProxy | ? {$_.DisplayName.Contains(PartitionedUserProfileApplication_Proxy)}
46-
47-
C:\PS>#Add tenant to UPA
48-
Add-SPSiteSubscriptionProfileConfig -Identity $sub -ProfileServiceApplicationProxy $pr -MySiteHostLocation http://contoso/my
49-
50-
C:\PS>#Create new site subscription
51-
$sub = New-SPSiteSubscription
44+
C:\PS>$sub = Get-SPSiteSubscription http://contoso/my
45+
C:\PS>$proxy = Get-SPServiceApplicationProxy | ? {$_.TypeName -eq 'User Profile Service Application Proxy'}
46+
C:\PS>Add-SPSiteSubscriptionProfileConfig -Identity $sub -ProfileServiceApplicationProxy $proxy -MySiteHostLocation http://contoso/my
47+
C:\PS>$sub = New-SPSiteSubscription
5248
```
5349

5450
This example creates a new User Profile Service application tenant.
@@ -64,7 +60,7 @@ The type must be a valid GUID, in the form 12345678-90ab-cdef-1234-567890bcdefgh
6460
Type: SPSiteSubscriptionPipeBind
6561
Parameter Sets: (All)
6662
Aliases:
67-
Applicable: SharePoint Server 2013, SharePoint Server 2016
63+
Applicable: SharePoint Server 2010, SharePoint Server 2013, SharePoint Server 2016
6864

6965
Required: True
7066
Position: 1
@@ -82,7 +78,7 @@ The type must be a valid GUID, in the form 12345678-90ab-cdef-1234-567890bcdefgh
8278
Type: SPSitePipeBind
8379
Parameter Sets: Default
8480
Aliases:
85-
Applicable: SharePoint Server 2013, SharePoint Server 2016
81+
Applicable: SharePoint Server 2010, SharePoint Server 2013, SharePoint Server 2016
8682

8783
Required: False
8884
Position: Named
@@ -95,7 +91,7 @@ Accept wildcard characters: False
9591
Type: SPSitePipeBind
9692
Parameter Sets: MySiteSettings
9793
Aliases:
98-
Applicable: SharePoint Server 2013, SharePoint Server 2016
94+
Applicable: SharePoint Server 2010, SharePoint Server 2013, SharePoint Server 2016
9995

10096
Required: True
10197
Position: Named
@@ -111,7 +107,7 @@ Specifies the identifier for the User Profile Service Application proxy where th
111107
Type: SPServiceApplicationProxyPipeBind
112108
Parameter Sets: (All)
113109
Aliases:
114-
Applicable: SharePoint Server 2013, SharePoint Server 2016
110+
Applicable: SharePoint Server 2010, SharePoint Server 2013, SharePoint Server 2016
115111

116112
Required: True
117113
Position: Named
@@ -133,7 +129,7 @@ If objects are not immediately used, or disposed of by using the Stop-SPAssignme
133129
Type: SPAssignmentCollection
134130
Parameter Sets: (All)
135131
Aliases:
136-
Applicable: SharePoint Server 2013, SharePoint Server 2016
132+
Applicable: SharePoint Server 2010, SharePoint Server 2013, SharePoint Server 2016
137133

138134
Required: False
139135
Position: Named
@@ -150,7 +146,7 @@ For more information, type the following command: `get-help about_commonparamete
150146
Type: SwitchParameter
151147
Parameter Sets: (All)
152148
Aliases: cf
153-
Applicable: SharePoint Server 2013, SharePoint Server 2016
149+
Applicable: SharePoint Server 2010, SharePoint Server 2013, SharePoint Server 2016
154150
155151
Required: False
156152
Position: Named
@@ -168,7 +164,7 @@ The type must be a valid URL, in the form http://server_name.
168164
Type: SPPrefixPipeBind
169165
Parameter Sets: MySiteSettings
170166
Aliases:
171-
Applicable: SharePoint Server 2013, SharePoint Server 2016
167+
Applicable: SharePoint Server 2010, SharePoint Server 2013, SharePoint Server 2016
172168
173169
Required: False
174170
Position: Named

0 commit comments

Comments
 (0)