Created
June 9, 2018 15:58
-
-
Save hoetz/f141b6f88b19ab85cc027f7d1cbde2dc to your computer and use it in GitHub Desktop.
pipe_powershell_function
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function PipeableFunction { | |
[cmdletbinding()] | |
Param ( | |
[parameter(ValueFromPipeline)] | |
[string]$upn | |
) | |
Process { | |
$_ | |
} | |
} | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment