1
1
---
2
2
external help file :
3
- applicable : SharePoint Server 2013, SharePoint Server 2016
3
+ applicable : SharePoint Server 2010, SharePoint Server 2013, SharePoint Server 2016
4
4
title : Add-SPSiteSubscriptionProfileConfig
5
5
schema : 2.0.0
6
6
---
@@ -41,14 +41,10 @@ For permissions and the most current information about Windows PowerShell for Sh
41
41
42
42
### --------------EXAMPLE------------------
43
43
```
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
52
48
```
53
49
54
50
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
64
60
Type : SPSiteSubscriptionPipeBind
65
61
Parameter Sets : (All)
66
62
Aliases :
67
- Applicable : SharePoint Server 2013, SharePoint Server 2016
63
+ Applicable : SharePoint Server 2010, SharePoint Server 2013, SharePoint Server 2016
68
64
69
65
Required : True
70
66
Position : 1
@@ -82,7 +78,7 @@ The type must be a valid GUID, in the form 12345678-90ab-cdef-1234-567890bcdefgh
82
78
Type : SPSitePipeBind
83
79
Parameter Sets : Default
84
80
Aliases :
85
- Applicable : SharePoint Server 2013, SharePoint Server 2016
81
+ Applicable : SharePoint Server 2010, SharePoint Server 2013, SharePoint Server 2016
86
82
87
83
Required : False
88
84
Position : Named
@@ -95,7 +91,7 @@ Accept wildcard characters: False
95
91
Type : SPSitePipeBind
96
92
Parameter Sets : MySiteSettings
97
93
Aliases :
98
- Applicable : SharePoint Server 2013, SharePoint Server 2016
94
+ Applicable : SharePoint Server 2010, SharePoint Server 2013, SharePoint Server 2016
99
95
100
96
Required : True
101
97
Position : Named
@@ -111,7 +107,7 @@ Specifies the identifier for the User Profile Service Application proxy where th
111
107
Type : SPServiceApplicationProxyPipeBind
112
108
Parameter Sets : (All)
113
109
Aliases :
114
- Applicable : SharePoint Server 2013, SharePoint Server 2016
110
+ Applicable : SharePoint Server 2010, SharePoint Server 2013, SharePoint Server 2016
115
111
116
112
Required : True
117
113
Position : Named
@@ -133,7 +129,7 @@ If objects are not immediately used, or disposed of by using the Stop-SPAssignme
133
129
Type : SPAssignmentCollection
134
130
Parameter Sets : (All)
135
131
Aliases :
136
- Applicable : SharePoint Server 2013, SharePoint Server 2016
132
+ Applicable : SharePoint Server 2010, SharePoint Server 2013, SharePoint Server 2016
137
133
138
134
Required : False
139
135
Position : Named
@@ -150,7 +146,7 @@ For more information, type the following command: `get-help about_commonparamete
150
146
Type: SwitchParameter
151
147
Parameter Sets: (All)
152
148
Aliases: cf
153
- Applicable: SharePoint Server 2013, SharePoint Server 2016
149
+ Applicable: SharePoint Server 2010, SharePoint Server 2013, SharePoint Server 2016
154
150
155
151
Required: False
156
152
Position: Named
@@ -168,7 +164,7 @@ The type must be a valid URL, in the form http://server_name.
168
164
Type: SPPrefixPipeBind
169
165
Parameter Sets: MySiteSettings
170
166
Aliases:
171
- Applicable: SharePoint Server 2013, SharePoint Server 2016
167
+ Applicable: SharePoint Server 2010, SharePoint Server 2013, SharePoint Server 2016
172
168
173
169
Required: False
174
170
Position: Named
0 commit comments