Quantcast
Channel: Hey, Scripting Guy! Blog
Viewing all articles
Browse latest Browse all 3333

PowerTip: Use PowerShell to Display Pop-Up Window

$
0
0

Summary: Learn how to display a pop-up window by using Windows PowerShell.

Hey, Scripting Guy! Question How can I use Windows PowerShell to display a pop-up window to a user when a script or function has completed?

Hey, Scripting Guy! Answer 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.


Viewing all articles
Browse latest Browse all 3333

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>