PowerShell Team

Automating the world one-liner at a time…

Want to write a DSC resource where only a single instance can be configured?

I've heard from a few DSC resource authors that they need a method to implement a resource that has a single instance; a singleton. The problem they encountered is a DSC resource must define a Key property but singleton resources generally should not have a key because there is only one instance that can be updated. The problem can been...