Is there an option to change the default variable scope to private for a script? E.g. via PSDefaultParameterValues?
I don't like that variables are used from parent when they are note defined in the current scope.
Set
Last updated:2019-05-16