Platform Configuration Tool error

When running the Platform Configuration Tool to check our system readiness for an upgrade I get the following error

The relative lines from the script are shown below

I have run the update-help command as suggested but to no avail.

Can anybody advise please. Thanks