← Voltar ao feed
low

Microsoft Deprecates Windows PowerShell 5.1; Windows 11 to Preinstall PowerShell 7 as an MSIX Package

1 fonte(s) · 1 atualização(ões) · publicado 18/11/2026 09:04 · coletado há 2 semanas

Microsoft has announced that Windows PowerShell 5.1 is formally deprecated. It will get no new features or quality improvements, but it will keep receiving critical security patches under the Windows support lifecycle. Existing scripts, scheduled tasks and services keep running. Per the article, Windows 11 26H2 and Windows Server 2025 are the last releases to bundle 5.1 natively. Later builds will make it an optional Feature on Demand, and a future release will remove it, with the date set from telemetry and announced in advance. This is product-lifecycle news with no vulnerability, exploitation or threat actor involved. The research tools were not used, so the article is the only source. The Microsoft PowerShell blog post it cites was not opened.

Detalhes técnicos

  • PowerShell 7 is not an in-place upgrade. It runs on a separate .NET base and has its own install folders, profiles, module paths, event logs and remoting endpoints.
  • Migration risks: differing .NET Framework behavior, Windows PowerShell-only modules that do not load, changed or removed cmdlets, and different profile paths. Tasks that call powershell.exe or declare #Requires -PSEdition Desktop still launch 5.1.
  • Preinstalled PowerShell 7 will ship as an MSIX package. Current MSIX limits: running as SYSTEM, DISM cmdlets such as Add-WindowsCapability, and AllUsers profile management. Microsoft says it is working on these and on PSScriptAnalyzer checks for incompatible syntax.

Remediação

  • Inventory legacy scripts.
  • Test production scripts in PowerShell 7 before deciding to migrate, refactor or keep 5.1.
  • Re-validate remoting endpoints, module autoloading and Group Policy settings.

Linha do tempo

  1. securityonline.info ↗ · pub. 18/11/2026 09:04 · coletado 18/11 10:00 primeiro registro

    Microsoft Deprecates Windows PowerShell 5.1; Windows 11 to Preinstall PowerShell 7 as an MSIX Package

    ler a análise desta fonte

    Microsoft has announced that Windows PowerShell 5.1 is formally deprecated. It will get no new features or quality improvements, but it will keep receiving critical security patches under the Windows support lifecycle. Existing scripts, scheduled tasks and services keep running. Per the article, Windows 11 26H2 and Windows Server 2025 are the last releases to bundle 5.1 natively. Later builds will make it an optional Feature on Demand, and a future release will remove it, with the date set from telemetry and announced in advance. This is product-lifecycle news with no vulnerability, exploitation or threat actor involved. The research tools were not used, so the article is the only source. The Microsoft PowerShell blog post it cites was not opened.

    Technical Details

    • PowerShell 7 is not an in-place upgrade. It runs on a separate .NET base and has its own install folders, profiles, module paths, event logs and remoting endpoints.
    • Migration risks: differing .NET Framework behavior, Windows PowerShell-only modules that do not load, changed or removed cmdlets, and different profile paths. Tasks that call powershell.exe or declare #Requires -PSEdition Desktop still launch 5.1.
    • Preinstalled PowerShell 7 will ship as an MSIX package. Current MSIX limits: running as SYSTEM, DISM cmdlets such as Add-WindowsCapability, and AllUsers profile management. Microsoft says it is working on these and on PSScriptAnalyzer checks for incompatible syntax.

    Remediation

    • Inventory legacy scripts.
    • Test production scripts in PowerShell 7 before deciding to migrate, refactor or keep 5.1.
    • Re-validate remoting endpoints, module autoloading and Group Policy settings.