ExTS Admin BetaTime Posted October 17, 2018 ExTS Admin Posted October 17, 2018 Hi Guys, I am trying to copy files from a Network location to a local folder using Powershell scripting. The very strange thing is, when I run this script via Powershell ISE it working fine. But when i run this script via Windows Task Scheduler from the same machine, it is unable to copy files. It is even unable to see the files in the network drive. Eg: when i run this command via Windows Task-scheduler, i.e. $(ls $(Network_Location_Name) | Measure-Object -Property Length -Sum).Count | outfile FileName.log, the result is ZERO ! In addition, I made sure I am running the task with a service account which has full access to the Network location from where it is copying the files. Please help and thanks in advance! Regards Mike Mike More... Quote Forum Squared | SEO Help Forum | Web Server Forum
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.