How to display Angular version at run-time.
1 Background This document was composed in early August 2017 for the purpose of explaining how to incorporate Bootstrap version 4 into an Angular 4.x application that was initially scaffolded using Angular-CLI. A lot of the information in this document is available in bits and pieces on the internet, but, as far as I can […]
Azure PowerShell cmdlets don’t like string values with upper-case or special characters, so you need to “sanitize” them before sending them to any of Azure’s PowerShell cmdlets. Yes, I know, there are *SOME* Azure PowerShell cmdlets that work just fine with mixed-case string values; but, ask yourself this question: do I really want to waste […]
I recently ran across a situation in which I had to verify that some C# code designed with the objective of taking an instance of a C# object representing a Country and converting it to equivalent JSON string notation still worked as we transitioned some custom C# code (.Net Framework 3.5 SP1) from SharePoint 2007 (Visual […]
There are thousands of articles on the internet and dozens of books about how to read an XML file (or other source) using the built-in [xml] capabilities of PowerShell (version 2.0, the most widely used). The best way to illustrate why so many of those articles and books are flat out wrong is to illustrate with […]
Thou shalt make sure thou art a Site Collection Administrator when running STSADM -o ActivateFeature that creates new sites or else thou art doomed to suffer painfully with Access Denied errors and half-baked sites. On 2011-05-27. on a SharePoint 2007 SP2 project I was working on, the Farm Administrator was running a series of STSADM commands […]
I’ve seen a lot of information about how to run a PowerShell script from inside a BAT file, but most seem very outdated, using the “&” (ampersand) character together with a difficult to remember set of single and double quotes. For me at least, the simple answer is something like the following, where we assume […]