Clear-SPONavigation

Synopsis

Removes all nodes from a NavigationNodeCollection

Syntax

Clear-SPONavigation -NodeCollection <NavigationNodeCollection> [<CommonParameters>]

Description

Parameters

-NodeCollection <NavigationNodeCollection>

The collection you wish to clear. Use Get-SPONavigation

Required? True
Position? named
Default value  
Accept pipeline input? true (ByValue)
Accept wildcard characters? False

<CommonParameters>

This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer, PipelineVariable, and OutVariable. For more information, see
about_CommonParameters (http://go.microsoft.com/fwlink/?LinkID=113216).

Inputs

Outputs

Notes

Examples

Clear Navigation pipe

PS C:\> Get-SPONavigation -Web $ctx.Web | Clear-SPONavigation

Related links

Last edited Aug 5, 2014 at 12:06 AM by provokesolutions, version 9

Comments

No comments yet.