I have a function am working on, I have placed an xml file in the same folder as the function. I'm trying to get this folder using syntax like this: ./file.xml
or ~/functionfolder/file.xml
.. but nothing is working. I saw other posts online suggesting using something like this:
$EXECUTION_CONTEXT_FUNCTIONDIRECTORY
.. however when I write-host $EXECUTION_CONTEXT_FUNCTIONDIRECTORY
it shows nothing.
Any help is appreciated.