Remote message box

Welcome Forums General PowerShell Q&A Remote message box

This topic contains 1 reply, has 2 voices, and was last updated by

1 year, 3 months ago.

  • Author
  • #83515

    Points: 0
    Rank: Member


    I'm trying to send a messagebox to a remote PC.

    I used this code

    $name = read-host "Enter computer name "
    $msg = read-host "Enter your message "
    Invoke-WmiMethod -Path Win32_Process -Name Create -ArgumentList "msg * $msg" -ComputerName $name

    Which works, but is there a way to change the messagebox properties? Such as making it larger, or changing the color of it/the font?

  • #83548

    Points: 740
    Helping Hand
    Rank: Major Contributor



    msg /?

    you can see all command line options msg can process. So No – there is no build in way to change color or font or size or anything. Sorry. 😉

The topic ‘Remote message box’ is closed to new replies.

denizli escort samsun escort muğla escort ataşehir escort kuşadası escort