Pull information from /usr/lib/vmware/vm-support/bin/swfw.sh

What is the best way to pull information from the report and treat?  Ideally, I would like to put the content in a kind of table and query through to different things, I want (versions of components etc.).  Thank you!

Are there elements that people are aware of which are not contained in the output?  Seems to contain a lot of information system (bios version, firmware disc etc.)

$User = "root".

$Pswd = "password"

$Computer = "server name".

$plink = "s:\Putty\plink.exe".

$plinkoptions = '$Computer-l root - pw $Pswd.

# launch ssh

Get-vmhost $Computer | Get-vmhostservice | where {$_.} Key - eq "TSM - SSH"} | Start-VMHostService-confirm: $false | Out-Null

$cmd1 = ' /usr/lib/vmware/vm-support/bin/swfw.sh > usr/lib/vmware/vm-support/bin/output.txt'

$remoteCommand = ""' + $cmd1 + "'"

$command = ' echo there "+" "+" | "+" "+ $plink +" "+ $plinkoptions +" "+ $remoteCommand

# run remote command

$msg = expression invoke-command $command

$msg

# Disable ssh

Get-vmhost $Computer | Get-vmhostservice | where {$_.} Key - eq "TSM - SSH"} | Stop-VMHostService-confirm: $false | Out-Null

You seem to redirect the output of the command into a file on the local file system.

Why is this?

If you leave the output come from the screen, it should be later in the $msg variable.

And I suspect you easily retrieve the necessary info with a RegEx expression.

What information you want to extract exactly?

Tags: VMware

Similar Questions

  • Delete the files from/usr/lib/vmware/hostd/docroot/downloads with Powercli

    I'm tying to achieve the same goal as their example of cron in this KB with PowerCLI or c#:
    http://KB.VMware.com/selfservice/microsites/search.do?language=en_US & cmd = displayKC & externalId = 1026359

    We have tools that bring together our newspaper bundles ESX/ESXi and ship it to Vmware support for analysis, but the files never get removed from the * / downloads directory on the host.

    We have a mixed esx 3.5 / 4.0 to esx / esxi 4.1 environment. I prefer not to run local cronjobs on the hosts. Someone at - it a good way to handle this with PowerCLI or c# code against vCenter?

    Thank you!

    Jeff

    On the ESX servers, where you have a COS, you can use the command subsequently plink.exe alottt.

    There is an example in the HBA information: PowerCLI wire.

    On an ESXi server, you can use the same procedure, but it requires a bit more.

    And the environment that you are connecting is somewhat more limited compared to the COS.

    See the example of policies to change password on ESXi

  • tar: /usr/lib/vmware/modules/source/vmnet.tar: cannot open: no such file or directory (the installation failed)

    I tried to install VMWare Server for the past few hours now, but nothing helped. I use Ubuntu 8.10.

    I have already patched, had to move manually the files, and now I'm here:

    VMware

    VMware is installed, but it has not been configured (correctly)

    for this system. To (re-) set, invoke the following command:

    usr/bin/vmware-config.pl.

    root@xxxxxx-laptop: /usr/bin/vmware-config.pl

    Ensuring services for VMware Server are stopped.

    Stopping VMware services:

    Virtual machine monitor makes

    Networks bridged on/dev/vmnet0 made

    Server DHCP on/dev/vmnet1 did

    Guest network only on/dev/vmnet1 made

    Server DHCP on/dev/vmnet8 is

    NAT service on/dev/vmnet8 is

    Guest network only on/dev/vmnet8 is

    Virtual Ethernet is

    Configure libraries GTK + 2.4 relief.

    In which directory you want to install the mime type icons?

    use

    This directory contains your desktop menu input files? These files have a

    .desktop file extension. / usr/share/applications

    In which directory you want to install the application icon?

    pixmaps

    /usr/share/applications/VMware-Server.desktop: warning: value ' vmware - server.png ' key 'Icon' in the group "Desktop Entry" is an icon of name with an extension, but there should be no extension as described in the icon theme specification if the value is not an absolute path

    /usr/share/applications/VMware-console-URI-handler.desktop: warning: value ' vmware - server.png ' key 'Icon' in the group "Desktop Entry" is an icon of name with an extension, but there should be no extension as described in the icon theme specification if the value is not an absolute path

    Try to find a vmmon module suitable for your running kernel.

    None of the vmmon modules pre-built for VMware Server is suitable for your

    kernel running.  Do you want this program to try to build the vmmon module for

    your system (you must have a C compiler installed on your system)?

    Using compiler "/ usr/bin/gcc". Environment variable CC to override.

    What is the location of the directory of C header files that match your running

    kernel? /lib/modules/2.6.27-11-generic/build/include

    Extract the sources of the vmmon module.

    The construction of the vmmon module.

    Building for VMware Server 1.0.0.

    Using 2.6.x kernel build system.

    do: enter the directory ' / tmp/vmware-config4/vmmon-only '.

    do /lib/modules/2.6.27-11-generic/build/include/ - C... SUBDIRS = $PWD SRCROOT = $PWD. modules of

    make [1]: Entering directory ' / usr/src/linux-headers-2.6.27-11-generic'

    CC /tmp/vmware-config4/vmmon-only/linux/driver.o

    CC /tmp/vmware-config4/vmmon-only/linux/driverLog.o

    CC /tmp/vmware-config4/vmmon-only/linux/hostif.o

    /tmp/vmware-config4/vmmon-only/linux/hostif.c: in function 'HostIF_SetFastClockRate ':

    /tmp/vmware-config4/vmmon-only/linux/hostif.c:3441: warning: argument passing "send_sig" 2 rejects the characterization of target of pointer type

    CC /tmp/vmware-config4/vmmon-only/common/comport.o

    CC /tmp/vmware-config4/vmmon-only/common/cpuid.o

    CC /tmp/vmware-config4/vmmon-only/common/hash.o

    CC /tmp/vmware-config4/vmmon-only/common/memtrack.o

    CC /tmp/vmware-config4/vmmon-only/common/phystrack.o

    CC /tmp/vmware-config4/vmmon-only/common/task.o

    cc1plus: WARNING: command line option "- Werror - implicit-function-declaration" is valid for C/ObjC but not for C++

    cc1plus: WARNING: command line option ' - Wdeclaration - apres-declaration "is valid for C/ObjC but not for C++

    cc1plus: WARNING: command line option ' - Wno - pointer-sign "is valid for C/ObjC but not for C++

    cc1plus: WARNING: command line option ' - Wstrict - prototypes "are valid for Ada/C/ObjC but not for C++

    In file included from /tmp/vmware-config4/vmmon-only/common/task.c:1195:

    /tmp/vmware-config4/vmmon-only/common/task_compat.h: function ' void Task_Switch_V45 (VMDriver *, Vcpuid)':

    /tmp/vmware-config4/vmmon-only/common/task_compat.h:2667: warning: 'sysenterState.SysenterStateV45::validEIP' may be used uninitialized in this function

    /tmp/vmware-config4/vmmon-only/common/task_compat.h:2667: warning: 'sysenterState.SysenterStateV45::cs' may be used uninitialized in this function

    /tmp/vmware-config4/vmmon-only/common/task_compat.h:2667: warning: 'sysenterState.SysenterStateV45::rsp' may be used uninitialized in this function

    /tmp/vmware-config4/vmmon-only/common/task_compat.h:2667: warning: 'sysenterState.SysenterStateV45::rip' may be used uninitialized in this function

    CC /tmp/vmware-config4/vmmon-only/common/vmciContext.o

    CC /tmp/vmware-config4/vmmon-only/common/vmciDatagram.o

    CC /tmp/vmware-config4/vmmon-only/common/vmciDriver.o

    CC /tmp/vmware-config4/vmmon-only/common/vmciDs.o

    CC /tmp/vmware-config4/vmmon-only/common/vmciGroup.o

    CC /tmp/vmware-config4/vmmon-only/common/vmciHashtable.o

    CC /tmp/vmware-config4/vmmon-only/common/vmciProcess.o

    CC /tmp/vmware-config4/vmmon-only/common/vmciResource.o

    CC /tmp/vmware-config4/vmmon-only/common/vmciSharedMem.o

    CC /tmp/vmware-config4/vmmon-only/common/vmx86.o

    CC /tmp/vmware-config4/vmmon-only/vmcore/compat.o

    CC /tmp/vmware-config4/vmmon-only/vmcore/moduleloop.o

    LD /tmp/vmware-config4/vmmon-only/vmmon.o

    Construction modules, step 2.

    MODPOST modules 1

    WARNING: modpost: vmmon.ko module uses the marked "init_mm" symbol is not USED

    CC /tmp/vmware-config4/vmmon-only/vmmon.mod.o

    LD /tmp/vmware-config4/vmmon-only/vmmon.ko

    make [1]: leaving directory ' / usr/src/linux-headers-2.6.27-11-generic'

    CP f vmmon.ko. /... vmmon.o

    make: leaving directory ' / tmp/vmware-config4/vmmon-only '.

    The module loads perfectly in the kernel running.

    This program already created the file/dev/vmmon and was about to remove

    He someone else apparently already made.

    You have already setup network.

    You want to skip the network configuration and keep your old settings as they are?

    (yes/no)

    Extract the module vmnet sources.

    tar: /usr/lib/vmware/modules/source/vmnet.tar: cannot open: no such file or directory

    tar: error is not recoverable: leave now

    Unable to decompress the "/ usr/lib/vmware/modules/source/vmnet.tar" file in the

    directory ' / tmp/vmware-config4.

    For more information about how to troubleshoot module, please

    visit our Web site at " " http://www.VMware.com/download/modules/modules.html "and "

    " http://www.VMware.com/support/reference/Linux/prebuilt_modules_linux.html ". "

    The execution is canceled. [/ b]

    I know that vmnet.tar was here before... and he suddenly disappeared. How do we do it back, or can I download it somewhere? Thank you.

    A little worrying that this file should simply disappear - never happened on any of my guests. Check the logs, etc. for possible reasons. You get also warnings much more when you run vmware - config.pl I've ever encountered. What files did you manually have to move?

    If you download the tarball, extract the file from here and place it in the folder "/ usr/lib/vmware/modules/source", then you should probably go further. Should also be vmci.tar, vmnet.tar and vsock.tar in there.

    ---

    If you have found this device or any other answer useful please consider the use of buttons useful or Correct to award points.

  • exec: 206: / usr/lib/vmware-vcenter-converter-standalone/converter-gui: not found

    Hello everyone this is my first post!

    I am currently running Ubuntu 8.10 (x86_64) and Converter 4.0 installation has been completed successfully. I'm running into a problem when running command "vmware-converter-client", I get the following error...

    exec: 206: / usr/lib/vmware-vcenter-converter-standalone/converter-gui: not found

    I searched the forum but I can't seem to find anything that refers to this specific error. I've seen other posts that do not include this error, but are usually accompanied by a missing library etc...

    I even tried to run the executable files in the directory/var/lib/vmware-vmware-vcenter-converter-standalone directly, but then, I get the following errors...

    bash:. / vmware converter: no such file or directory

    bash:. / Converter-gui: no such file or directory

    The files are obviousely there!

    ?:|

    You're 64-bit Linux has support on the implementation of the binary 32 bits? All the binary converter are 32-bit

  • / usr/lib/VMware/bin/VMware: symbol lookup error: /usr/lib/vmware/lib/libssl.so.0.9.8/libssl.so.0.9.8: undefined symbol: EVP_ecdsa

    Hello

    After a few package update/install vmware (7.0.1 build 227600 x86_64) has stopped working.  When you try to start, I get an error:

    / usr/lib/VMware/bin/VMware: symbol lookup error: /usr/lib/vmware/lib/libssl.so.0.9.8/libssl.so.0.9.8: undefined symbol: EVP_ecdsa

    ameeba 06:38 & gt; md5sum /usr/lib/vmware/lib/libssl.so.0.9.8/libssl.so.0.9.8

    8ee5d0ab909cbf5604ab025f836f5cc0 /usr/lib/vmware/lib/libssl.so.0.9.8/libssl.so.0.9.8

    System is Fedora Core 11 with all updates with a few multimedia tools and the rpmfusion Nvidia drivers.

    ameeba 06:41 & gt; less /tmp/vmware-pasi/setup-9349.log

    Mar 15 06:41:15.938: app-140707592353520 | Journal for VMware Workstation pid = 9349 version = 7.0.1 build = build-227600 option = output

    Mar 15 06:41:15.938: app-140707592353520 | The process is 64-bit.

    Mar 15 06:41:15.938: app-140707592353520 | Host codepage = UTF-8 encoding = UTF-8

    Mar 15 06:41:15.938: app-140707592353520 | Login to /tmp/vmware-pasi/setup-9349.log

    Mar 15 06:41:16.077: app-140707592353520 | Mark modconf initialized interface

    Mar 15 06:41:16.077: app-140707592353520 | modconf initialized library

    Vmware reinstalling did not help.

    Any ideas?

    -Pasi-

    We can suspect that your libcrypto.so were captured earlier a comes with vmware, try: export LD_LIBRARY_PATH=/usr/lib/vmware/lib/libcrypto.so.0.9.8 & vmware & command line

  • Extract information from comments to vmware in multiple ESXI

    HIL

    We have 20 ESXI - standlone servers, where requirment is that we must seek information from all data from VM.

    A script can be everything to this requirment.

    If you have special characters in your password (like @) you have to put the password in single quotes.

    SE connect-VIServer $_-user root - password "pass@1234" | Out-Null

  • How to pull information from a text field in my email subject line using a button to send email?

    I know how to create a button to e-mail with the static object, but I need to pull on the name field in the subject line.

    I use LiveCycle Designer ES2 v. 9.0 on a Windows computer.

    Example: Change request for < text field of the form >

    Not in the XML file, in the Click event of the button.

    You will find the scripteditor on the 'window '. "scripteditor.

    There you can change the event right next to 'show '.

  • "We would like to inform that your accοunt expires in 72 hours, it is important to perform a verification of your information from now on, otherwise you accοunt will be closed. Please click the link below"this is an email I received support to itune.

    We would like to inform that your accοunt expires in 72 hours, it is important to perform a verification of your information from now on, otherwise you accοunt will be closed. Please click the link below. This is an email I received support to iTunes and I was wondering if I should do it

    I would not click on any link without further investigation.

    Is the link to an official source of Apple?

    You have a web address or URL of the link that you can post here?

    What happens when you go directly to AppleID or another connection site

    where there is no doubt of the authenticity? • Apple is not usually give

    you a countdown, so I think that the item that you see is a scam.

    PS: If you had a trial subscription to Match iTunes or other item

    You can check personally, or any other service you may already

    charged, the way back to Apple should be a known to ask them.

  • ERROR: ld.so: object ' / usr/lib/libInternalSymbols.so' from LD_PRELOAD

    Salvation of DBA

    I get the following error after cloning.
    But cloning done successfully.
    When I run the application environment and services to start or stop, I get the following error.

    ERROR: ld.so: object ' / usr/lib/libInternalSymbols.so' from LD_PRELOAD cannot be preloaded: ignored.
    ERROR: ld.so: object ' / usr/lib/libInternalSymbols.so' from LD_PRELOAD cannot be preloaded: ignored.
    ERROR: ld.so: object ' / usr/lib/libInternalSymbols.so' from LD_PRELOAD cannot be preloaded: ignored.
    ERROR: ld.so: object ' / usr/lib/libInternalSymbols.so' from LD_PRELOAD cannot be preloaded: ignored.
    ERROR: ld.so: object ' / usr/lib/libInternalSymbols.so' from LD_PRELOAD cannot be preloaded: ignored.
    ERROR: ld.so: object ' / usr/lib/libInternalSymbols.so' from LD_PRELOAD cannot be preloaded: ignored.
    ERROR: ld.so: object ' / usr/lib/libInternalSymbols.so' from LD_PRELOAD cannot be preloaded: ignored.
    ERROR: ld.so: object ' / usr/lib/libInternalSymbols.so' from LD_PRELOAD cannot be preloaded: ignored.
    ERROR: ld.so: object ' / usr/lib/libInternalSymbols.so' from LD_PRELOAD cannot be preloaded: ignored.
    ERROR: ld.so: object ' / usr/lib/libInternalSymbols.so' from LD_PRELOAD cannot be preloaded: ignored.
    ERROR: ld.so: object ' / usr/lib/libInternalSymbols.so' from LD_PRELOAD cannot be preloaded: ignored.
    ERROR: ld.so: object ' / usr/lib/libInternalSymbols.so' from LD_PRELOAD cannot be preloaded: ignored.
    ERROR: ld.so: object ' / usr/lib/libInternalSymbols.so' from LD_PRELOAD cannot be preloaded: ignored.
    ERROR: ld.so: object ' / usr/lib/libInternalSymbols.so' from LD_PRELOAD cannot be preloaded: ignored.
    ERROR: ld.so: object ' / usr/lib/libInternalSymbols.so' from LD_PRELOAD cannot be preloaded: ignored.
    ERROR: ld.so: object ' / usr/lib/libInternalSymbols.so' from LD_PRELOAD cannot be preloaded: ignored.
    ERROR: ld.so: object ' / usr/lib/libInternalSymbols.so' from LD_PRELOAD cannot be preloaded: ignored.
    ERROR: ld.so: object ' / usr/lib/libInternalSymbols.so' from LD_PRELOAD cannot be preloaded: ignored.
    ERROR: ld.so: object ' / usr/lib/libInternalSymbols.so' from LD_PRELOAD cannot be preloaded: ignored.
    ERROR: ld.so: object ' / usr/lib/libInternalSymbols.so' from LD_PRELOAD cannot be preloaded: ignored.
    ERROR: ld.so: object ' / usr/lib/libInternalSymbols.so' from LD_PRELOAD cannot be preloaded: ignored.
    ERROR: ld.so: object ' / usr/lib/libInternalSymbols.so' from LD_PRELOAD cannot be preloaded: ignored.
    ERROR: ld.so: object ' / usr/lib/libInternalSymbols.so' from LD_PRELOAD cannot be preloaded: ignored.
    ERROR: ld.so: object ' / usr/lib/libInternalSymbols.so' from LD_PRELOAD cannot be preloaded: ignored.
    ERROR: ld.so: object ' / usr/lib/libInternalSymbols.so' from LD_PRELOAD cannot be preloaded: ignored.
    ERROR: ld.so: object ' / usr/lib/libInternalSymbols.so' from LD_PRELOAD cannot be preloaded: ignored.
    ERROR: ld.so: object ' / usr/lib/libInternalSymbols.so' from LD_PRELOAD cannot be preloaded: ignored.
    ERROR: ld.so: object ' / usr/lib/libInternalSymbols.so' from LD_PRELOAD cannot be preloaded: ignored.
    ERROR: ld.so: object ' / usr/lib/libInternalSymbols.so' from LD_PRELOAD cannot be preloaded: ignored.
    ERROR: ld.so: object ' / usr/lib/libInternalSymbols.so' from LD_PRELOAD cannot be preloaded: ignored.


    Thank you
    SG

    SG,

    What is the version of the application and the operating system?

    Are you able to connect any executable file of the application (through adadmin)?

    Kind regards
    Hussein

  • VMware vCenter Support Assistant for registration.

    Hello

    How can I make sure that I am registered to support assistance so that I can receive emails from technical suport VMware.

    BR

    Ahmed Salah

    Hello Ahmed,.
    I don't know what you mean by "support assistance. Assume that you are referring to vCenter Assistant support.

    To receive by e-mail monthly reports, you must do 2 things (as long as you have vCenter Assistant support installed and configured):

    1. Enable proactive Support
    2. Subscribe to send monthly reports.
      1. In a Web browser, log vCenter Unit Assistant support.
      2. On the details tab, enter your email address and click Save.

    For more information, see:

    Description of the product

    Product download page

    Product documentation page

    Best regards

    Iskra Boteva

  • (PDF, JPEG) image upload in... /... / usr/lib with 11 g express 4.02 apex?

    Hi all
    I have download Stokes 200 GB photos, files, pdf, jpeg, png and more photos
    hard disk (on the path: root/usr/lib/oracle/xe/storage)

    I'm installing oracle 11g with apex 4.02 express and connect over the earpiece of the apex
    Server based application GlassFish, on the linux platform.

    Is it a stable and functional solution for this?

    concerning
    Gordan

    Then you are at the mercy of your operating system and its file system. Why not suggest to your customer that they PAY FOR a DATABASE of REAL as apposed to using the free option which is NOT REALLY designed for what you need to use...

    Store pointers in the database (information network folder) compared to store the ACTUAL documents in the database is a useless way to solve the problem. It has more ground in recent years on asktom.com and pretty much been proven...

    You store the files in the database, you can back up & restore more easily, find your data more quickly and efficiently...

    You store the files on the file system, and you will have to deal with access to the files and limits on the number of files per folder and the fact that you have NO REAL connection to the database (file gets deleted, when it did get deleted, I can restore from backup)

    ' enough said...

    Thank you

    Tony Miller
    Webster, TX

    On the road of life... He has "windshield", and there are "bugs".
    (splat!)
    "Squeegees wanted."

    If you answer this question, please mark the thread as closed and give points where won...

  • Firefox Help my firefox top bar has been changed, I used to be able to get the file to bookmarks Format printed, and other services that I have found useful when you take information from the internet, where they went, I want them back?

    Firefox help

       Search
    

    "Found 0 results for" my firefox top bar has been changed, I used to be able to get the bookmarks printed Format file, and other services that I have found useful when taking information from the internet, I found bookmarks to the right of the new game to the top, but it seems not instantly friendly where they went, I want that they come back? »

    See:

  • Transfer of information from a .sparsebundle to Bootcamp

    Hey guys,.

    A few months ago, my computer is having problems, and my computer technology store decided to uninstall and reinstall my OS x and Windows partitions. Before they did, I supported the two partitions on an external hard drive. The shop reinstalled the two partitions, but for some reason some they did not transfer all the data from my old drive bootcamp back on my current partition. My external hard drive has a picture of .sparsebundle that seems to have all the data that I'm missing. How can I transfer the information from this disc image on my current bootcamp drive?

    You can open the sparsebundle on OSX? If so, check out the files you need on the side OSX, switch to Windows and copy the files of the side OSX to Windows (provided that you can see the files in os x Windows system).

    You should not attempt a restore from the sparsebundle to Windows for your Applications, it will cause problems.

  • Reference Dell studio 1536 gacé graphic / help__i have a computer laptop dell studio and I want to add additional video from my laptop hybrid crossfire support card and I can't find a solution and a graphics card for my notbook

    Ideas:

    • I have a dell studio laptop and I want to add additional video from my laptop hybrid crossfire support card and I can't find a solution and a graphics card for my notbook

    There SR 780 chip and also I could not find any housing emty external or internal to a 3D support
    Help, please

    Remember - this is a public forum so never post private information such as numbers of mail or telephone!

    Hi waheedkhan

    Welcome to the Microsoft Answers Forum!

    To install additional video card for laptop is not possible as desktop, as the video card is integrated with the motherboard. However you can contact Dell technical support if they can provide an additional location for add video card. Here is the link to the support technology guide below: http://support.dell.com

    Thank you, and in what concerns:

    Samhrutha G S - Microsoft technical support.

    Visit our Microsoft answers feedback Forum and let us know what you think.

  • With HP8600 I put the Option for tray 2, but it will pull only from the Tray1

    Envelopes of printer with HP8600 I put the Option for tray 2, but it will pull only from the Tray1.

    Hello finfannc,

    Welcome to the HP Forums.

    I see that you are having problems with printing envelopes from tray #2.

    Just to let you know, the printer will only print envelopes of Lac #1.  Here is the link to the User Guide that will show you what all is supported and what bins what to do. For envelope printing, go to page #165-167 media support and sizes of envelope.

    Thanks for your time.

    See you soon,.

Maybe you are looking for

  • A full justification and display two pages do not work correctly on iOS 10

    I have installed iOS 10 yesterday on my iPad 2 Air but have found that the two functions do not work correctly in iBooks. First of all, full justification does not work when the font size is brought to a certain level. In other words, a complete just

  • DLL structure pointer

    Need some help here, as I have tried everything I can think of. Created a cluster, which is the structure and based on call die I have defined "Adapt to the Type" and table data pointer, but it keeps failing as you can see below You will appreciate a

  • Change the font color on IE8 + XP

    I need to change the font color from blue to black on my computer XP WIN8 + that my wife is legaly blind and can't read light blue lettering

  • Are unable to recovery system with a boot disk Options

    I think my MBR is corrupted or my drive hard OS is dead. I created a neosmart.com boot disk and have set the BIOS to boot from the CDROM.  After the POST, the display shows "Windows is loading files".  The Installation of Vista screen should appear a

  • How does the trash?

    OT: Trash. How does the trash? It seems to be a "sandbox", but a reference to the storage space on each disk. I can't find a real situation for the trash If I delete a file from the c: drive or the drive e: is the deleted file stored in a different l