Closed it-praktyk closed 7 years ago
The file resource is weird, and as far as I know the only resource which doesnt belong in a module. For this reason it's impossible to invoke "File" resources using Invoke-DscResource, which is what is used under the covers.
So in short: Won't fix, because it's not fixable :-(
The parameter currently is marked as mandatory. But for some resources the name of module is not fullfiled by Microsoft - e.g.
BTW, the example included in the current version of code should throw execption :-)