I like to use the Integrated Terminal Window inside Visual Studio Code, just because it’s there and it runs commands scoped to the project directory I’m in. I find it faster and more convenient than opening up another command windows or nodejs command window and then having to set the current directory to my project... Continue Reading →
TFS Queries and the @CurrentIteration Token
I was pleasantly surprised this week when I dived into TFS Online to tweak some queries and stumbled upon the new @CurrentIteration token that can be used. This token can potentially solve the administration overhead associated with getting consistent reports out of TFS from sprint to sprint. In the past I have had a series... Continue Reading →
How to: Enable outlining (collapsible statement blocks) for C# code in Visual Studio
I’m often modifying existing C# code in Visual Studio and find myself trying to line up opening and closing braces and trying to figure out what level of nesting I’m currently at. It’s easy when the block fits on a single screen without scrolling, but dive into some complex logic where you’ve got plenty of... Continue Reading →
Getting Started: What are .ps1 files and how do you use them?
What is a .ps1 file? If you want to save a series of PowerShell commands in a file so you can run them again later then you effectively creating a PowerShell script. This is simply a text file with a .ps1 extension. The file contains a series of PowerShell commands, with each command appearing on... Continue Reading →
Beware SharePoint 2013 Search Results and the ListUrl Property
I was recently looking into the results returned by SharePoint 2013 under the scenario of alternate access mappings. Essentially this boils down to the same SharePoint content being available on different host URLs. Here’s an example: I can have a single site which I initially create on http://ourintranet, through the magic of alternate access mappings... Continue Reading →
Getting Started: The Basics of Using PowerShell with SharePoint
I’m a SharePoint guy, and certainly no PowerShell expert. I know enough PowerShell to get things done in SharePoint from time to time. I can often go months without using PowerShell and talking to colleagues I don’t think I’m alone in the SharePoint community. So if you are just starting out with using PowerShell to do... Continue Reading →
How to fix issue with opening Visual Studio solution from tfspreview.com by moving it to visualstudio.com
This problem arises if you were using Team Foundation Services (TFS) Online while it was still in preview. You will be accessing TFS on a URL such as: https://mycompany.tfspreview.com A recent change has been made to TFS Online that prevents you opening solutions using this URL. When you try to open an existing solution (that... Continue Reading →
How to bulk upload/copy a folder structure and files to SharePoint
So you’ve got a bunch of files nicely arranged in a folder structure sitting on your computer or a network drive that you want to copy up to a SharePoint library and preserve the directory structure. On the surface this is a daunting task as you can’t just give SharePoint your folder structure and tell... Continue Reading →
SharePoint PowerShell How To: Create SharePoint List Items (in Root and in 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 →
SharePoint PowerShell How To: Create SharePoint Test Documents in 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 →