I have a function which calls a powershell script. The function seems to work pretty good for other stuff but it seems to fail when i run it on a specific script. One reason I t