Skip to content

Latest commit

 

History

History
152 lines (115 loc) · 3.06 KB

Set-KshTermLabel.md

File metadata and controls

152 lines (115 loc) · 3.06 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] [-ProgressAction <ActionPreference>]
 [<CommonParameters>]

ParamSet2

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

ParamSet3

Set-KshTermLabel [-Identity] <TermLabel> [-IsDefault] [-PassThru] [-ProgressAction <ActionPreference>]
 [<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

-ProgressAction

Determines how PowerShell responds to progress updates generated by a script, cmdlet, or provider.

Type: ActionPreference
Parameter Sets: (All)
Aliases: proga

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