Fix 'Not Recognized as Internal or External Command' Error - Fix Task Scheduler 'Module Not Found' and 'Permission Denied' Errors-How to Debug PowerShell Backup-Restore Scripts

Result check
- Keep one change per test run so you know which step helped.
- Undo temporary changes after the issue is confirmed.