Invoke-VM with PowerCLI 4.0 U1
From VI-Toolkit
Carter Shanklin here shows how you can use PowerCLI to run batch files in Windows guest or even scripts in Linux guests. The technique shown allows you to automate a variety of tasks in your guests using PowerCLI.