Q. There is an ice machine and drinks that come from the electric machine in the mess hall. The drinks are all kosher. There is no problem during the week. What about Shabbos? How can I get an ice cold drink? Do I ask a Goy before Shabbos to do it for me on Shabbos.
Sincerely,

A. Horav Shlomo Miller’s Shlit”a opinion is that you can ask a Gentile before Shabbos to prepare a cold drink for you from the dispensing machine. It is preferable to request his help before Shabbos indirectly, such as saying,” It would be very helpful for me if you could do this etc.”

Rabbi A. Bartfeld as revised by Horav Shlomo Miller Shlit”a