Community forum

Please note that VisualCron support is not actively monitoring this community forum. Please use our contact page for contacting the VisualCron support directly.


cmje
  •  cmje
  • No customer Topic Starter
2017-05-26T16:35:51Z
i am new to visualcron
i am attempting to run a powershell command
rdp tp visualcron server, I run this command with powershell successfully (on visualcron server)
i created a job -tasks - powershell - main setting (kept default)
powershell tab - crendentials (my creds) scope local - script execute in x86 mode - tried with powershell file (Path) Failed
powershell tab - crendentials (my creds) scope local - script execute in x86 mode - tried with powershell script test (Path) Failed
Get error 77777 with No Output

ps1 below is also powershell script test
Invoke-Command -Computername cbsxena04 -ScriptBlock {add-pssnapin citrix*; get-xaapplication "Notepad" | set-xaapplication -enabled $False}
Sponsor
Forum information
cmje
  •  cmje
  • No customer Topic Starter
2017-05-29T19:08:47Z
I now have output error log
************************************
Getting a visualCron error running the following

Running Creds: adM_xxx@xyz
scope: running remote
auth mecanism: Default hostname Blank Port 59985
Script xecute in x86
Powershell script
Invoke-Command -Computername cbsxena04 -ScriptBlock {add-pssnapin citrix*; get-xaapplication "Notepad" | set-xaapplication -enabled $True}


ExecuteProcess("C:\Program Files (x86)\VisualCron\\PowerShell\TaskPowerShellx86.exe" 816)->System.UriFormatException: Invalid URI: The hostname could not be parsed.
at System.Uri.CreateThis(String uri, Boolean dontEscape, UriKind uriKind)
at System.Uri..ctor(String uriString)
at TaskPowerShell.PowerShellTaskClass.Run(ProcessPowerShellTaskInfoClass ti, StringBuilder& sbStandardOut, StringBuilder& sbStandardError, Boolean& bolResult)
ExecuteProcess("C:\Program Files (x86)\VisualCron\\PowerShell\TaskPowerShellx86.exe" 816)->Unhandled execution error: System.UriFormatException: Invalid URI: The hostname could not be parsed.
at TaskPowerShell.PowerShellTaskClass.Run(ProcessPowerShellTaskInfoClass ti, StringBuilder& sbStandardOut, StringBuilder& sbStandardError, Boolean& bolResult)
at u11DNvPXLxNvv9G4GM.wBAAsNxLuDiC2tAocE.lUB3kwC66(String[] )
Support
2017-05-30T13:54:08Z
So, what kind of URI from your script is it talking about and where do you get that from?
Henrik
Support
http://www.visualcron.com 
Please like  VisualCron on facebook!
Scroll to Top