I ran a powershell command in a terminal that looped over many files, processing each to create a new file and then deleting the original file with Remove-ItemSafely. I minimized the terminal and did other things while the command ran. I noticed multiple times that if I happened to be holding shift while the Remove-ItemSafely call happened, the command would halt there and Windows would pop open a modal asking if I wanted to instead permanently delete the file. This would either interrupt my typing, or sometimes the modal would appear in the background and I wouldn't notice it until later, leaving my script halted until I addressed the modal.
I ran a powershell command in a terminal that looped over many files, processing each to create a new file and then deleting the original file with Remove-ItemSafely. I minimized the terminal and did other things while the command ran. I noticed multiple times that if I happened to be holding shift while the Remove-ItemSafely call happened, the command would halt there and Windows would pop open a modal asking if I wanted to instead permanently delete the file. This would either interrupt my typing, or sometimes the modal would appear in the background and I wouldn't notice it until later, leaving my script halted until I addressed the modal.