Skip to content

Instantly share code, notes, and snippets.

@JohnL4
Created August 31, 2017 18:39
Show Gist options
  • Save JohnL4/b442fbc2b744a6d6b8d7a6f6ea779154 to your computer and use it in GitHub Desktop.
Save JohnL4/b442fbc2b744a6d6b8d7a6f6ea779154 to your computer and use it in GitHub Desktop.
Show a dialog box from PowerShell w/out first adding DLLs
$wshell = New-Object -ComObject Wscript.Shell
$wshell.Popup("Operation Completed",0,"Done",0x1)
# From https://blogs.technet.microsoft.com/heyscriptingguy/2014/04/04/powertip-use-powershell-to-display-pop-up-window/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment