Skip to content

Latest commit

 

History

History
27 lines (19 loc) · 493 Bytes

Pipeline-input-Without-using-ValueFromPipeline-attribute.readme.md

File metadata and controls

27 lines (19 loc) · 493 Bytes

pre

Minimum Example

The only requirement for $Input is that you have a -Process block

🐒> function doubleIt { process { $Input * 2 } }
    
    4, 'cat', 34 | doubleIt

    # output:
    4
    4
    cat
    cat
    34
    34

Docs