Dot sourcing
When you dot source a script (or scriptblock), all variables and functions defined in the script (or scriptblock) will persist in the shell when the script ends.
. .\powercat.ps1
Last updated 3 years ago