Powershell - codes popup

Icons

16 – “stop mark”

32 – “question mark”

48 – “Exclamation mark”

64 – “Information mark”


Buttonset

0 OK

1 OK, Cancel

2 stop, retry skip

3 yes, no, cancel

4 yes, no

5 retry, cancel


Return values

Intégration Code
#creating object os WScript
$wshell = New-Object -ComObject Wscript.Shell -ErrorAction Stop

#invoking the POP method using object
$wshell.Popup("Are you want to continue from here?",<time in second>,"Hello User?",<icon>+<buttonsSet>)

Revision #2
Created 2026-07-17 14:57:04 UTC by Olivier
Updated 2026-07-17 14:58:53 UTC by Olivier