Issue #193 resolved

Get-TargetResource returns TaskName in its dictionary, but it is defined as Name in the schema

Joshua Hendrickson
created an issue

When running Get-DscConfiguration on a computer with a Carbon_ScheduledTask resource, I receive this failure:

Get-DscConfiguration : The PowerShell DSC resource returned results that are not valid from Get-TargetResource. The TaskName key is not a valid property in the corresponding DSC resource schema file. The results from Get-TargetResource must be in a Hashtable format. The keys in the Hashtable must be the same as the properties in the corresponding DSC resource schema file.

The implementation of Get-TargetResource should be changed to return Name as a property instead.

Comments (4)

  1. Log in to comment