Running Custom Scripts in the Guest Operating System with Invoke-VMScript
Description:
For troubleshooting purposes, this technical note provides a step-by-step description of how the Invoke-VMScript cmdlet works. This document explains how the operation selects a script interpreter based on the guest operating system and how it modifies the script based on its type.