SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am writing powershell scripts and have been trying to find a solution for this but haven't been able to. I just wanted to find out how to hide the quicklaunch using powershell. Is it a property of the sitecollection or a site?

share|improve this question
up vote 0 down vote accepted

you cant hide it using powershell as it is based on core.css. if you want to suppress it you have to put javascript/css to hide navigation and refrenced it in MasterPage.

share|improve this answer
Thanks. I found this link that helped with the solution – Divi Mar 14 '13 at 6:23

Try This, It should work for you.

$spSite = Get-SPSite

$spWeb = $spSite.OpenWeb();

$spWeb.QuickLaunchEnabled = false;


share|improve this answer
It doesn't work, only does half the job. Every solution that I found, asks to do it in css. Have a look at my link in the comment for the accepted answer. – Divi Mar 14 '13 at 6:33

If you would like to hide the quick launch in a particular page in a site its better to use css for it. Just open the site using sharepoint designer move to the exact page where you want to hide the Quick Launch. On the Top of the Sharepoint Designer you can find a button called Advance Mode Click on it and now you be able to edit the code within the master pages. Within any content add the following style.

<style type="text/css"> {
height: 100%;
.ms-pagetitleareaframe table {
background: none;


share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.