Skip to content

Latest commit

 

History

History
180 lines (138 loc) · 3.7 KB

Add-KshNavigationNode.md

File metadata and controls

180 lines (138 loc) · 3.7 KB
external help file Module Name online version schema
SPClientCore.dll-Help.xml
SPClientCore
2.0.0

Add-KshNavigationNode

SYNOPSIS

Creates a new navigation node.

SYNTAX

ParamSet1

Add-KshNavigationNode [-NavigationNode] <NavigationNode> [-AsLastNode <Boolean>] [-IsExternal <Boolean>]
 [-PreviousNode <NavigationNode>] [-Title <String>] [-Url <String>] [<CommonParameters>]

ParamSet2

Add-KshNavigationNode [-QuickLaunch] [-AsLastNode <Boolean>] [-IsExternal <Boolean>]
 [-PreviousNode <NavigationNode>] [-Title <String>] [-Url <String>] [<CommonParameters>]

ParamSet3

Add-KshNavigationNode [-TopNavigationBar] [-AsLastNode <Boolean>] [-IsExternal <Boolean>]
 [-PreviousNode <NavigationNode>] [-Title <String>] [-Url <String>] [<CommonParameters>]

DESCRIPTION

The Add-KshNavigationNode cmdlet adds a new navigation node to the specified navigation node.

EXAMPLES

Example 1

PS C:\> Add-KshNavigationNode -NavigationNode (Get-KshNavigationNode -NavigationNodeId 2001) -Title 'Bing' -Url 'https://www.bing.com'

Creates a new navigation node.

PARAMETERS

-AsLastNode

Specifies whether to add the navigation node to the last.

Type: Boolean
Parameter Sets: (All)
Aliases:

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

-IsExternal

Specifies whether the URL is external.

Type: Boolean
Parameter Sets: (All)
Aliases:

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

-NavigationNode

Specifies the navigation node.

Type: NavigationNode
Parameter Sets: ParamSet1
Aliases:

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

-PreviousNode

Specifies the previous node which the new navigation node to be added.

Type: NavigationNode
Parameter Sets: (All)
Aliases:

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

-QuickLaunch

If specified, the new navigation node is added to the quick launch.

Type: SwitchParameter
Parameter Sets: ParamSet2
Aliases:

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

-Title

Specifies the title.

Type: String
Parameter Sets: (All)
Aliases:

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

-TopNavigationBar

If specified, the new navigation node is added to the top navigation bar.

Type: SwitchParameter
Parameter Sets: ParamSet3
Aliases:

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

-Url

Specifies the URL.

Type: String
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.NavigationNode

OUTPUTS

Karamem0.SharePoint.PowerShell.Models.V1.NavigationNode

NOTES

RELATED LINKS