We are trying to run a PowerShell script that exports Hyper-V virtual machines. This command works fine from the PowerShell command line:
c:\Users\keithdavis\Documents\Scripts\PowerShell\Hyper-V-Backup.ps1 -backupto J:\Hyper-VExports -sendto
keithdavis@pridedallas.com -smtp mail.pridedallas.com -l J:\Hyper-VExports\Logs -from
kdavis@pridedallas.comBut from VisualCron, we get this error:
ExecuteProcess("C:\Program Files (x86)\VisualCron\\PowerShell\TaskPowerShell.exe" 3336)->System.NotSupportedException: The given path's format is not supported.
at TaskPowerShell.PowerShellTaskClass.Run(ProcessPowerShellTaskInfoClass ti, StringBuilder& sbStandardOut, StringBuilder& sbStandardError, Boolean& bolResult)
ExecuteProcess("C:\Program Files (x86)\VisualCron\\PowerShell\TaskPowerShell.exe" 3336)->Unhandled execution error: System.NotSupportedException: The given path's format is not supported.
at TaskPowerShell.PowerShellTaskClass.Run(ProcessPowerShellTaskInfoClass ti, StringBuilder& sbStandardOut, StringBuilder& sbStandardError, Boolean& bolResult)
at xdAeNAel7N1GTOPbuG.wsmCLeFDjSxc0fvBRX.IcSMNBBOY(String[] )