Execute VM commands via a "here document"