I have several PowerShell scripts that use directory dependencies to process other files, and for this I use the $PSScriptRoot automatic variable. However, when I try to run these scripts from a VisualCron PowerShell task, the value of $PSScriptRoot is null and I tend to have to hard-code a path. Why is this variable not populated? Are any automatic variables populated in the VC PowerShell host? Thanks!