Microsoft has announced that open source PowerShell 7 will be included as the upgrade for Windows PowerShell 5.1 in the next release of Windows.
Along with this news, Microsoft has deprecated Windows PowerShell 5.1, noting that the tool is no longer in active development. However, "Windows PowerShell 5.1 is still part of Windows, and it's still supported. It will continue to receive security updates ... and scripts and tools that rely on it will continue to run,” the company says.
If you use Windows PowerShell 5.1 for administration or automation, Microsoft recommends planning now for the change using the following tips and resources:
- See what's using PowerShell 5.1 by looking for scripts, scheduled tasks, installers, management agents, and tools that start powershell.exe or load Windows PowerShell modules.
- Understand the differences between Windows PowerShell 5.1 and PowerShell 7.x.
- Check the documentation for migrating from Windows PowerShell 5.1 to PowerShell 7.
“Many scripts run in PowerShell 7 without changes. Some need changes before they work, and some may need to keep running in Windows PowerShell 5.1,” the company says.
Get more details from Microsoft.