Monday, November 10, 2014

Generate Documentation For SharePoint Farm

To Generate documentation for SP farm, just follow the following steps:

- Download the this script from: https://gallery.technet.microsoft.com/office/Inventory-SharePoint-Farm-dc11fc28

- Open the SP server, then open PowerShell as administrator.

- Open downloaded script in PoweShell.


- Go to the script location to import the script


- Create directory to save reports in


- Now, if you go to C drive, you will find folder named 'Report'.

- Just execute the following command in PowerShell:
Run-FullInventory -DestinationFolder "C:\Report" -LogFilePrefix "YOURProjectName"


Now, you can go to C:\Report to view reports generated:



Then you can convert csv files to excel files to make it readable.



Note that, if you have more than one server in your farm, you should generate reports in all nodes. Because some reports like TimerJobs is depending on specific node.



Saturday, November 8, 2014

SharePoint Error: Distributed cache service is not enabled in this deployment

Sometimes you get the following error message in SP log:
"Distributed cache service is not enabled in this deployment"

To solve this issue, just enable windows service 'AppFabric Caching Service'.



Note that, if you have more than node in your farm, you should enable the service in all nodes.