Hide lists in SharePoint 2010

From Secrets of SharePoint – Tip of the Day

Niklas Goude

You can use Windows PowerShell to hide a list in SharePoint 2010. Simply store an instance of an SPList Object, set the Hidden property to $true and update the SPList object.

PS > $spWeb = Get-SPWeb http://sp01/site

PS > $spList = $spWeb.GetList(“http://sp01/site/Lists/MyList“)

PS > $spList.Hidden = $true

PS > $spList.Update()

This entry was posted in SharePoint and tagged by Rick Backus. Bookmark the permalink.

About Rick Backus

A technology consultant with over 25 years of IT, consulting and business technology industry experience. Specializing in integrating application, information and content management with business process and network infrastructure. Helping clients get the most out of technology to enable increased productivity, profitability, customer satisfaction and competitive advantage.