Windows Server 2028 preview deprecates PowerShell 5.1 and removes VBScript

Published November 16, 2026

Microsoft’s list of removed and deprecated features includes two changes in the Windows Server 2028 preview that affect scripting.

Windows PowerShell 5.1 is deprecated. Microsoft says to test existing scripts, modules and management workflows with PowerShell 7, and to use the results to plan the migration. PowerShell 7 and Windows PowerShell 5.1 have compatibility differences, so assess your dependencies before you migrate. The page links to Microsoft’s migration guidance.

VBScript is removed. Scripts and applications that depend on it stop working. Microsoft recommends PowerShell for administrative scripts and JavaScript for web scripts.

The same page lists WMIC as removed in Windows Server 2028, while WMI itself is not removed. It also says VBScript is still preinstalled and available as a Feature on Demand in Windows Server 2025, until a later release removes it.

Who is affected: administrators with scripts, modules or tools that depend on Windows PowerShell 5.1 or VBScript.

What to do: start your inventory now. The page warns that deprecation plans can change before release, and that features may still appear in current preview builds.

Original sources