An older app in our workplace stack is a webforms website project and it has a large enough directory structure to take a while to compile the site. I have to run the site a fair amount for a rewrite effort and it changes enough to make the initial build and run painfully slow. Since…
PowerShell Activity Progress with Time Estimates
The Goal Recently I worked on a PowerShell module to do various application build related functions on development machines. One side objective was multi-level activity progress reporting with time estimation so activity duration could be gauged over time. The desire was for this to be done generically and quickly as it was more of a…
Scripting NuGet Package Updates (ASP.NET MVC 4)
After creating an ASP.NET MVC 4 web app I noticed in the Visual Studio Package Manager that there were several NuGet packages that had updates available. My first thought was just to update them from the dialog while I was there. That has a few problems though: You have to update packages one at a…
Get Latest Version of Specific Files With TFS Power Tools
Sometimes it is handy to get the latest version of certain types of files in TFS source control. These files may reside across many folders in a large solution so it can be painful to either download a large root branch or cherry-pick through a number of folders. With the TFS Power Tools and a…
TFS Checkout, Search and Replace with PowerShell
Occasionally I need to make batch edits to files that are under TFS source control, outside of Visual Studio. Usually the need is editing some 37 project files to replace some path difference after branching and merging. Some options for the source control checkout: Manually checkout each file – Across 37 folders? No thanks. tf.exe…
Uploading SSRS Reports with PowerShell
The existing SSRS report deployment process I have been working with uses SQL Server’s RS Utility along with a custom app that creates RSS input files that rs.exe reads. Both applications are used by a PowerShell script that serves as the driver. In setting up a new machine at work I had neither tool installed…
Batch Download SSRS Reports with PowerShell
Lately our continuous integration process has encountered some errors with automatic SSRS report deployments to our Test environment when reports are merged to the appropriate branch. Unfortunately when this fails the process makes no attempt to re-deploy the reports on the next build. Those CI failures left me with a need to mass download the…