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

Re: SSH Session from Powercli

$
0
0

Hi LucD,

 

Thanks for your update.

 

Did you mean to use the following. If yes then I have tried but still not working:

 

Invoke-SSHCommand -InvokeOnAll -Command 'esxcfg-vswitch -l | grep vSwitch | awk '{print $1,$2}''

 

Since in powercli $ sign is generally used for declaring a variable so it is not working.

 

So is there any way that powercli ignore $ sign mentioned in the command.


Viewing all articles
Browse latest Browse all 244528

Trending Articles



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