How to get an object’s property’s value by property name? July 11, 2022 by Tarik Sure write-host ($obj | Select -ExpandProperty "SomeProp") Or for that matter: $obj."SomeProp"