It's not just experimenting any more - I'm building script libraries with common functionalities and functions, so I want to use those without having to paste them before every script I run.
An example would be a function that formats errors with full stack trace adding "Resolve-Error" function I want to be able to call this function in my scripts so I want my "Resolve-Error" script be run before them so I can make use of them. Kind of like "using" in C#.
I need a way of doing it either from the script or from the script configuration.
It's not just experimenting any more - I'm building script libraries with common functionalities and functions, so I want to use those without having to paste them before every script I run.
An example would be a function that formats errors with full stack trace adding "Resolve-Error" function I want to be able to call this function in my scripts so I want my "Resolve-Error" script be run before them so I can make use of them. Kind of like "using" in C#.
I need a way of doing it either from the script or from the script configuration.