In the movie Star Wars: Episode IV—A New Hope, the Death Star was designed to be the perfect weapon, with enough firepower to destroy a thousand star systems. Yet a small, ragtag group was able to blow it up. If only Emperor Palpatine had consulted with testers, all of the Death Star’s vulnerabilities could have been found and addressed!
Since I spend most of my day in the console| PowerShell also serves as my Excel. So| continuing my recent trend of PowerShell related posts| let’s dig into a quick and easy way to parse up CSV files (or most any type of file) by creating objects!
A simple example of how it can be easier to make a change by first refactoring the code to make the change easy.