PowerShell Command Not Found but Works in CMD - Resolve 'cmd service unavailable permission denied' on Windows 10/11-Fix Docker Entrypoint Script Exit Code 1

Final checklist
- Confirm that the same symptom is gone after a restart or refresh.
- Keep the smallest working change and undo temporary diagnostic settings.