Category: PowerShell
-

Terminate SharePoint 2013 Workflows with PowerShell
Let’s admit it. Sometimes things just go wrong and you need an easy or straight forward way of cleaning it up and starting over again. An example of this happened to me the other day where I had a bad workflow that went unnoticed and started suspending. By the time it was noticed there were…
-

Proper way to handle workflows that throw a Microsoft.Workflow.Client.ActivityValidationException
I had to build a fairly complex workflow not long ago. The workflow was built in SharePoint Designer 2013 and had a lot of moving parts to it. So many, that when I went to publish it I received the following error message: “Microsoft.Workflow.Client.ActivityValidationException: Workflow XAML failed validation due to the following errors: Activity “SomeXActivity”…
-

Read XML Data Files Stored in a SharePoint Library with PowerShell
I recently had a need to read data from an xml configuration file that was stored within a SharePoint library. To make things easier I of course went to Google (or Bing) and checked to see if someone else had yet blogged this. Couldn’t find anything, so in order to help out someone else that…
-

Manipulating SharePoint External Lists using CSOM
This is the second part in my series on developing code to modify external lists. In this post we will be updating SharePoint external lists using CSOM. Like standard PowerShell there is not any real difference in the execution of the update between internal and external lists. What is different is how the data is…
-

Using PowerShell to Access Data In External Lists
I created my blog series on SharePoint BCS quite some time ago in order to illustrate how easy it is to access data outside of SharePoint and present it within a list or document library. I have been meaning for quite some time to demonstrate how writing code for external lists\libraries is very similar to…