I have got a script which has a function in it.
When navigating to and running this script from the Powershell console using Dotted Source it works just fine, but when Pasting the Script and running it from MS Powershell ISE or other Powershell Script Editors like PowerGUI, there is no way to add . . in front of the Script Name, and as a result the function does not run and throw an error.
Can someone please clear this up for me? thanks so much