Link: https://github.com/ReneNyffenegger/about-PowerShell/blob/master/language/operator/call/script-block/param.ps1
I've been messing about with access private functions in a module (without copying and pasting the code and changing the visibility). I couldn't work out how to pass parameters to a script block (containing the private function). Thanks to your page I was able to use param to solve my problem :)
Link: https://github.com/ReneNyffenegger/about-PowerShell/blob/master/language/operator/call/script-block/param.ps1
I've been messing about with access private functions in a module (without copying and pasting the code and changing the visibility). I couldn't work out how to pass parameters to a script block (containing the private function). Thanks to your page I was able to use
paramto solve my problem :)