Hi, I'm a total powercli beginner, so please tell me if this is the wrong direction completely. I run some ESXi 5 hosts with Nvidia Grid K1 and Teradici Apex 2800 cards in them. There are a couple commands I can run when logged into the host via putty that I would like to be able to run remotely instead. I have connected to my hosts via powercli and it seems that it's only set up to run the particular commands that are embedded in the program. Is there any way to run these other commands remotely which would work from the ESXi console?
Maybe this plugin could be useful:
VMware Front Experience: [Updated] esxcli plugin to run shell commands (new version)
Yes, you can, when you have enabled SSH on the ESXi server(s).
In that case you can use plink.exe from the PuTTY Suite to launch commands on the server.
There are multiple examples on how to use plink.exe available in this community, see for example 4. Re: Get HBA hardware details
Alan's post, called SSH PowerShell tricks with plink.exe, might prove useful.
Blog: lucd.info Twitter: @LucD22 Co-author PowerCLI Reference
Hi sorry, I should have been more clear. The reason I want to run these commands remotely is so that I don't want to have to have SSH enabled on the ESXi host all the time, as it puts that constant warning up in my vSphere client. Is there any way to run commands as if you were on the server, but without having SSH enabled?
Maybe this plugin could be useful:
VMware Front Experience: [Updated] esxcli plugin to run shell commands (new version)