Summary: Learn how to display a pop-up window by using Windows PowerShell.
How can I use Windows PowerShell to display a pop-up window to a user when a script or function has completed?
There are several ways to display a pop-up window, but the following command doesn’t require
loading assemblies prior to creating the window:
$wshell = New-Object -ComObject Wscript.Shell
$wshell.Popup("Operation Completed",0,"Done",0x1)
Note For more information, see Popup Method.