SharePoint PowerShell How To Series - Foreword I often find myself scratching around the local drive of my development machines for remnants of PowerShell scripts to generate list & libraries in SharePoint with all sorts of different folder hierarchies to test the performance of code I’m working on to ensure it scales well once the folder... Continue Reading →
Detect if New Folders are allowed in SharePoint List/Library using Lists web service from remote application (works across SharePoint 2007, 2010, 2013)
Today I found myself tasked with finding a common method for detecting if a SharePoint list/library had been configured to allow new folders from a remote client application. The method also had to work across all versions of SharePoint (well at least 2007, 2010, 2013 on-premise and in the cloud). This ruled out using client... Continue Reading →
SharePoint PowerShell How To: Create SharePoint Library Folders for Load/Performance Testing
SharePoint PowerShell How To Series - Foreword I often find myself scratching around the local drive of my development machines for remnants of PowerShell scripts to generate list & libraries in SharePoint with all sorts of different folder hierarchies to test the performance of code I’m working on to ensure it scales well once the folder... Continue Reading →
How to find the Version, Culture and PublicKeyToken of an Assembly (DLL) using PowerShell
In response to a question on my article How to install a DLL to the GAC on Windows Server 2012 using only PowerShell (without having to install SDK or Visual Studio) here’s how you can find the PublicKeyToken for a DLL using only PowerShell. The output of this PowerShell statement will provide the Version, Culture... Continue Reading →
SharePoint Client Browser 1.0 released, bye bye preview!
Very handy tool that developers and admins can add to their toolbag. Similar to the SharePoint Manager 2010/2013 tool that has been a great resource for many years now. SharePoint Client Browser has the added benefit of supporting different credentials modes, remote SharePoint Sites and handy PowerShell integration.
Bram de Jager - Architect, Speaker, Author
Finally after 2 months I decided to build the 1.0 version of SharePoint Client Browser and released it to the community! Although the preview (beta) status did not prevent people from downloading it. The counter is currently set at 555 downloads since start of the project on the 2nd of July (only 2 months ago).
CodePlex project and download at https://spcb.codeplex.com/.
So what got changed? I guess almost everything changed from authentication support for default (username and password), SharePoint Online, anonymous and forms based all the way to almost complete coverage of the Client Side Object Model (CSOM). That’s a bit over the top, but the basics for Foundation are in the tool. New capabilities for future releases will focus on Server components like taxonomy.
Remote PowerShell for SharePoint Online and on-premise
A hidden gem is the PowerShell support. It’s very easy to start a PowerShell session and use…
View original post 167 more words
How to set the height of a WinForms CheckedListBox to fit to dynamic contents without scrollbars
I recently encountered a problem trying to get the Windows Forms CheckedListBox control to resize it’s height to exactly fit it’s contents (items) without showing scrollbars. Initially I looked at using the obvious PreferredHeight property, but it quickly became evident that the preferred height didn’t give me a useable value. It was out by a... Continue Reading →
How to import (upload) an entire folder of files to SharePoint using PowerShell
SharePoint PowerShell How To Series - Foreword I often find myself scratching around the local drive of my development machines for remnants of PowerShell scripts to generate list & libraries in SharePoint with all sorts of different folder hierarchies to test the performance of code I’m working on to ensure it scales well once the folder... Continue Reading →
How to install a DLL to the GAC on Windows Server 2012 using only PowerShell (without having to install SDK or Visual Studio)
Prior to Windows Server 2012 I had been use to installing DLL files in the Windows Global Assembly Cache (GAC) by either opening the Windows/Assembly folder in Explorer and simply dragging and dropping the file, or by using GacUtil.exe With Windows Server 2012 unfortunately it’s not quite so easy. Being able to simply open the... Continue Reading →
How to Permanently Remove TFS Source Control Bindings from Visual Studio Solutions (VS2012)
I often have the need to distribute Visual Studio source code to external parties. Internally this source code is under source control in Team Foundation Server (TFS). It would be nice if you could just take a copy of the source files and remove the source control binding (in Visual Studio). Unfortunately I haven’t found... Continue Reading →
How to encode a string for use in xml
The Problem When you are constructing xml using the classes from the System.Xml namespace you really don’t need to worry about encoding characters, you simply set the value of an XmlAttribute and the rest is taken care of for you. There are some instances however where you find yourself constructing a string representation of xml.... Continue Reading →