Home Dashboard Directory Help
Search

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


Status: 

Closed
 as Fixed Help for as Fixed


12
2
Sign in
to vote
Type: Suggestion
ID: 792360
Opened: 7/2/2013 1:30:17 PM
Access Restriction: Public
0
Workaround(s)
view

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.
Details
Sign in to post a comment.
Sign in to post a workaround.