This PR enable you to run Script depends on OSVersion/Platform.
Motivation
Currently there are no PowerShell DSC Resources for to handle OSVersion and run specific Resource or Script.
1st I've imagine just provide dependson resource to force run DependsOn, but immediately resigned, because DependsOn resource will run only when This resource Test was False. It means this resource result will never become true.
So I've created much more general purpose Script resource. Script resource's Test will run on PULL Server so the Client OS Version is not reflect on mof file. But this resource will handle OS Version on Client, so that you can handle script execution.
https://github.com/guitarrapc/GraniResource/issues/83
Description
This PR enable you to run Script depends on OSVersion/Platform.
Motivation
Currently there are no PowerShell DSC Resources for to handle OSVersion and run specific Resource or Script. 1st I've imagine just provide dependson resource to force run DependsOn, but immediately resigned, because DependsOn resource will run only when This resource Test was False. It means this resource result will never become true.
So I've created much more general purpose Script resource. Script resource's Test will run on PULL Server so the Client OS Version is not reflect on mof file. But this resource will handle OS Version on Client, so that you can handle script execution.
TODO