Let’s consider the below snippet,

Get-ChildItem -Path C:\\MyFolder | Select-Object Name, CreationTime, Length

It simply output the folder content with the selected properties. Something like,

https://s3-us-west-2.amazonaws.com/secure.notion-static.com/0088632f-0708-41ce-b153-6ff7c2913751/Untitled.png

What if I want to display the file size in KB ? This is where calcualted properties comes handy.

Get-ChildItem C:\\MyFolder | Select-Object Name, @{Name="Size_In_KB";Expression={$_.Length / 1Kb}}

Which produces,

https://s3-us-west-2.amazonaws.com/secure.notion-static.com/0f9874e1-5d15-4bcb-b4e9-89f3f14bcb3e/Untitled.png

The Expression is what holds the calculation for calculated property. And yes, it can be anything!