PowerShell Rename Hashtable Properties

This is a brief demonstration of how we can rename property names uniformly across a hash table, effectively renaming the “Column Name” that will be output if we generate a CSV. $Data = Get-Content -Path ~\jsonextract.json | ConvertFrom-Json -AsHashtable foreach($D in $Data) { $D.newPropertyName = $D.oldPropertyName; $D.Remove("oldPropertyName"); }

December 5, 2024 · 1 min · Tyler Samples

nvim Cheat Sheet

nvim Cheat Sheets ...

September 13, 2023 · 1 min · Tyler Samples

Terminal Setup

This is a quick tutorial on getting the basics of a useful Terminal environment for development on a Windows machine. ...

September 5, 2023 · 3 min · Tyler Samples