Run the PowerShell as Administrator and type the following command
Get-WindowsOptionalFeature -online | ? featurename -like “IIS” | Disable-WindowsOptionalFeature -Online -Remove
Things never this Simple!
Run the PowerShell as Administrator and type the following command
Get-WindowsOptionalFeature -online | ? featurename -like “IIS” | Disable-WindowsOptionalFeature -Online -Remove