Reputation: 464
I am getting below error while trying to uninstall IIS 10, am using windows server 2016 . Please help me to resolve the error.
Upvotes: 0
Views: 1576
Reputation: 1024
Try this way:
Run PowerShell as administrator and type the next command.
Get-WindowsOptionalFeature -online | ? featurename -like "IIS" | Disable-WindowsOptionalFeature -Online -Remove
Upvotes: 1