Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #Do-A.ps1
- PARAM([String] $Param1)
- Function Do-A{ PARAM([String] $Param1 ); Write-Output "A: $Param1"}
- Do-A -Param1 $Param1
- # or with using splatting (useful when multiple parameters "coincidentally" match up)...
- # Do-A @PSBoundParameters
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement