PowerShell - Functions
What is wrong with this function if it does not output the piped input when piped input is given?
function Test-Pipe {
param([Parameter(ValueFromPipeline=$true)] $item)
begin { Write-Output 'Start' }
end { Write-Output 'End' }
}
And then called as: 1..3 | Test-Pipe