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

Reply To: PowerShell Desired State Configuration failed to register MOF file

$
0
0

Actually I think I have resolved it. The “Key” attribute must be the only attribute in the definition of that property. It seems if you define the type as “Hashtable” it creates a second attribute in the schema MOF. To get around it I have changes the property to a string variable and then I’m doing a conversion to a hashtable in code. Ugly but I can’t find a better way around it.


Viewing all articles
Browse latest Browse all 13067

Trending Articles