How to select custom attributes on an object
Normally, when you use Select-Object, you are restricted to the properties of the object on the pipeline. i.e.
But if you want to display a child object's property or do a simple calculation on a field ,can that be done on a Select-Object
?
You can with:
NOTE: N is a short form of Name and E is a short form of Expression.
You can do field manipulation too, like:
PreviousHow to install PowerShell core on MacOSNextHow to run powershell in 32 bit mode within 64 bit
Last updated