Many times a returned property from an object in PowerShell may not be ideally named, or the value is not quite in the necessary format. For those instances, PowerShell has the calculated properties construct. This useful feature allows for modifying the returned value easily during select operations and quickly and easily return what’s needed in the pipelined output. In practice, what does this look like? How about taking one date format, and changing to a different format?
Read This Article on CloudSavvy IT ›
Wednesday, 30 December 2020
Wiki How 2019
Wikihow
0 Response to Calculated Properties in PowerShell Functions
Post a Comment