HotDesk Daily Logout Script

Good point. If you are not signing the extensions out of the physical phones, and instead just need dynamic agents out of the queue:

Same approach, different commands.