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

Removing PowerShell 2.0


Leave a Reply

%d bloggers like this: