Introduction

This article is a sequence of real world examples of using PowerShell in SharePoint 2016. In this article, we will discuss how we will use PowerShell cmdlets to manage Help Collections SharePoint. We will try to cover all the available cmdlets i.e get, Install and Uninstall.

SharePoint help collection is not configured with SharePoint Configuration. We have to manually configure it. SharePoint Help Files (. Cab) are installed on the hive folder with SharePoint Installation but not configured by default.

In order to configure it, we have to run PowerShell commands.

Scenario

Krossfarm is having an issue with help file, when the users click on the Help button on their site collection and they get an error, as shown below.



” Unfortunately, help seems to be broken.

There aren't any help collections in the current language for the site you’re using.”



Even if he goes to Site settings > Site administration > Help Settings, he will get the error, as shown below.


Clearly, Help collection is broken and now it is the SharePoint admins responsibility to fix the broken Help Collection.

Steps

In order to fix the broken help collection, we will do the activities, as shown below.

Checking the Help Files

Logon to the SharePoint Server and browse to the Hive folder.

Current Status of Help files

Log on to the Server with farm admin account.

Install Help files

We want to install all the available help, so we will run the command with all the options.

Test

We can test it at both the locations via site settings as well as from browsing the Site collection.

Uninstall

As we noticed, we have 2010 help files, which are also installed, but the Krossfarm team doesn't want that, so we have to uninstall it one by one. There is no way, which helps us to remove all 2010 help files, so we have to uninstall one by one.

Conclusion

In this session, we learned how to fix the broken Help Collection. We also learned about three more PowerShell commands.

Keep reading and learning.