I'd like for the VisualCron PowerShell host to support the same automatic variables as the native PowerShell host. When moving PowerShell scripts from the Windows Task Scheduler, the lack of some of these variables has caused substantial refactoring. For instance, if a script relies on it's local directory to gather data or run other scripts, I'd generally use the PowerShell $PSScriptRoot automatic variable. However, this is not available when I run the scripts in VisualCron.
More on automatic variables can be found here:
https://msdn.microsoft.c...bout_automatic_variables