VMware Cloud Community
orian
Hot Shot
Hot Shot

Run command in Esxi Host

Hello

how can i run command for example "ls -l" on Esxi Hosts via VRO

what is the best way to query the Firmware and Drivers of HBA and Network cards.

thank you

Amir

Reply
0 Kudos
3 Replies
iiliev
VMware Employee
VMware Employee

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.

Reply
0 Kudos
orian
Hot Shot
Hot Shot

i tried to run this scripting class

i get the next error "you are not authorized to execute local process"

Reply
0 Kudos
iiliev
VMware Employee
VMware Employee

To enable this feature set your system property 'com.vmware.js.allow-local-process' to true

Reply
0 Kudos