Action disabled: recent
powershell [Reflection.Assembly]::LoadWithPartialName("""System.Windows.Forms""");[Windows.Forms.MessageBox]::show("""Hello World""", """My PopUp Message Box"""





powershell (New-Object -ComObject Wscript.Shell).Popup("""Operation Completed""",0,"""Done""",0x0)

https://msdn.microsoft.com/en-us/library/x83z1d9f(v=vs.84).aspx

  1. Stop 0x10 Stop
  2. Question Mark 0x20 Question Mark
  3. Exclamation Mark 0x30 Exclamation Mark
  4. Information Mark 0x40 Information Mark
Enter your comment. Wiki syntax is allowed:
 
  • ms_windows_ms_sql/powershell_show_modal_popup_window.txt
  • Last modified: 2019/05/31 14:18
  • by admin