Quantcast
Channel: VMware Communities: Message List
Viewing all articles
Browse latest Browse all 244595

Re: How to run powecli via jmeter

$
0
0

This seems to work:

 

BSF sampler: use beanshell

 

exec("cmd /c \"echo . | powershell -PSConsoleFile \"C:\\Program Files\\VMware\\Infrastructure\\Vsphere PowerCLI\\vim.psc1\" -command .\\<ps script>\"");         


Viewing all articles
Browse latest Browse all 244595

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>