PowerShell Error on Windows 7 - 'Get-WindowsOptionalFeature' is not recognized

I’m getting this error running the PowerShell installation on a Windows 7 system. Does anybody know how to resolve this?

The term ‘Get-WindowsOptionalFeature’ is not recognized as the name of a cmdlet, function, script file, or operable prog
ram. Check the spelling of the name, or if a path was included, verify that the path is correct and try again.


The PowerShell setup is only supported in the following operating systems:
Windows Server 2012 R2, Windows Server 2016, and Windows 10 x64

I recommend you going through the manual installation if you want to continue using a Windows 7 system.


1 Like