Monday 21 September 2015

Replicating documents from file share into SharePoint folder

Features:
  • Uploads documents from file share (or local disk) to SharePoint library folder.
  • Creates folder structure.
  • Deletes documents and folders that are not available on file share.
  • Can replicate documents into SharePoint on-premise and SharePoint online (Office 365)
  • Can work with several folder pairs (source-destination)
  • Designed to be scheduled
  • Handles logging
  • Provides errors log
Here is a solution:
https://github.com/shurick81/Sharepoint-powershell-scripts/blob/master/docreplica

SharePoint limits monitoring

SharePoint has a number of limits that may cause versatile problems in case of you cross them.
Here is a description of these limits for SharePoint 2013:
https://technet.microsoft.com/en-us/library/cc262787.aspx
But how easy you can control that you can stay calm? SharePoint is usually a platform that has many owners and administrators for each site collection/site/list. Thus responsibility is blurred. It is not so easy to teach them all how to stay in boundaries and how to control overall limits.
Here is a solution: PowerShell script that allows you to receive an alert when any is crossed or about to be crossed.
https://github.com/shurick81/Sharepoint-powershell-scripts/blob/master/limitsandtrasholdsmonitoring
Currently monitored limits (to be extended if you like this solution):
  • Number of web applications
  • Number of alternative Urls
  • Number of Host Named Managed Paths
  • Number of Path Based Managed Paths
  • Number of App Pools
  • Number of Databases
  • Size of Database
  • Number of items in DB
  • Number of items in list
  • Number of items in list view
  • Number of lookup fields in list view