Skip to content

Files

Latest commit

3aa7577 · Feb 4, 2020

History

History
133 lines (100 loc) · 2.65 KB

Update-KshTermLabel.md

File metadata and controls

133 lines (100 loc) · 2.65 KB
external help file Module Name online version schema
SPClientCore.dll-Help.xml
SPClientCore
2.0.0

Update-KshTermLabel

SYNOPSIS

Updates a term label.

SYNTAX

ParamSet1

Update-KshTermLabel [-Identity] <TermLabel> -Lcid <UInt32> [-PassThru] [<CommonParameters>]

ParamSet2

Update-KshTermLabel [-Identity] <TermLabel> -Name <String> [-PassThru] [<CommonParameters>]

ParamSet3

Update-KshTermLabel [-Identity] <TermLabel> [-IsDefault] [-PassThru] [<CommonParameters>]

DESCRIPTION

The Update-KshTermLabel cmdlet updates properties of the term label.

EXAMPLES

Example 1

PS C:\> Update-KshTermLabel -Identity (Get-KshTermLabel -Term (Get-KshTerm -TermSet (Get-KshTermSet -TermGroup (Get-KshTermGroup -TermGroupName 'Company') -TermSetName 'Department') -TermName 'Human Resources') -LabelName 'HR') -Lcid 1041

Updates property values of the term label.

PARAMETERS

-Identity

Specifies the term label.

Type: TermLabel
Parameter Sets: (All)
Aliases:

Required: True
Position: 0
Default value: None
Accept pipeline input: True (ByValue)
Accept wildcard characters: False

-IsDefault

If specified, sets the term label as default.

Type: SwitchParameter
Parameter Sets: ParamSet3
Aliases:

Required: True
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-Lcid

Specifies the locale ID. For more information, see reference.

Type: UInt32
Parameter Sets: ParamSet1
Aliases:

Required: True
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-Name

Specifies the name.

Type: String
Parameter Sets: ParamSet2
Aliases:

Required: True
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-PassThru

If specified, returns the updated object.

Type: SwitchParameter
Parameter Sets: (All)
Aliases:

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.

INPUTS

Karamem0.SharePoint.PowerShell.Models.TermLabel

OUTPUTS

Karamem0.SharePoint.PowerShell.Models.TermLabel

NOTES

RELATED LINKS