Include scripts in PowerShell GUI project
Posted: Tue Sep 17, 2019 6:29 am
Hello, I would like to know if in a PowerShell project you can include other scripts in like the form_load event? I would like to include a couple of scripts in the same directory as my powershell project and have their functions available to the form project like this:
.\getsomeinformation.ps1
.\getmoreinfo.ps1
so on and so forth.
Thanks!
Tim
.\getsomeinformation.ps1
.\getmoreinfo.ps1
so on and so forth.
Thanks!
Tim