Calculated Fields

You have probably seen something like this many times Get-WmiObject -Class Win32_LogicalDisk -Filter "DriveType=3" | select @{Name="FreeSpace";Expression={$_.Freespace / 1GB}} We take an object and perform a calculation to in effect Read More...

Read the complete post at http://msmvps.com/blogs/richardsiddaway/archive/2011/06/13/calculated-fields.aspx


Posted Jun 13 2011, 04:06 PM by Richard Siddaway's Blog
Filed under:
Copyright 2012 PowerShell.com. All rights reserved.