Scenario/Problem: You need to ensure that the SharePoint products installed on a farm server are properly registered.
Solution: Use the Set-SPFarmConfig
cmdlet with the InstalledProductsRefresh
switch parameter.
Using the InstalledProductsRefresh
switch parameter with the Set-SPFarmConfig
cmdlet refreshes the current server’s license state with the products installed on the SharePoint farm. Listing 4.3 shows a sample command line.
Set-SPFarmConfig -InstalledProductsRefresh
3.133.147.87