From time to time we end up with Maya windows off-screen due to monitor order/orientation change. This is a 100 year old problem here, without a solid solution... until, maybe now 
This piece of MEL code successfully finds all Maya windows and moves them to coordinates 0,0 even in a multi-monitor setup:
However, it doesn't manage to find the V-Ray framebuffer. Can the framebuffer be moved too somehow?
Credit for that piece of MEL goes to Keith Rogers.

This piece of MEL code successfully finds all Maya windows and moves them to coordinates 0,0 even in a multi-monitor setup:
Code:
for ($window in `lsUI -windows`) { window -e -tlc 0 0 $window ; }
Credit for that piece of MEL goes to Keith Rogers.
Comment