Skip to content

Latest commit

 

History

History
133 lines (100 loc) · 2.77 KB

Set-KshTermLabel.md

File metadata and controls

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

Set-KshTermLabel

SYNOPSIS

Updates a term label.

SYNTAX

ParamSet1

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

ParamSet2

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

ParamSet3

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

DESCRIPTION

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

EXAMPLES

Example 1

PS C:\> Set-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.V1.TermLabel

OUTPUTS

Karamem0.SharePoint.PowerShell.Models.V1.TermLabel

NOTES

RELATED LINKS