Closed Zuldan closed 7 years ago
What a shame. Checking....
https://github.com/guitarrapc/GraniResource/compare/ver.3.7.8.1...ver.3.7.8.3
ok. Issue seems to be haapen when target OS is Windows Server 2012 R2 or lower. Will not happen on Windows Server 2016 and Win10.
Win2016 and Win10
VERBOSE: [WINDOWS10PRO]: LCM: [ Start Set ]
VERBOSE: [WINDOWS10PRO]: LCM: [ Start Resource ] [[cScheduleTask]PowershellHelpUpdateScheduledTask]
VERBOSE: [WINDOWS10PRO]: LCM: [ Start Test ] [[cScheduleTask]PowershellHelpUpdateScheduledTask]
VERBOSE: [WINDOWS10PRO]: [[cScheduleTask]PowershellHelpUpdateScheduledTask] False
VERBOSE: [WINDOWS10PRO]: LCM: [ End Test ] [[cScheduleTask]PowershellHelpUpdateScheduledTask] in 1.4040 seconds.
VERBOSE: [WINDOWS10PRO]: LCM: [ Start Set ] [[cScheduleTask]PowershellHelpUpdateScheduledTask]
VERBOSE: [WINDOWS10PRO]: [[cScheduleTask]PowershellHelpUpdateScheduledTask] Ensure detected as Present. Setting ScheduledTask for TaskPath '\', TaskName 'Powershell
Help Update'.
VERBOSE: [WINDOWS10PRO]: LCM: [ End Set ] [[cScheduleTask]PowershellHelpUpdateScheduledTask] in 0.6550 seconds.
VERBOSE: [WINDOWS10PRO]: LCM: [ End Resource ] [[cScheduleTask]PowershellHelpUpdateScheduledTask]
VERBOSE: [WINDOWS10PRO]: LCM: [ End Set ]
VERBOSE: [WINDOWS10PRO]: LCM: [ End Set ] in 2.7420 seconds.
VERBOSE: Operation 'Invoke CimMethod' complete.
VERBOSE: Time taken for configuration job to complete is 2.89 seconds
And is due to change on ver.3.7.8.3 as Zuldan suspect.
@Zuldan To ensure issue, can you kindly clarify your Lab OS Version?
@Zuldan I've fixed and publish ver.3.7.8.4 to PowerShell Gallery. https://www.powershellgallery.com/packages/GraniResource/3.7.8.4
It is appreciated if you can check at your lab.
@guitarrapc, thanks so much for getting it fixed so quickly. I'm using 2012 R2 in my lab. It's working now with version 3.7.8.4.
The config below for cScheduledTask worked perfectly fine in 3.7.8.1...
...but in 3.7.8.3 the following error appears...