Recently I had reason to deploy a new SQL Server instance for a quick POC. As many in the scenario would, I initially chose to install SQL Express, rather than messing with license requirements and all that. As sometimes happens, after everything was already set up and configured, I discovered a need to use the …
Continue reading Quick Hits: Converting SQL Express to Full SQL Server
Promoting External Parameters
I am fully aware that I have been writing a lot of posts recently but, in my defense, work has recently left me unsupervised. This means I’ve had lots of time to spend working on fun PowerShell side projects, which naturally also means more blogs. As part of my current pet project, I had been …
Continue reading Promoting External Parameters
More About AST
AST can be ugly, and confusing, and it’s hard to know what to look at. This article attempts to cover some of the more useful AST classes and offer some ideas on how to use them.
Parsing PowerShell – A Follow-Up
Previously, I wrote an article on using AST and a specific ‘gotcha’ that I encountered, as well as how to work around it. If you haven’t read that article, I’d encourage you to do so. The Trouble with AST in PowerShell Today, I’m back with a new wrinkle, another work around, and a bit of …
Continue reading Parsing PowerShell – A Follow-Up
Read Text Content (w/o Unzipping)
What’s this? Another post? Yep, I’m on a roll. This particular installment will be relatively quick, as such things go, but I hope it will also be valuable. Use Case: View text in a Zip file, without extracting the file to disk First off, if you just want to know how to extract or compress …
Continue reading Read Text Content (w/o Unzipping)
The Trouble with AST in PowerShell
Ok, if you are new to PowerShell, you aren’t going to have a clue what this ‘AST’ thing even is. AST has been covered extensively by others in the past, so I won’t go into details here (just Google PowerShell and ast). In brief, AST stands for Abstract Syntax Tree, and its purpose is to …
Continue reading The Trouble with AST in PowerShell
All Your PSBase Are Belong to Us!!
If you’ve been working with PowerShell for any real length of time, you know that PowerShell is deeply tied to the .NET framework. If you weren’t aware of that, perhaps because you only use a handful of cmdlets for limited and specialized purposes, or only use scripts posted online, well…surprise!! Everything in PowerShell, at the …
Continue reading All Your PSBase Are Belong to Us!!
PowerShell Module Adventures: Part 4
About now, it is time for some housekeeping items I think. We’ve been trudging along in this series working through a logical set of steps. In the last article, I talked about a couple of pretty important helpers; DTOs and AutoMapper. In addition to this, the earliest articles in the series were focused a lot …
Continue reading PowerShell Module Adventures: Part 4
PowerShell Module Adventures: Part 3
In part 2 (found here), I indicated that the next article would be focused on securing our budding API, but that is going to have to wait. Clearly that was a much younger and more naive version than the man I am today. As it happens, the scaffolded API we built in the last article, …
Continue reading PowerShell Module Adventures: Part 3
PowerShell Module Adventures: Part 2
Way back in part 1 of this series, I started working on trying to build out the basics of a web API to use as part of my new PowerShell module. If you haven’t checked that one out yet, you can find it here. In that article, I spent a lot of time trying to …
Continue reading PowerShell Module Adventures: Part 2