Author Posts

November 2, 2017 at 6:51 pm


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?

November 3, 2017 at 1:28 am



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. 😉