New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

not to process ANY scheduled task disable actions. #71

Closed
matthias-schlimm opened this Issue Oct 12, 2018 · 3 comments

Comments

Projects
None yet
1 participant
@matthias-schlimm
Copy link
Collaborator

matthias-schlimm commented Oct 12, 2018

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:

image

This is the fix:

image

@matthias-schlimm

This comment has been minimized.

@matthias-schlimm

This comment has been minimized.

Copy link
Collaborator Author

matthias-schlimm commented Oct 23, 2018

Mark reported "This works well now"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment