PowerShell Performance Checklist for Slow Scripts - Migrate Scheduled Tasks from Server 2016 to 2022-Add PowerShell to Windows PATH Variable

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