Re: While running the Script in Windows Powershell ISE it is working fine. Task Scheduler does not work
                @hajareyogesh1979: Sorry, but you still didn't provide enough information.
Did you try to follow for example this guide?
https://winscp.net/eng/docs/guide_debugging_scheduler#powershell
        Did you try to follow for example this guide?
https://winscp.net/eng/docs/guide_debugging_scheduler#powershell