Hello. In my v3 scripts, near the beginning of the Deploy-Application.ps1, I dotsource a ps1 file from the SupportFiles folder. This file has some common functions that we use in our instal and uninstall sections of PSADT. At the risk of embarrassing myself again, I can’t seem to figure how to do this with v4. I think that the ps1 file is being loaded okay but none of the functions are available in the un/install functions.
I’ll continue to stumble around as I’ve not tried everything yet but, in the meantime, I thought I’d ask if someone can point me in the right direction?
I know I should probably create a module but would rather the quick and dirty solution now while I work on a module (or perhaps extension) in future.
Thanks.