TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
C# Corner
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
How to add a link to the top link bar in SharePoint using powershell
Vijai Anand Ramalingam
Apr 21, 2011
15.1
k
0
0
facebook
twitter
linkedIn
Reddit
WhatsApp
Email
Bookmark
In this blog we will be seeing how to add a link to the top link bar in SharePoint using powershell
I am going to add the subsite link to the root site top link bar using powershell.
$site=Get-SPSite "
http://serverName:1111/sites/sample
"
$web=$site.OpenWeb("Subsite3")
$nodeColl = $web.ParentWeb.Navigation.TopNavigationBar
$node=New-Object Microsoft.SharePoint.Navigation.SPNavigationNode($web.Title, $web.ServerRelativeUrl)
$nodeColl.AddAsLast($node)
How to add a link to the top link bar in SharePoint using powershell
Next Recommended Reading
Replace Add New Item Link Text to Something Different Link Text