Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
not to process ANY scheduled task disable actions. #71
I would like to let you know that there are a set of bugs in the latest version of BIS-F (6.1.0 build 01.101) that are causing it not to process ANY scheduled task disable actions.
After LINE 356 in '97_PrepBISF_PRE_BaseImage.ps1' you are missing 'TestPath ="";'. You aren't setting a TestPath property, so when the script goes to process the 'Disable scheduled Task' commands it errors out because TestPath is never specified and is NULL.
There is also another bug where you aren’t putting quotes around the $ScheduledTaskList which causes any disable action where the task name has a space to fail (like the ‘MNO Metadata Parser’ task). I believe technically the quotes only really matter in the ‘Command=’ line, but I put it them in the other places just for consistency.
This is the issue:
This is the fix: