I'm working on a script that will eventually do all of the following:
- Send message to premade list of computers, informing them that in X seconds a program will close so the database it attaches to can be updated
- At the end of the time, force close all instances of said program on each computer
- Copy over updated database from testing location to live
- Re-open the program on each computer (they automatically reconnect to database)
I need the message to both show a live countdown, and to be unable to be closed by the user outside of killing it in task manager. I can send a msg easily enough, but that allows users to accidentally close it (or purposefully...). From what I have tested out, I really like the output that Write-Progress gives, but I do not know of any way to have that same output show on the target systems
Powershell
Function...