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?

3 Answers 3


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.


Try This, It should work for you.

$spSite = Get-SPSite http://intranet.contoso.com

$spWeb = $spSite.OpenWeb();

$spWeb.QuickLaunchEnabled = false;


  • 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, 2013 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">
Div.ms-titleareaframe {
height: 100%;
.ms-pagetitleareaframe table {
background: none;


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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