I know I'm incredibly late to the game, but I stumbled across this while looking into IIS with DSC and felt that the answer provided was pretty misleading. As someone who built a career out of using DSC to manage Windows Desktops and Servers, I can comfortably say DSC is supported on all Windows SKUs after Win8/Server 2012. Full stop.
Windows 7, 8, 8.1, 10, 11? Yup.
Windows Server 2012 - 2019 and beyond? Also yes!
Windows Containers of all flavors? Absolutely!
The use case given in the question is actually one of the more effective ways of using DSC. If you're wanting to build a Developer workstation with IIS, you absolutely would do well to write a DSC configuration for it. You can then apply this DSC configuration to your local workstation, a VM, or even a Windows container for your team's development work.
It's true to say you cannot use the "WindowsFeature" DSC resource to install IIS on Windows 10 Desktops. But this has nothing to do with DSC support on Windows 10, nor does it even have to do with supporting IIS. This has everything to do with a weird split between two different modules that function almost identically, but for some reason are different.
In Windows Server, the "ServerManager" module gives you access to "Install-WindowsFeature". This is what you'd use to install the IIS feature, and it is also what the "WindowsFeature" DSC resource uses to install/remove features on servers.
In Windows Desktop, the "DISM" module gives you access to "Enable-WindowsOptionalFeature". This is used to install the client version of Hyper-V or the Windows 10 IIS Feature. This is also what the "WindowsOptionalFeature" resource uses to perform the same functions.
Why are they different? Why didn't Microsoft merge these 2 modules into one module that worked on both SKUs? Your guess is as good as mine. But again, spoken as someone who does this for a living, yes you can 100% use DSC on a desktop.