Thanks again Radimus.

I think I understand the concept behind your suggestion.
The sustatus-script will maintain one central ini file in which the SUS-status of every PC is logged at shutdown.
The wol-script will read this ini file every morning, and will wake all PC’s with a status of “5”.
Yes, I can see that this will be a simplification, getting rid of the date dependency.

Working with ini files is new for me. I am going to look into this later this weekend.

Ed