How to update the data of the CLI command line interface store

Dear friends

I use VMWare Server 2.0 on a debian linux server.

I need to be able to update the store data from the command line, this because I put the command Refresh within a bash script.

Of course, I know how the web management, but as you understand, I need to do from the console.

Thanks for the answer, help or advice

Robert

Post edited by: FAsTec

Hello

Try vmware-vim-cmd.

As in:

vmware-vim-cmd /hostsvc/datastore/refresh

You may need to add the store of data as a parameter.

See also:

http://www.VI-Toolkit.com/wiki/index.php/hostsvc/datastore/refresh

Beware that your username must have good credentials to run the command.

Hope this helps

--
Wil
_____________________________________________________
VI Toolkit & scripts wiki at http://www.vi-toolkit.com

Writer to the blog www.planetvm.net

Twitter: @wilva

Tags: VMware

Similar Questions

  • How to run the linux command line sql script

    Hi all!

    Just quick question. On my server I have to install the crontab script which will be eexecute some sql statements.
    How can I undergo command which will execute the script file without asking for password?


    sqlplus user/pass... and then what?


    Thank you

    dlugasx

    sqlplus user/pass @yourscript.sql

  • How to update the drivers NVIDIA for Pavilion dv6755el.

    Hi, I know it please tell how to update the video card driver, in which rirectory GB installed, because I stood Blue Shield and microsoft has identified that the video card driver is not updated, I followed the procedure of upgrading HP but found no drivers. ? I downloaded directly from NVIDIA updated for my card, but I can't find where the original, but the installer says C:\Nvidia... Thank you

    I don't think it's asking you where to install, it can ask for a place to decompress the files, so just say ok the location by default, he suggests. If the installation does not continue after developing files, switch to that folder where it expanded their and find the Setup, the exe file and run it.

    .

  • How to update the model of RDS for Windows Server 2012 collection?

    Hi team,

    I want to know how to update the collection of RDS model (model master sysprep) which is used to create the collection?

    I tried the below way but did not get the update of the collection of virtual machines.

    -Start the image of mater of sysprep

    -install the required components

    -resysprep the image and stop it

    -East went to the RDS Collection and added new virtual machines in collection (removed the old his)

    Once created, I opened a session in the machines, but I don't see the updates (I installed some software in the sysprep image however and no is not there in the virtual machines in the pool)

    Can someone let me know if I need to create a whole collection again or the way I do it is a proper way? If it's a good way what could be the reason why I get the new installed software model sysprep image in virtual machines created in the pool, based on the model?

    How do we actually updated for security and other regular patches updated in virtual machines? In my view, we use the same approach?

    Any suggestions will be appreciated.

    Kind regards

    original title: Windows Server 2012 RDS - model Sysprep update process and collection of creation

    Hi MS Expert 2010,

     

     

    I wish that you post your question in the TechNet Forums as it is addressed to an audience of it professionals.

     

    Check out the link-

     

     

    TechNet Forums

     

    Hope this helps!

     

  • refresh rate... How to update the drivers for the monitor in Vista

    How to update the drivers for the monitor in Vista

    You are welcome.

    Normally, you go to the Web site of the pre-installed drivers.

    But, if you have any problems, andf Forum hardware drivers is the best place to ask.

    See you soon.

    Mick Murphy - Microsoft partner

  • How to access the CLI Mode in cisco sf 302 - 08 p 8-port 10/100 Managed switch

    Hello

    Can someone help me on how to access the CLI mode in cisco sf 302 - 08 p 8-port 10/100 Managed switch. I treid the each method they mentioned in the administration guide. I am not able to enter the command debug mode and comand menu after resetting the default password. Once connected, sound directly to guide me to switch main menu.

    Hello FAL, Mark,.

    Thank you for your participation in the community of support to small businesses. My name is Nico Muselle of Cisco Sofia HWC.

    To access the CLI, you must make sure that the version of the firmware on your switch is at least 1.1.0.73 or preferably higher. Then activate telnet or ssh on the switch and opening of these sessions or a console session you will see that you are in CLI mode. You can return to the console to function menu using the menucommand.

    I hope that answers your questions!

    Best regards

    Best regards

    Nico glacier

    Senior Network Engineer - CCNA - CCNA security

  • How mass update the display name for a group of existing emails?

    We were recently acquired and at the end of April will undergo a change of name of company official. Is there a way to mass update the display name for all or most of the emails without manual update of each individual file in the details by email? I know how to update the name of the company in the configuration > system management > company display settings > name of the company; However, this is only the default display name for e-mail messages that are created from that moment. It is not to update existing records, as I understand it. This will be a huge pain updates of each email for each existing campaign in the program generator, so if there is a solution, please let me know!

    sc * 2799241 * tr-j' thought that this might be the case. We will make do. Thanks for your reply.

  • How dynamically update the role of oracle using the trigger

    How dynamically update the role of oracle using the trigger:

    I have svmanger owner of schema in the database. There are five tables belonged to svmanager.

    Table A, B, C, D, E.

    I have a role that is played only to these tables under the scheme: SVMANAGER_READ_ONLY

    now, if I create a new table F under svmanager. the role that svmanager_read_only does not work is updated, so the user had assigned role cannot access table F.

    is there a way to create the trigger for this role dynamically update any when a table is created or deleted?

    Thank you.

    I really really really don't suggest to do this - it's a bad habit. If possible I'd just adding the grant as part of the steps to the role on the new creation of the table.
    But for fun here's how you can accomplish this:

    create or replace procedure execute_grant(v_ddl in varchar2)
    is
    begin
       execute immediate v_ddl;
    end;
    /
    
    create or replace trigger catch_create_table_trg after create on schema
    DECLARE
    
    ddl_job number;
    ddl_str varchar2(50);
    begin
       IF ora_dict_obj_type = 'TABLE' THEN
    
           ddl_str := 'GRANT SELECT ON '||ora_dict_obj_owner||'.'||ora_dict_obj_name||' TO SVMANAGER_READ_ONLY';
    
           dbms_job.submit(job => ddl_job,
           what => 'execute_grant(''' || ddl_str || ''');',
           next_date => sysdate+(5/24/60/60));
    
       END IF;
    end;
    /
    

    Test it

    create table F (id number(1));
    

    Validate

    select * from ROLE_TAB_PRIVS where ROLE = 'SVMANAGER_READ_ONLY';
    
  • problem while updating the number of lines.

    Hello..

    Im very new to obiee and now to learn things.

    I'm using the following link to learn how to create a repository and work with it.

    [http://www.oracle.com/technology/obe/obe_bi/bi_ee_1013/bi_admin/biadmin.html]

    and im facing problem by updating the number of lines.

    get a dialog like...

    There is an error while updating the number of lines for "SH"... "" SH ". "" CHANNELS ".
    + [nQSError:17001] Oacle Eroorcode:942, message: ORA - 00942:table or view does not exist the OIC OCIStmtExecute call: select count (*) channels. +
    + [nQSError:17011] SQL statement execution failed. +

    Wat could be the problem? can anyone help?

    thnx in advance.

    Have you downloaded zip included in the tutorial and placed in the right place?

  • Hello, how is it possible to create the FAT32 BOOTCAMP on CoreStorage partition via the command line interface?

    Hello, how is it possible to create the FAT32 BOOTCAMP on CoreStorage partition via the command line interface?

    I mean ' diskutil cs * " and so on..."

    Yes, you must use the resizeStack command. Please see Re: how to repair fsck "your drive could not be partitioned..." Bootcamp does not as an example.

  • How to restrict the running command prompt?

    How to restrict the running command prompt?

    I already know the method: HKEY_CURRENT_USER\Software\Policies\Microsoft\Windows\System DisableCMD: 2

    but, but, it is possible to change reactivate cmd used much the system tool software

    So I want to deny the change of registry value by the software used, I changed all permissions to the registry [System] refusal keys with my account.

    but after a modified registry key permissions denied, disableCmd was inactivated more.

    It is impossible that the two parameter [disablecmd: dword = 2] and [{System} lock keys: administrator of the deny all permissions in my account]?

    This issue is beyond the scope of this site which is for the consumer to related issues.
    To ensure that you get a proper answer, ask either on the Technet site, if it is a type of Pro problem, or MSDN if it's related to the developer
  • How to move a virtual machine from one virtual switch to the other since the SDK / command line?

    How to move a virtual machine from one virtual switch to the other since the SDK / command line?

    Joshua Smith

    Are you referring to the evolution of the virtual machines network portgroup of one to the other and in your case potentially issue on to another vSwitch? If so, take a look at this script: updateVMPortgroup.pl everything you do really makes a call to ReconfigVM_Task() and passing in a specification change and put to day the network in which you want to change

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

    William Lam

    VMware vExpert 2009

    Scripts for VMware ESX/ESXi and resources at: http://engineering.ucsb.edu/~duonglt/vmware/

    repository scripts vGhetto

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

    150 VMware developer

    Introduction to the vMA (tips/tricks)

    Getting started with vSphere SDK for Perl

    Twitter: @lamw

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

  • How to control the number of lines of text below the image in the slideshow module?

    Lightroom 3.3

    How to control the number of lines of text below the image in the slideshow module?  I have an image with 36 words in the caption field which exports like two lines GOOD.!  I have another image with 57 words in the field of legend who runs the page and shows only a VERY BAD line.  With 57 words I can't do the single-line text box small enough to keep the text does not spread out of the page.

    Ideas?

    On the Mac platform and I expect similar under Windows, just hit enter or return key will not help. Instead, you will have to hit the keys Ctrl + Enter or Ctrl + return. This forces a new line. Windows may use a different modifier key. The screenshot below shows that it is possible. Unfortunately, you need to add the text via the caption or Description field in the library module.

  • How to fill the canvas with lines

    < mx:Canvas id = "b1" x = "10" y = "10" height = "40" width = "300" borderStyle = "solid" borderColor = "black" / >

    When I want to draw lines with difference of 15 pixels to fill the entire canvas I wrote the following

    for (var i: int = b1.x + 15; i < b1.x + b1.width; i = i + 15)
    {
    var line1:UIComponent = new UIComponent();
    var lineThickness1:Number = 1;
    var lineColor1:Number = 0 x 000000;
    var lineAlpha1:Number = 1;
    LINE1. Graphics.LineStyle (lineThickness1, lineColor1, lineAlpha1);
    LINE1. Graphics.MoveTo (i, B1.y);
    LINE1. Graphics.LineTo (i, B1.y + B1. Height);
    this.addChild (line1);
    }

    It works very well

    LLY,

    < mx:Canvas id = "b4" x = "600" y = "200" height = "60" width = "300" borderStyle = "solid" borderColor = rotation "black" = "40" / >

    I have the canvas above with the "b4" id only difference is that this canvas rotation

    How to fill the canvas with lines that I just did above?

    Hope this code will help you,

    for(var i: int = 15; i < b4.width; i = i + 15) {
         var line1: UIComponent = new UIComponent();
         var lineThickness1: Number = 1;
         var lineColor1: Number = 0x000000;
         var lineAlpha1: Number = 1;
         line1.graphics.lineStyle(lineThickness1, lineColor1, lineAlpha1);
         line1.graphics.moveTo(i, 0);
         line1.graphics.lineTo(i, b4.height - 1);
         //Add line in canvas instead of main container
         b4.addChild(line1);
    }
    
    
    
  • What is the CLI commands

    What is the CLI commands to monitor a router interface (800 series) 'live '? Watch the increment of packages.

    I have provided links to the appropriate documentation. First you will need a basic understanding of the command line Interface (CLI). Then, you can use the commands to enable Capture of integrated package.

    Using the command in the Cisco IOS software command-line Interface

    Cisco IOS embedded packet Capture

Maybe you are looking for

  • Numlock stops working on the Qosmio F750

    Hello I have a Qosmio F750-11 t. Four days ago, I started my laptop and discovered my num lock stops working. The light still comes on, but the buttons do not respond. I can't turn the NumLock or off and I can ' t produce numbers more with him (or us

  • How to determine what color of ink is low on my photosmart hp 7520

    My printer prints wrong color, how do I know which color is low?   I replaced cartridges, but not all.

  • Strange purple icon

    I have a new icon appearing on some programs at the top right of the screen. It looks like the MS side, but is a black border with a purple infil. It is perfectly rectangular. It seems have soemthing to do with splitting of screens. I can't rationali

  • BlackBerry Smartphones Photo problem

    I can see the thumbnails of my photos, but when I click on an individual photo is goes blank and I cannot see anything, and sometimes it comes up with error messages such as Java.lang.illegalArgumentException and I have to just press ok. Please can s

  • Hard drive 100% Windows 8 ALL THE TIME!

    Hi all My computer was working fine on Windows 8 and after that windows update setup it just crashed. When you open the Task Manager, he told me that the hard drive is ALWAYS 100% usage while I have no programs or processes running. I tried to restor