rakhesh.com
Using closure to capture the variable value in a script-block
You can’t use New-Item to create new functions or aliases. It only works for files and directories. But you can use Set-Item to create new functions and aliases. [crayon-6621f0e70ef0977262984…