Quantcast
Channel: PowerShell.org » All Posts
Viewing all articles
Browse latest Browse all 13067

Reply To: Custom Resource Not Found by Get-DSCResource

$
0
0

Wrong folder structure.

/Modules/_modulename_/DSCResources/_resourcename_

_modulename_ has to be a real module with at least a .PSD1. E.g., xNetworking.

_resourcename_ is the actual resource, and must contain a .PSM1, the schema MOF, and usually a .PSD1. E.g., xIPAddress.

You can't just have a \DSCResources under \Modules.


Viewing all articles
Browse latest Browse all 13067

Trending Articles