TIL you can reference PowerShell object properties using a variable containing the name
Need to reference a property dynamically by a name stored in a variable? There's an easy way to do that!
Tags: powershell, quicktip, todayilearned