This is a Powershell script.
Command should be something like:
powershell.exe -noexit \\server\share\scriptname.ps1 {computer}
if ($args -ne $null) {$PC = $args[0]}
Else {$PC = Read-Host "Enter printer name"}
$pass = Read-Host "Enter the new password"
& "Hard code path here!"VNCPWD.exe /v:$PC /h:$pass /u:DOMAIN1\adminusername /p:adminpassword
write-host "Password for PC " $PC " changed to " $pass
Since I don't have a setup like this I can't test for sure. Let me know if any errors pop up.
Make sure you hard code the path where it says "Hard code path here!".