Custom Objects Example
Wednesday, April 9th, 2008 by Don Jones
We've long been advocates of outputting objects, rather than text, and of keeping individual functions very single-task-specific. Here's an ultimate example of these two philosophies: The first function, Get-DriveInventory, emits custom "drive inventory objects" rather than text. The second, Write-DriveInventory, takes these objects and writes their properties to a pre-designed…   More »










