Skip to content

Commit 74cb6f2

Browse files
authored
Merge pull request MicrosoftDocs#649 from tseward/patch-336
Update Set-SPMetadataServiceApplication.md
2 parents c6136cf + 8b581ec commit 74cb6f2

File tree

1 file changed

+16
-14
lines changed

1 file changed

+16
-14
lines changed

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

Lines changed: 16 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,8 @@ For permissions and the most current information about Windows PowerShell for Sh
4646

4747
### --------------------EXAMPLE 1---------------------
4848
```
49-
C:\PS>Set-SPMetadataServiceApplication -Identity "MetadataServiceApp1" -HubUri "http://sitename" -SyndicationErrorReportEnabled
49+
PS C:\>$sa = Get-SPMetadataServiceApplication -Identity 'Managed Metadata Service Application'
50+
PS C:\>Set-SPMetadataServiceApplication -Identity $sa -HubUri 'http://sitename' -SyndicationErrorReportEnabled
5051
```
5152

5253
This example adds a content type hub to an existing managed metadata service application.
@@ -55,7 +56,8 @@ It also enables error reporting when content types are imported.
5556

5657
### --------------------EXAMPLE 2---------------------
5758
```
58-
C:\PS>Set-SPMetadataServiceApplication -Identity "MetadataServiceApp1" -AdministratorAccount "contoso\username1" -FullAccessAccount "contoso\AppPoolAccount1,contoso\AppPoolAccount2" -RestrictedAccount "contoso\AppPoolAccount3,contoso\AppPoolAccount4,contoso\AppPoolAccount5" -ReadAccessAccount "contoso\AppPoolAccount6"
59+
PS C:\>$sa = Get-SPMetadataServiceApplication -Identity 'Managed Metadata Service Application'
60+
PS C:\>Set-SPMetadataServiceApplication -Identity $sa -AdministratorAccount 'contoso\username1' -FullAccessAccount 'contoso\AppPoolAccount1,contoso\AppPoolAccount2' -RestrictedAccount 'contoso\AppPoolAccount3,contoso\AppPoolAccount4,contoso\AppPoolAccount5' -ReadAccessAccount 'contoso\AppPoolAccount6'
5961
```
6062

6163
This example sets permissions on an existing managed metadata service application.
@@ -421,13 +423,13 @@ Accept wildcard characters: False
421423
```
422424

423425
### -DisablePartitionQuota
424-
{{Fill DisablePartitionQuota Description}}
426+
When in partitioned mode, disables the partition quota.
425427

426428
```yaml
427429
Type: SwitchParameter
428430
Parameter Sets: NoQuota
429431
Aliases:
430-
Applicable: SharePoint Server 2010, SharePoint Server 2013, SharePoint Server 2016
432+
Applicable: SharePoint Server 2013, SharePoint Server 2016
431433
432434
Required: True
433435
Position: Named
@@ -437,13 +439,13 @@ Accept wildcard characters: False
437439
```
438440

439441
### -GroupsPerPartition
440-
{{Fill GroupsPerPartition Description}}
442+
When in partitioned mode, sets the maximum number of groups per partition.
441443

442444
```yaml
443445
Type: Int32
444446
Parameter Sets: Quota
445447
Aliases:
446-
Applicable: SharePoint Server 2010, SharePoint Server 2013, SharePoint Server 2016
448+
Applicable: SharePoint Server 2013, SharePoint Server 2016
447449
448450
Required: True
449451
Position: Named
@@ -453,13 +455,13 @@ Accept wildcard characters: False
453455
```
454456

455457
### -LabelsPerPartition
456-
{{Fill LabelsPerPartition Description}}
458+
When in partitioned mode, sets the maximum number of labels per partition.
457459

458460
```yaml
459461
Type: Int32
460462
Parameter Sets: Quota
461463
Aliases:
462-
Applicable: SharePoint Server 2010, SharePoint Server 2013, SharePoint Server 2016
464+
Applicable: SharePoint Server 2013, SharePoint Server 2016
463465
464466
Required: True
465467
Position: Named
@@ -469,13 +471,13 @@ Accept wildcard characters: False
469471
```
470472

471473
### -PropertiesPerPartition
472-
{{Fill PropertiesPerPartition Description}}
474+
When in partitioned mode, sets the maximum number of properties per partition.
473475

474476
```yaml
475477
Type: Int32
476478
Parameter Sets: Quota
477479
Aliases:
478-
Applicable: SharePoint Server 2010, SharePoint Server 2013, SharePoint Server 2016
480+
Applicable: SharePoint Server 2013, SharePoint Server 2016
479481
480482
Required: True
481483
Position: Named
@@ -485,13 +487,13 @@ Accept wildcard characters: False
485487
```
486488

487489
### -TermSetsPerPartition
488-
{{Fill TermSetsPerPartition Description}}
490+
When in partitioned mode, sets the maximum number of term sets per partition.
489491

490492
```yaml
491493
Type: Int32
492494
Parameter Sets: Quota
493495
Aliases:
494-
Applicable: SharePoint Server 2010, SharePoint Server 2013, SharePoint Server 2016
496+
Applicable: SharePoint Server 2013, SharePoint Server 2016
495497
496498
Required: True
497499
Position: Named
@@ -501,13 +503,13 @@ Accept wildcard characters: False
501503
```
502504

503505
### -TermsPerPartition
504-
{{Fill TermsPerPartition Description}}
506+
When in partitioned mode, sets the maximum number of terms per partition.
505507

506508
```yaml
507509
Type: Int32
508510
Parameter Sets: Quota
509511
Aliases:
510-
Applicable: SharePoint Server 2010, SharePoint Server 2013, SharePoint Server 2016
512+
Applicable: SharePoint Server 2013, SharePoint Server 2016
511513
512514
Required: True
513515
Position: Named

0 commit comments

Comments
 (0)