opscode/chef — pull request #2103 by jdmundrawala (2014-09-22 22:59:38+00:00)
Title: We now check for powershell/dsc compat in provider.

The problem with raising an exception when the resource is created
was that it was not possible to have a chef recipe that installs
the correct version of powershell and then runs the dsc_script
resource.
See https://github.com/opscode/chef/issues/2027