Push notifications to windows 10 via CMD !!!

Discussion in 'Windows 10' started by Yasser Da Silva, Aug 22, 2015.

  1. Yasser Da Silva

    Yasser Da Silva MDL Addicted

    Mar 15, 2015
    519
    2,516
    30
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  2. xomniversex

    xomniversex MDL Member

    Sep 20, 2012
    224
    96
    10
  3. Yasser Da Silva

    Yasser Da Silva MDL Addicted

    Mar 15, 2015
    519
    2,516
    30
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  4. matt berry

    matt berry MDL Novice

    Feb 22, 2015
    12
    3
    0
    Can't be done under the cmd line but you can do it via a powershell script. To get you headed in the right direction have a look at this microsoft technet powershell tip of the week page:

    technet.microsoft.com/en-us/library/ff730952.aspx

    If you only know cmdline, now is the time to start learning powershell, it is pretty powerful, and lets you do all kinds of cool stuff in windows.
     
  5. cengizhan

    cengizhan MDL Senior Member

    Jul 29, 2009
    367
    87
    10
    can be done under cmd line if you know autoit or something similar programming language. autoit is very easy
     
  6. Yasser Da Silva

    Yasser Da Silva MDL Addicted

    Mar 15, 2015
    519
    2,516
    30
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  7. murphy78

    murphy78 MDL DISM Enthusiast

    Nov 18, 2012
    6,787
    10,365
    210
    #7 murphy78, Aug 22, 2015
    Last edited by a moderator: Apr 20, 2017
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  8. Yasser Da Silva

    Yasser Da Silva MDL Addicted

    Mar 15, 2015
    519
    2,516
    30
    #8 Yasser Da Silva, Aug 22, 2015
    Last edited by a moderator: Apr 20, 2017
    (OP)
    thanks
    the notification didn't work
    can any one here try it again and confirm that
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  9. jmtella

    jmtella MDL Member

    Nov 18, 2012
    137
    94
    10
    #9 jmtella, Aug 22, 2015
    Last edited by a moderator: Apr 20, 2017
    Working...execute: powershell .\yourps1.ps1

    Code:
    [system.Reflection.Assembly]::LoadWithPartialName('System.Windows.Forms') | Out-Null
    $balloon = New-Object System.Windows.Forms.NotifyIcon
    $path = Get-Process -id $pid | Select-Object -ExpandProperty Path
    $icon = [System.Drawing.Icon]::ExtractAssociatedIcon($path)
    $balloon.Icon = $icon
    $balloon.BalloonTipIcon = 'Info'
    $balloon.BalloonTipText = 'Completed Operation'
    $balloon.BalloonTipTitle = 'Done'
    $balloon.Visible = $true
    $balloon.ShowBalloonTip(10000)
    
    Your options for the icon include None, Info, Warning, and Error.
     
  10. cetipabo2

    cetipabo2 MDL Member

    Feb 8, 2015
    211
    42
    10
    #10 cetipabo2, Aug 22, 2015
    Last edited by a moderator: Apr 20, 2017