There is a scripting class Command which allows you to execute such commands. Check vRO API Explorer to see what properties / methods are available in this class.
i tried to run this scripting class
i get the next error "you are not authorized to execute local process"
To enable this feature set your system property 'com.vmware.js.allow-local-process' to true