Hello Beatrice,
the cmdlet works ony on windows servers, if you are trying this on win 10 machine you should use
"
Enable-WindowsOptionalFeature -Online -FeatureName "IIS-DefaultDocument" -All
------------------------------
Jerin Jose
Technical Product Owner
EY
Asia/Kolkata
*"If you find this post helpful mark it as best answer, .*
------------------------------