Hello
Look at :
Add explicit cast syntax for marshalling values from OtterScript to PowerShell
This should work for you :
Enabled:[type:string]False
Here is an exemple which works for me and which similar of your pb:
Exemple
Ensure-DscResource
(
Name: Carbon_FirewallRule,
Module: Carbon,
Properties: %(Name:FWRule-MetaAnnuaire-EXP-50100,Action:Allow,Direction:In,Protocol:tcp,LocalPort:[type::string]50100,Ensure:Present,Profile:Domain)
);
Hope this help
For Inedo's people who read this thread, please update your doc with the github info, so it will be easier to use this nice feature.