Columns You Make Yourself: Calculated Properties

A calculated property is a column you add to Select-Object yourself, written as a hashtable with a Name for the heading and an Expression that works the value out for each object, such as a file's size in megabytes, rounded with [math]::Round.

Updated

Cheat sheet for the lesson Columns You Make Yourself: Calculated Properties: A calculated property is a column you add to Select-Object yourself, written as a hashtable with a Name for the heading and an Expression that works the value out for each object, such as a file's size in megabytes…
Category
PowerShell
Level
Journeyman
Tags
Calculated Property, hashtable, operating-system, powershell, script-block, select-object