It seems that you want to make sure that the PowerShell window can only be closed by pressing `Ctrl+A`, while also having a form display a number. The script you've provided appears to almost meet this requirement, but to ensure the PowerShell window itself (along with the running script) cannot be closed through other conventional means, we need some adjustments.
### Updated Script
Here’s a refined version of your PowerShell script to better


