Tips

Home » Tips

Prune System Log Files

Introduction Let's face it, logs are everywhere.  It seems like every piece of software creates log files these days.  Unfortunately, not every piece of software cleans up after itself or allows setting limits on the amount of logging to create and retain.  This can bring down a system if log file storage is not kept [...]

By |2020-05-20T11:31:08+04:30May 20th, 2020|PowerShell, Tips|Comments Off on Prune System Log Files

Find Failed On Start Workflows

Introduction You may come into work one day and find that your workflows are failing.  Examining the workflow details will reveal "Failed On Start" errors.  Most likely this is due to a patch.  The fix for the patch is to manually add several lines to  the web.config file of your SharePoint web application servers.  In [...]

By |2020-04-29T15:55:14+04:30April 29th, 2020|PowerShell, Tips, Workflow|Comments Off on Find Failed On Start Workflows

SharePoint 2010 Search Service Removal and Cleanup

Sometimes you just need to rebuild SharePoint 2010 search.  It happens.  Life happens.  SharePoint 2010 Search poops the bed.  This article will discuss how to remove a SharePoint 2010 search service application and clean up leftover search components. Search Service Application Removal So the first thing we need to do is remove the search service [...]

By |2020-04-07T16:52:34+04:30April 7th, 2020|Central Administration, PowerShell, Tips|Comments Off on SharePoint 2010 Search Service Removal and Cleanup

Configure and Verify NTP on ESXi 6.7

This article discusses how to configure an ESXi 6.7 host to synchronize time with an upstream NTP server and how to verify that it's actually working. NTP Configuration The first step is to configure time synchronization on the ESXi host(s).  This can be done using the VMware Host Client, the vSphere Web Client or the [...]

By |2019-11-01T11:28:02+04:30November 1st, 2019|Tips, VMware|Comments Off on Configure and Verify NTP on ESXi 6.7

Rename SharePoint Service Application or Proxy

If you would like to rename a service application or it's proxy, PowerShell can get it done! Let's say the Managed Metadata service is named "Managed Metadata" and the associated proxy is also named "Managed Metadata".  To change the service name to "Managed Metadata Service" and the proxy name to "Managed Metadata Service Proxy", the [...]

By |2019-10-14T16:17:55+04:30October 14th, 2019|Central Administration, PowerShell, Tips|Comments Off on Rename SharePoint Service Application or Proxy

List Site Collection Workflows

Would you like to know how many workflows are in a given site collection?  How many of those workflows are currently running?  How many old versions of workflows you have laying around?  The following PowerShell script will crawl a site collection and enumerate all lists/libraries for workflow associations and report back useful information such as [...]

By |2019-10-10T21:47:10+04:30October 10th, 2019|PowerShell, Tips|Comments Off on List Site Collection Workflows

Maintain SharePoint Workflow History Lists

Overview A daily Workflow Auto Cleanup job runs to permanently delete workflow instances and related task entries that still exist 60 days after a workflow is completed or canceled.  Workflow history items themselves are not deleted, but the entry point to view them on the status page for a particular instance of a workflow will [...]

By |2019-10-10T14:46:36+04:30March 1st, 2018|PowerShell, Tips|Comments Off on Maintain SharePoint Workflow History Lists

SharePoint Role Assignments

Introduction You may be asking yourself, what exactly are SharePoint role assignments?!  This article will discuss the following role assignment topics: Definition Growth SharePoint Impact Discovery Maintenance Definition A role assignment is the relationship between role definitions, users and groups, and scopes.  Let's break that down a little further! Role Definition Role definition is synonymous [...]

By |2017-11-16T13:49:34+04:30November 16th, 2017|SQL, Tips|Comments Off on SharePoint Role Assignments

Quickly Empty Recycle Bin With PowerShell

Introduction I was doing some site cleanup today and ended up with around 15,000 items in a site collection recycle bin.  I started cleaning them out using the GUI.  It was SLOW going.  There is no way to "Delete All" for the second stage bin.  Rather, you have to delete items from the second stage [...]

By |2017-10-25T21:31:34+04:30October 25th, 2017|PowerShell, Tips|Comments Off on Quickly Empty Recycle Bin With PowerShell
Go to Top