Functions in PowerShell are based on scriptblocks and as I showed in my session at the recent PowerShell Summit its possible to change a function definition.
Let’s start with a simple function:
PS> function f1 {
>> $x = 1
>> $y = 2
>> $x + $y … Read the full text.