SharePoint | Get currently active master page [2010/2007]
** SHAREPOINT 2010 / POWERSHELL *** GET: get-spweb -id http://sharepointbind/new/basicsearch | select CustomMasterUrl SET: (get-spweb -id http://sharepointbind/new/basicsearch).MasterUrl = "_catalogs/masterpage/v4.master" *** WSS3/MOSS 2007 / STSADM *** Get my version of msdn's package, repackaged for fixed "type null" issue and with SharePoint solution installer attached for faster installation. Just install and then run "stsadm -o showmaster page -url http://localhost" Download here MSDN CustomPageCommands Link *** Enable/Disable SP2010 Features *** Enable-SPFeature -Identity featurename –url http://yoursiteurl Disable-SPFeature -Identity featurename –url http://yoursiteurl