Freigeben über


SP 2013 – PowerShell to Modify Help Setting on Site Collection

Let’s say we want to enable/disable any of the help collection options available under Site Collection Administration settings. This can be done using SPSiteExtension class which contains all help related extension methods for the SPSite object.

image

Here is a simple script to disable Central Administration help

[System.Reflection.Assembly]::LoadWithPartialName("Microsoft.SharePoint.Help")
$site = Get-SPSite https://2013-SP [Microsoft.SharePoint.Help.SPSiteExtension]::DeactivateHelpCollection($site, "WSSCentralAdmin")

To activate and deactivate use ActivateHelpCollection and DeactivateHelpCollection method respectively.

To get the internal names of all those help collection properties, use the cmdlet  Get-SPHelpCollection

clip_image001