Hi, @Ed O'Connor
Thank you for posting in Microsoft Q&A forum.
If the issue is caused by the monthly patching, we may try to wait for the next patch or try to upgrade SCCM to a newer version.
You may try the workarounds to use Script Editor instead of the built-in script editor in SCCM. Here are the steps to use the Script Editor:
- Open the Script Editor by going to the Administration workspace in SCCM console
- Click on the "Scripts" node in the navigation pane and then choose "Create Script" in the ribbon.
- Paste the existing script code into the "Script Editor" and make any necessary changes.
- Click "OK" to save the changes and exit the Script Editor.
- Finally, distribute the script to the desired collections in the same way that you would have done using the "Edit Script" option.
If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Add comment".