While running the powershell, the file is deleted with the following command
Remove-Item -Path Q:\ALSAutomation\Appln_issue.txt
But the same file is not deleted, when we run the script using task scheduler using windows 10.
Kindly help me to resolve it.