Run remote commands like gpuvm and pcoip-ctrl

Hi, I am a total beginner powercli, so please tell me if this is the wrong direction completely. I run a few servers ESXi 5 with Nvidia grid K1 and Teradici Apex 2800 cards in them. There are a few commands that I can run when you are connected to the host via putty that I would like to be able to remotely run instead. I have connected to my hosts via powercli and it seems that it is set only to run the specific commands that are embedded in the program. Is it possible to run these other remote controls that would work from the console for ESXi?

Maybe this plugin can be useful:

Before VMware experience: [UPDATE] esxcli plugin to run commands shell (new version)

Tags: VMware

Similar Questions

  • command prompt does not work well. He is unable to run the commands like 'help, tree, ipconfig, netstat', n many more

    the command prompt in my system has attracted some problem. A few months ago, it was all fine. BT now its disturbing. do not run the commands of other than "exit".

    even in the bar of tasks run these commands will not be executed.

    Type has the VALUE

    Copy the output and post with your response.

  • Question about the use of OdiOSCommand to run remote commands

    Hi all

    I have a query on OdiOSCommand


    I have two following servers.
    A server running and odi agent
    Server B agent running odi - but no a pots to odi - and odiparams.sh set up correctly.

    Now I regularly invoke scripts on server B (using startscen.sh) that use the agent on the server. It works fine - once odiparams.sh is correctly set up for standards etc.

    Now I have a new scenario that has an order of OdiOSCommand. Yet once again, I invoke the script from Server B, to use the agent on the server. The OdiOSCommand passes just a shell script, and there is no problem of permission.
    I expect the command to execute on the server where the agent is running (e.g., Server A) - but its execution on the server where I invoke the script (IE Server B). I can prove it by temporarily replacing the calling script with a mkdir test_dir schell.

    Is it possible in odi to invoke a command on a remote linux server - when the remote server is running an odi agent. I know there are other ways to do this - ssh etc. - but I try to keep this reality to a package of odi of maintainability.

    Thanks for the research!

    This thread responds to what you are looking for:
    Re: Startscen using an existing running agent could process

    Basically, startscen.sh branches off to a local agent on server B, and so the script also runs on server B.
    You must use startcmd.sh instead.

  • Remote command fails when cross Foglight, but ok using command line

    Try to perform an action simple remote command when a rule triggers the file /sharedScripts of monitoring system.  When the alarm is triggered, an email is sent and action of remote command to find and remove the logs more than 10 days is supposed to work.

    The command to run is:

    find/sharedScripts/set - name "* .log" \ (-type f-mtime + 10 \)-exec rm {} \;) ""

    This command works well from the command line on the server, but when it is run by a remote control action, we get the following exception:

    2015-07-20 19:04:30.556 WARN [Action-4-wire-3856] com.quest.nitro.service.action.impl.command.RemoteCommandAction - the remote execution failed on the host prod - 108.llbean.com for the command "find/sharedScripts/set - name" * .log "------(-type f-mtime + 10 \)-exec rm {}------;)" "with the following error: 1.»

    I tried many iterations of escape characters, single/double quotes, etc...

    Has anyone else tried something like this?  I understand that I could create a script that has this command in it, but if I can avoid that I would because a similar process will be implemented through a hundred servers with different commands according to the system of files in place. In this regard, I would like to manage everything centrally if I can.

    Hi Golan-

    Thanks for the reply.  I got a response back from support today and it turns out that some avoidance that is required to run the command from the command line has been the cause of the problem running like a remote control action.

    This command works well on the command line:

    find/sharedScripts/set - name "* .log" \ (-type f-mtime + 10 \)-exec rm {} \;) ""

    but the avoidance of parentheses problem in Foglight. The following seems to work as a remote command:

    find/sharedScripts/set - name "* .log"(-type f-mtime+10)-exec rm {} \; "."

  • run a command after 3 seconds...

    Hey guys... West a way to run a command like... menu2items.SelectedIndex = 2; After a few seconds?

    CyA...

    Example code:

    import flash.utils.Timer;import flash.events.TimerEvent;
    
    // create a timer that executes after 3 seconds, only oncepublic var timer:Timer = new Timer( 3*1000, 1 );
    
    public function init():void{     // add event listeners     timer.addEventListener( TimerEvent.TIMER, handleTimerEvent );
    
         // start the timer     timer.start();}
    
    public function handleTimerEvent( event:TimerEvent ):void{     menu2items.selectedIndex = 2;}
    

    Let me know if that helps...

    Ben Edwards

  • Firefox running error with several profiles and - no.-remote set

    I created two profiles. One turn firefox 4 and one for firefox 3. I run both for test purposes in an environment of websolution. The profiles are called respectivally firefox4 and firefox3 and these are the only profiles. I changed the shortcuts to read
    Path/to/firefox4/Firefox.exe Pei firefox4-no-remote
    and
    Firefox3 Pei Path/to/Firefox3/Firefox.exe-aucun-distant

    Now I can start two versions of shortcut there at the same time. But when firefox 4 is open (I want to use it as default browser) and I clicked on a link in another program (i.e. a link in an email open in thunderbird or from a twitter app) I get an error:
    Firefox is already running but is not responding. To open a new window, you must first close the existing Firefox process, or restart your system.

    I thought that with you-no-in case of problems of distance options like this. Is there something I'm missing or is there a fix for this problem?

    You cannot use the -no-remote command for a profile that is the ' default browser / profile ".

  • Wait for the host disconnects and then run a command

    Hello world

    I have a stop script for my virtual infrastructure, now I have to add code to stop an Equallogic AFTER the last host table is turned off.

    I know the commands to do this, but I need help to write a loop that will test the ip address of the last host management and wait until this station responds to pings.

    In my script I have to establish what host will be put off to the end so it's not a problem... How can I keep ping IP management host to die and then run the commands Equallogic?

    I hope that I managed to explain to me... I was exploring the Test-Connection cmdlet but it seems that it displays che echo of the ping instead of State... I'm a bit lost around this, can someone help me please?

    Something like that would do the trick?

    $count = 0

    $maxWait = 10

    {}

    $count += 1

    Write-Output "$(get-date-f HH) $(get-date-f JJ/MM/AAAA)-host is offline."

    sleep 5

    } until (!) (Test-Connection 192.168.110.85 - BufferSize) count 16-1 - calm)- or ($count - gt $maxWait))

    If {($count - gt $maxWait)

    Write-Output "Host always online."

    }

    else {}

    Write-Output "$(get-date-f HH) $(get-date-f JJ/MM/AAAA)-host is offline."

    }

  • Run a remote command on a virtual machine

    I have a remote application that generated virtual machines by request. After that each machine is generated and custom, I need to run a command-line on this machine (machine all have Windows OS installed) of the application itself.

    Is there a way to do it through the java/vsphere API?  (The machine is running on)

    Thank you

    the vSphere API does not provide capabilities to execute commands within the guestOS which is what uses the SDK for Java (VMware Tech Preview of Java SDK) and VI (Version of Steve Jin).

    However, VMware has an another API that is available for the management of comments called VIX API. This API allows you to perform operations within the guest, transfer files to/from host, etc. There is even a project open source similar to that of VI Java API called Toolkit Java VIX you could look in - http://sourceforge.net/projects/vixjava/

    =========================================================================

    William Lam

    VMware vExpert 2009,2010

    VMware scripts and resources at: http://www.virtuallyghetto.com/

    Twitter: @lamw

    repository scripts vGhetto

    Introduction to the vMA (tips/tricks)

    Getting started with vSphere SDK for Perl

    VMware Code Central - Scripts/code samples for developers and administrators

    VMware developer community

    If you find this information useful, please give points to "correct" or "useful".

  • Run the command of MaxL througth ODI and encrypt the password

    Hello

    I'm looking for a solution not using password plain text for my order Maxl in ODI.

    Someone knows how can I do?

    So far, I found nothing.

    Thank you

    Alain

    Hello

    Here is an example to encrypt the connection information in a scipt maxl.

    Something like this first run the command prompt
    essmsh - gk > c:\temp\encryptKeys.txt

    This will create a text file with the key public and private for example
    for example
    Public key for encryption: 5407,1453704157
    The private key for decryption: 406488703,1453704157

    Now that you have a maxl file called login.mxl as

    login password admin on localhost.
    disconnection;

    You can encrypt by calling
    essmsh EI c:\temp\login.mxl PUBLIC KEY

    So for this example, it would be
    essmsh EI c:\temp\login.mxl 5407,1453704157

    This will create a file called login.mxls with encrypted for example connection details

    Login $key 6343689380045143584028576355606972733930 1468602100275634090163724540502857635560 localhost $key;
    disconnection;

    Now, to run the file, you must use the command
    essmsh d c:\temp\login.mxls PRIVATE KEY

    Thus, in this example
    essmsh d c:\temp\login.mxls 406488703,1453704157

    See you soon

    John
    http://John-Goodwin.blogspot.com/

  • Run the command in Start menu show sites and other files that I opened.

    I was typing letters in the menu run from the start menu ("Start" > "run" > "a, b, c, d, e, f, g, etc...) and I noticed that the Web sites I visited were stored there. This information is accessible by hackers or other intruders unwanted? I was checking to see if I could find my e: drive using the command run from the start menu when I noticed similar entries in the recent documents folder from the start menu. I forgot this shortcut in the past and by chance came across it accidentally. How to delete these lists. I've seen websites that need my e-mail and password. even if she had a lot of jibberish, some words were read by me at a superficial glance. What is a security breach? example: if I type only (a), then all files and websites beginning with a are displayed

    Hi Marc,

    Welcome to the Microsoft Community Forums.

    According to the description, it seems that you are facing problems in removing the story from the beginning, run the command. I'll be happy to help you in this problem.

    -What operating system is installed on your computer?

    Windows saves a history of the names of files, programs, and locations that you type in the Run dialog box. You can delete this history, which you can do if you use a public or shared computer.

    I suggest you follow the steps in the link to clear the history run in the start menu and check if it helps.

    Clear history run on the start menu

    http://Windows.Microsoft.com/en-us/Windows7/clear-the-run-history-on-the-start-menu

    I hope it helps. If you have any questions about Windows in the future, please let us know. We will be happy to help you.

  • The Surface will have the ability to run Windows like Word and Excel programs?

    The Surface will have the ability to run Windows like Word and Excel programs?

    YES! And many others.

  • After you have installed Windows 10 (don't like it) and go back to Windows 7 Home premium, impossible to get the Windows Update to run.

    After the Windows 10 update (don't like it) and go back to Windows 7 Home premium, impossible to get the Windows Update to run.

    Sorry, but KB3153199 has replaced two times at the same time. It takes the new version of the Windows Update client to correct known issues.

    http://support.Microsoft.com/kb/3161608

    Manual installation requires a continuous search to be interrupted. The value of the automatic updates to "never check updates" and then restart Windows.

    Best regards, VZ

  • "search query: = services the remote procedure call failed and did not run".

    My computer crashed two days ago and I'm finally home, but whenever I try to open a window of any folder I keep refusing. In particular the main computer folder. One of the error messages I got is the following:

    search query: = services the remote procedure call failed and did not run

    Followed by this one:

    The remote procedure call failed and did not execute.

    I opened the Task Manager and tried to access the services from there, but whenever I do, the Task Manager window freezes.

    How can I fix it, my computer is so slow running and does hardly anything and guard with all freezing orders that I try.

    Hello

    This error generally, if the system is infected with Virus and malware or system files are corrupt.

    Please, try the methods below and check if the problem persists.

    SFC scanner.

    You can read the following Microsoft article to repair corrupted using SFC tool files. Use the System File Checker tool to repair missing or corrupted system files

    Reference: http://support.Microsoft.com/kb/929833/en-us

    If the problem persists, try a run Microsoft Safety Scanner.

    http://definitionupdates.Microsoft.com/download/definitionupdates/safetyscanner/amd64/msert.exe

    The Microsoft Security Scanner is a downloadable security tool for free which allows analysis at the application and helps remove viruses, spyware and other malware. It works with your current antivirus software.

    Note: The Microsoft Safety Scanner ends 10 days after being downloaded. To restart a scan with the latest definitions of anti-malware, download and run the Microsoft Safety Scanner again.

    Important: The data files that are infected must be cleaned only by removing the file completely, which means that there is a risk of data loss.

    Do try the suggestions above and let us know the results.

  • Runs the command "regsvr32 quartz.dll" shows 0 x 80040154 error and the laptop webcam does not work

    Runs the command "regsvr32 quartz.dll" shows 0 x 80040154 error and the laptop webcam does not work

    Hello

    Thank you for your response.

    I appreciate that you have attached a screenshot of the problem.

    Have you tried troubleshooting of hardware and devices running?

    Please refer to the suggestions of Naman R responded on 1 April 2011 and check if that helps.
    http://answers.Microsoft.com/en-us/Windows/Forum/Windows_7-windows_programs/DllRegisterServer-failed-with-error-code-0x8002801/403ee0d0-895B-E011-8dfc-68b599b31bf5

    Note: Serious problems can occur if you modify the registry incorrectly. Therefore, make sure that you proceed with caution. For added protection, back up the registry before you edit it. Then you can restore the registry if a problem occurs. For more information about how to back up and restore the registry, click on the number below to view the article in the Microsoft Knowledge Base:
    http://Windows.Microsoft.com/en-us/Windows/back-up-registry

    I hope this helps.

    Thank you

  • I have Photoshopp CS3 on a PC running Windows 8.1.  Bridge froze.  Can I upload photos with the bridge but bridge itself will not respond to the commands of sny, and is the only way to leave the bridge to close.  I tried to use my originsl disc for repair

    I have Photoshopp CS3 on a PC running Windows 8.1.  Bridge froze.  Can I upload photos with the bridge but bridge itself will not respond to the commands of sny, and is the only way to leave the bridge to close.  I tried to use my originsl disc for repair and also tried to uninstall and reinstall and the problem persists.  Any help?

    Hello

    Bridge closing

    Go to this site C:\Users\schawla\AppData\Roaming\Adobe\Bridge (Version) \Cache
    Shift + delete all folders inside this folder cache.

    Reopen the bridge and use

    Concerning

    Jitendra

Maybe you are looking for