PS4 - Desired State Configure property Requires should be renamed to Require or RequiredResources - by Keith Hill MVP

Status : 

  Fixed<br /><br />
		This item has been fixed in the current or upcoming version of this product.<br /><br />
		A more detailed explanation for the resolution of this particular item may have been provided in the comments section.


12
2
Sign in
to vote
ID 792360 Comments
Status Closed Workarounds
Type Suggestion Repros 0
Opened 7/2/2013 1:30:17 PM
Access Restriction Public

Description

As folks experiment with DSC they will inevitabley comment out a "Requires = [someprovider]name" line and wind up with an unexpected error.  If the property name were changed to say Require or RequiredResources, this potential error could be avoid. Alternatively, the parser could perhaps be enhanced to recognize #Requires = "[WindowsFeature]IIS" as a commented out line instead of a #Requires directive.
Sign in to post a comment.