Hi everyone,
I am a complete novice in VBS and Powershell scripts and I'd like to get some help or advice on a specific situation.
I was assigned to write a VBS script that is supposed to send a pop up with buttons on remote machines based on their IP address not their network paths. Basically, as soon as the recipient receives that message when he or she clicks on "Yes" some kind of an acknowledgement pop up should be sent to the sender advising that alert has been taken into account.
Please the below code that I've started.
"Dim WshShell, BtnCode
Set WshShell = WScript.CreateObject("WScript.Shell")
BtnCode = WshShell.Popup("Merci d'intervenir en urgence au centre d'Arts Plastiques Verdun!", 0+64, "Alerte Verdun", 4 + 48)
Select Case BtnCode
case 6 WScript.Echo "Votre confirmation est envoyée au site", "Alerte Verdun"
case 7 WScript.Echo "Merci de prendre en compte cette alerte!", "Alerte Verdun"
case -1 WScript.Echo "No Response?"
End Select"
Thank you very much for your help.
Regards,
Regards,
Rob.
Open in new window