Microsoft officially removes PowerShell 2.0 on Windows 11

Microsoft has completely removed PowerShell 2.0 from Windows 11 preview builds.

Microsoft has completely removed PowerShell 2.0 from preview builds of Windows 11, and the change will roll out to all users "in an upcoming update." Most users probably won't notice PowerShell 2.0's disappearance, but changes like this on Windows are rare.

 

PowerShell is the primary command-line shell for Windows, designed to overcome the limitations of the Command Prompt that have existed since the days of MS-DOS. PowerShell 2.0 was released in 2009. Despite several major updates since then, some scripts and applications still require the 2.0 shell to function properly. The reduced security restrictions of PowerShell in recent years have made it an ideal conduit for malware, similar to how VBA scripts/macros in Microsoft Office have been exploited.

Microsoft officially deprecated PowerShell 2.0 back in 2017, so its complete demise has been a long time coming. The company said at the time that some of its own applications still use PowerShell 2.0, including versions of SQL Server and Exchange. Most scripts and applications today should have PowerShell 5.0 or later as a baseline requirement, but there may still be a few that haven't been updated.

Windows 11 Insider Preview build 27891 has just been released to the Canary Channel, and it completely removes support for PowerShell 2.0. There are no new details yet, but Microsoft says "more information will be shared in the coming months about the removal of Windows PowerShell 2.0 in an upcoming update to Windows 11."

Overall, the deprecation of PowerShell 2.0 will affect very few people. If you're a longtime PowerShell user, you may need to update some of your scripts. Some older applications may also be using PowerShell 2.0 for some functionality, and if one of them stops working, you'll need to check with the developer or publisher to see if an update is available.

If you still have some scripts running in 2.0 mode using one of the following commands, you will need to remove them and fix any errors that occur with the default version of PowerShell:

powershell.exe -version 2

powershell -v 2

#requires -version 2

In short, the death of PowerShell 2.0 won't affect most people, and it fixes some long-standing security holes in Windows.

Close
Category

System

Windows XP

Windows Server 2012

Windows 8

Windows 7

Windows 10

Wifi tips

Virus Removal - Spyware

Speed ​​up the computer

Server

Security solution

Mail Server

LAN - WAN

Ghost - Install Win

Fix computer error

Configure Router Switch

Computer wallpaper

Computer security

Mac OS X

Mac OS System software

Mac OS Security

Mac OS Office application

Mac OS Email Management

Mac OS Data - File

Mac hardware

Hardware

USB - Flash Drive

Speaker headset

Printer

PC hardware

Network equipment

Laptop hardware

Computer components

Advice Computer

Game

PC game

Online game

Mobile Game

Pokemon GO

information

Technology story

Technology comments

Quiz technology

New technology

British talent technology

Attack the network

Artificial intelligence

Technology

Smart watches

Raspberry Pi

Linux

Camera

Basic knowledge

Banking services

SEO tips

Science

Strange story

Space Science

Scientific invention

Science Story

Science photo

Science and technology

Medicine

Health Care

Fun science

Environment

Discover science

Discover nature

Archeology

Life

Travel Experience

Tips

Raise up child

Make up

Life skills

Home Care

Entertainment

DIY Handmade

Cuisine

Christmas

Application

Web Email

Website - Blog

Web browser

Support Download - Upload

Software conversion

Social Network

Simulator software

Online payment

Office information

Music Software

Map and Positioning

Installation - Uninstall

Graphic design

Free - Discount

Email reader

Edit video

Edit photo

Compress and Decompress

Chat, Text, Call

Archive - Share

Electric

Water heater

Washing machine

Television

Machine tool

Fridge

Fans

Air conditioning

Program

Unix and Linux

SQL Server

SQL

Python

Programming C

PHP

NodeJS

MongoDB

jQuery

JavaScript

HTTP

HTML

Git

Database

Data structure and algorithm

CSS and CSS3

C ++

C #

AngularJS

Mobile

Wallpapers and Ringtones

Tricks application

Take and process photos

Storage - Sync

Security and Virus Removal

Personalized

Online Social Network

Map

Manage and edit Video

Data

Chat - Call - Text

Browser and Add-on

Basic setup