Piping between functions
A question came up about piping between advanced functions. The input to the second function might be an array. To illustrate how this works imagine a function that gets disk information ““ or better still use this one. `function get-mydisk { [ CmdletBinding ( ) ] param ( [string] $computername = “$env:COMPUTERNAME” ) BEGIN { } #begin PROCESS { Get-WmiObject -Class Win32_LogicalDisk -ComputerName $computername | foreach { New-Object -TypeName PSObject