Creating a PowerShell Weather Command Part 8
I truly hope you’ve been learning something about developing a PowerShell tool and writing Pester tests. You can easily knock out a quick and dirty script or function that does the job. But are you sacrificing code quality? How easy will the code be to maintain?
There’s definitely more to do with my weather commands, including fixing a bug. Let’s start with that. Here’s the problem.
In some instances, I can get multiple results. In looking at the location results, I think I only want the first item. That shouldn’t be too difficult to code.
Want to read the full issue?