If you are creating a custom DSC script provider and use a function with mandatory parameters outside of the core 3 functions: test-targetresource, set-targetresource, get-targetresource and you forget to supply those mandatory parameters, the error you receive is the following:
PowerShell Desired State Configuration does not support execution of commands in an interactive mode.
+ CategoryInfo : OperationStopped: (:) , CimException
+ FullyQualifiedErrorId : System.NotSupportedException
+ PSComputerName : server2
It would be really helpful if the error told you that you forgot to specify a mandatory parameter