You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jun 14, 2024. It is now read-only.
Details of the scenario you tried and the problem that is occurring
With the default ressource that comes with Windows, I have no problem installing the windows feature Dot Net 3.5. But when I install the latest PSDSCResources, the DSC resource fails with Property source in resource WindowsFeature is not a valid property
The source property is required because the source for Dot Net 3.5 is not included locally.
Hi @kinwolfqc . Can you confirm whether or not you re-compiled your configuration on a machine that has this latest module, and also that has the same PowerShell version as the target machine? If you didn't recompile, I'd recommend doing so on a machine with a module and PowerShell version that matches the target. Thanks.
There is no mof in our setup(Ansible + the win_dsc module) and we can reproduce the problem directly by doing a Invoke-DscResource -Name WindowsFeature -Method Set -Property @{name = 'NET-Framework-Core'; source = '\\<snip>\Sources\W2019\Sxs\'} -ModuleName PSDSCResources -Verbose (which is basically what ansible does too on the target host)
And to test the in-box WindowsFeature, we remove the PSDSCResources on the target host and run the following command:
Details of the scenario you tried and the problem that is occurring
With the default ressource that comes with Windows, I have no problem installing the windows feature Dot Net 3.5. But when I install the latest PSDSCResources, the DSC resource fails with Property source in resource WindowsFeature is not a valid property
The source property is required because the source for Dot Net 3.5 is not included locally.
Verbose logs showing the problem
Suggested solution to the issue
The DSC configuration that is used to reproduce the issue (as detailed as possible)
The operating system the target node is running
Version and build of PowerShell the target node is running
Version of the DSC module that was used ('dev' if using current dev branch)
2.10.0
The text was updated successfully, but these errors were encountered: