I recently discovered that Invoke-DscResource fails when there is more than version of a module installed. You can explicitly give it a version of the module, but it won't discover it for you.
So the proposal here is two-fold:
- Ensure Idempotion can handle a module specification
[hashtable] (not just a name).
- Default behavior when given only a name should be to discover local versions and use the latest automatically.