Skip to content

Commit 3044090

Browse files
authored
Merge pull request MicrosoftDocs#263 from tseward/patch-41
Update Copy-SPTaxonomyGroups.md
2 parents c72068a + 95f65c6 commit 3044090

File tree

1 file changed

+31
-21
lines changed

1 file changed

+31
-21
lines changed

sharepoint/sharepoint-ps/sharepoint-server/Copy-SPTaxonomyGroups.md

Lines changed: 31 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
---
22
external help file:
3-
applicable: SharePoint Server 2010, SharePoint Server 2013, SharePoint Server 2016
3+
applicable: SharePoint Server 2013, SharePoint Server 2016
44
title: Copy-SPTaxonomyGroups
55
schema: 2.0.0
66
---
77

88
# Copy-SPTaxonomyGroups
99

1010
## SYNOPSIS
11-
{{Fill in the Synopsis}}
11+
Copies Managed Metadata Taxonomy Groups from SharePoint on-premises to SharePoint Online.
1212

1313
## SYNTAX
1414

@@ -19,27 +19,35 @@ Copy-SPTaxonomyGroups [-AssignmentCollection <SPAssignmentCollection>] [-AuthEnd
1919
```
2020

2121
## DESCRIPTION
22-
{{Fill in the Description}}
22+
Use the Copy-SPTaxonomyGroups cmdlet to copy specified Metadata groups from an on-premises environment to SharePoint Online in a Hybrid SharePoint setup. SharePoint Online becomes the authoritative source for the copied Taxonomy Group. All updates to the Taxonomy Group must be made in SharePoint Online. Once a Taxonomy Group is copied, it cannot be re-copied.
2323

2424
## EXAMPLES
2525

2626
### Example 1
2727
```
28-
PS C:\> {{ Add example code here }}
28+
PS C:\>$credential = Get-Credential
29+
PS C:\>Copy-SPTaxonomyGroups -LocalTermStoreName "Managed Metadata Service Application Proxy" -LocalSiteUrl "http://sharepoint" -RemoteSiteUrl "http://contoso.sharepoint.com" -GroupNames "Group1","Group2" -Credential $credential
2930
```
3031

31-
{{ Add example description here }}
32+
This example copies two taxonomy groups "Group1" and "Group2" from local Term Store to the remote Term Store in "http://contoso.com". These two sites have been enabled with Hybrid Taxonomy.
3233

3334
## PARAMETERS
3435

3536
### -AssignmentCollection
36-
{{Fill AssignmentCollection Description}}
37+
38+
Manages objects for the purpose of proper disposal.
39+
Use of objects, such as SPWeb or SPSite, can use large amounts of memory and use of these objects in Windows PowerShell scripts requires proper memory management.
40+
Using the SPAssignment object, you can assign objects to a variable and dispose of the objects after they are needed to free up memory.
41+
When SPWeb, SPSite, or SPSiteAdministration objects are used, the objects are automatically disposed of if an assignment collection or the Global parameter is not used.
42+
43+
When the Global parameter is used, all objects are contained in the global store.
44+
If objects are not immediately used, or disposed of by using the Stop-SPAssignment command, an out-of-memory scenario can occur.
3745

3846
```yaml
3947
Type: SPAssignmentCollection
4048
Parameter Sets: (All)
4149
Aliases:
42-
Applicable: SharePoint Server 2010, SharePoint Server 2013, SharePoint Server 2016
50+
Applicable: SharePoint Server 2013, SharePoint Server 2016
4351

4452
Required: False
4553
Position: Named
@@ -49,13 +57,13 @@ Accept wildcard characters: False
4957
```
5058
5159
### -AuthEndpoint
52-
{{Fill AuthEndpoint Description}}
60+
Specifies the Azure Active Directory Graph API authentication endpoint. By default, the well-known endpoint will be used.
5361
5462
```yaml
5563
Type: String
5664
Parameter Sets: (All)
5765
Aliases:
58-
Applicable: SharePoint Server 2010, SharePoint Server 2013, SharePoint Server 2016
66+
Applicable: SharePoint Server 2013, SharePoint Server 2016
5967

6068
Required: False
6169
Position: Named
@@ -65,13 +73,15 @@ Accept wildcard characters: False
6573
```
6674
6775
### -Credential
68-
{{Fill Credential Description}}
76+
Specifies the Taxonomy Term Store administrator credential of remote SharePoint Online Term Store.
77+
78+
Writes data to remote Term Store, so a Term Store Administrator's credential is needed to perform the operations.
6979
7080
```yaml
7181
Type: PSCredential
7282
Parameter Sets: (All)
7383
Aliases:
74-
Applicable: SharePoint Server 2010, SharePoint Server 2013, SharePoint Server 2016
84+
Applicable: SharePoint Server 2013, SharePoint Server 2016
7585

7686
Required: True
7787
Position: Named
@@ -81,13 +91,13 @@ Accept wildcard characters: False
8191
```
8292
8393
### -GraphApiEndpoint
84-
{{Fill GraphApiEndpoint Description}}
94+
Specifies the Azure Active Directory Graph API endpoint. By default, the well-known endpoint will be used.
8595
8696
```yaml
8797
Type: String
8898
Parameter Sets: (All)
8999
Aliases:
90-
Applicable: SharePoint Server 2010, SharePoint Server 2013, SharePoint Server 2016
100+
Applicable: SharePoint Server 2013, SharePoint Server 2016
91101

92102
Required: False
93103
Position: Named
@@ -97,13 +107,13 @@ Accept wildcard characters: False
97107
```
98108
99109
### -GroupNames
100-
{{Fill GroupNames Description}}
110+
Specifies the name array of Taxonomy groups in local on-premises term store that will be copied to remote SharePoint Online Term store.
101111
102112
```yaml
103113
Type: String[]
104114
Parameter Sets: (All)
105115
Aliases:
106-
Applicable: SharePoint Server 2010, SharePoint Server 2013, SharePoint Server 2016
116+
Applicable: SharePoint Server 2013, SharePoint Server 2016
107117

108118
Required: True
109119
Position: Named
@@ -113,13 +123,13 @@ Accept wildcard characters: False
113123
```
114124
115125
### -LocalSiteUrl
116-
{{Fill LocalSiteUrl Description}}
126+
Specifies the Url of local SharePoint on-premises site that contains the local Taxonomy Term Store.
117127
118128
```yaml
119129
Type: Uri
120130
Parameter Sets: (All)
121131
Aliases:
122-
Applicable: SharePoint Server 2010, SharePoint Server 2013, SharePoint Server 2016
132+
Applicable: SharePoint Server 2013, SharePoint Server 2016
123133

124134
Required: True
125135
Position: Named
@@ -129,13 +139,13 @@ Accept wildcard characters: False
129139
```
130140
131141
### -LocalTermStoreName
132-
{{Fill LocalTermStoreName Description}}
142+
Specifies the name of local Taxonomy Term Store in the SharePoint on-premises farm.
133143
134144
```yaml
135145
Type: String
136146
Parameter Sets: (All)
137147
Aliases:
138-
Applicable: SharePoint Server 2010, SharePoint Server 2013, SharePoint Server 2016
148+
Applicable: SharePoint Server 2013, SharePoint Server 2016
139149

140150
Required: True
141151
Position: Named
@@ -145,13 +155,13 @@ Accept wildcard characters: False
145155
```
146156
147157
### -RemoteSiteUrl
148-
{{Fill RemoteSiteUrl Description}}
158+
Specifies the Url of remote SharePoint Online site that contains remote Taxonomy Term Store.
149159
150160
```yaml
151161
Type: Uri
152162
Parameter Sets: (All)
153163
Aliases:
154-
Applicable: SharePoint Server 2010, SharePoint Server 2013, SharePoint Server 2016
164+
Applicable: SharePoint Server 2013, SharePoint Server 2016
155165

156166
Required: True
157167
Position: Named

0 commit comments

Comments
 (0)