Fix PowerShell Command Not Recognized in Windows 11 - Windows Security Real-Time Protection Keeps Turning Off-Check Windows Version via PowerShell Command Line

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