Skip to content

Instantly share code, notes, and snippets.

@hoetz
Created June 9, 2018 15:58
Show Gist options
  • Save hoetz/f141b6f88b19ab85cc027f7d1cbde2dc to your computer and use it in GitHub Desktop.
Save hoetz/f141b6f88b19ab85cc027f7d1cbde2dc to your computer and use it in GitHub Desktop.
pipe_powershell_function
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