argsでIDを渡すとか
powershell -command { "ID: $($args[0])"} -args 777