Hi,
How can I call external functions (functions.ps1) from another ps script (test.ps1) ?
Thank you
Dominic
You can dot-source the script
. .\functions.ps1
(That is a dot followed by a space, followed by the path to the .ps 1file)
And now you can call the function in functions.ps1 by name
Blog: lucd.info Twitter: @LucD22 Co-author PowerCLI Reference
I forgot the space after the dot
Thank you for your help