We have some Powershell scripts used to set up various dev/test/prod environments and one of them installs and configures IIS. Unfortunately these scripts don't appear to be working under Windows 10 at this time because the Install-WindowsFeature cmdlet is missing.
Where these removed intentionally, or is there some hoop I need to jump through to install them that wasn't previously necessary?
Best Answer
While Ryan's answer is correct, I would recommend to stay away from the
Install-WindowsFeature
cmdlets if you want to run your scripts on workstations as well. You will always be dependent on RSAT even though you don't need it otherwise.Just use Enable-WindowsOptionalFeature which works on servers and workstations. You would need to change your scripts, the feature names are different too.
I wrote a bit about: Different ways for installing Windows features on the command line