Powershell Global variables not working correctly from functions - VisualCron - Forum

Community forum

Morten Knudsen
2020-04-20T17:22:53Z
When I start a script using ISE, my script works correctly and my Teams posts from Powershell works correctly.
But when I run the same script using VisualCron, it doesn't work.
I think it is related to Global variables
Any hints ?
Support
2020-04-21T09:40:22Z
Originally Posted by: Morten Knudsen 

When I start a script using ISE, my script works correctly and my Teams posts from Powershell works correctly.
But when I run the same script using VisualCron, it doesn't work.
I think it is related to Global variables
Any hints ?



Hi Morten,

Try breaking it down by removing row by row to find where the problematic row/string could be. Try the script without the variable and then get back to us with information/screenshots if possible. You can also reach us at support@visualcron.com and attach the screenshots and we will get back to you via email about it.
Michael
Support
http://www.visualcron.com 

Please like  VisualCron on facebook!
Scroll to Top