Scenario: You have a PowerShell script running that will convert an .XLSX document into a .CSV Document. When you run it natively in PowerShell, the script works fine and the document converts. When you attempt to run it in Task Scheduler, it doesn’t convert and create the new document.
Solution: Create a Desktop folder in the following two directories and run the scheduled task again.: