• Just a complementar information about write-output and write-host.

    Write-output writes the output to the pipeline (what you should want to do it, since powershell is a object-oriented shell).

    Write-host takes all the data 'out'of the the pipeline and dumps to the out-host and, consequentelly, nothing goes to the pipeline. Basically what write-host does is [console]::writeline()

    $hell your Experience !!![/url]