Use PnP PowerShell to add ContentType for your SharePoint site
You can achieve the task by using SharePoint GUI. However, if your sites collection has tens of hundreds sites and each site has more than one document library, it will become a nightmare for a SharePoint administrator to do the task by using GUI. Luckily, there is PnP Powershell which can help us achieve the goal. The steps will be like below: #Step1: export your login credential to a secure file on your local machine