Security tip Disable PowerShell 2 engine in latest Windows 10 Builds

Security tip Disable PowerShell 2 engine in latest Windows 10 Builds

The less old stuff you have in your system, the more secure you will be; it doesn’t make a lot of sense having different PowerShell versions in your computer at the same time, so you’d better remove PowerShell 2.0 as soon as possible and avoid security risks.

This is and easy to do it, by the way using latest PowerShell 7.0.0 preview-1, as you can see at the screenshot

Check current status

Get-WindowsOptionalFeature -Online -FeatureName MicrosoftWindowsPowerShellV2

Disabling PowerShell 2.0

Disable-WindowsOptionalFeature -Online -FeatureName MicrosoftWindowsPowerShellV2Root

Disabling PowerShell 2.0

Eloy Salamanca