Status report of VM tools with more info than the status

Hallo.

I'm looking for a script that shows me the status of VM as 'Version of the tools' tools, ' oder execution tools do not ' and 'Tools need upgrade' for each virtual machine. I found a small script

$date=get-date -uformat « %Y %m %d-%H %M %S »; Get-vm | % { get-view $_.ID } | Select Name,

@{Name='ToolsStatus'; {Expression={$_. guest.toolsstatus}},

@{Name"ToolsVersion"=; {Expression={$_. config.tools.toolsVersion}} |

Tri-objet name | Export-csv c:\temp\vmtoolsver_$date.txt -NoTypeInformation

but I need additional information such as custom for each virtual named 'Customer' computer fields.

Can anyone help me put in place this information in the script?

It would be very nice.

Thank you all.

Best regards

ron9999

And another solution is to use the virtual computer object CustomFields property:

$date = Get-Date -uformat "%Y%m%d-%H%M%S"
Get-VM | `
Select-Object -Property Name,
@{ Name="ToolsStatus"; Expression={
  $_.ExtensionData.Guest.ToolsStatus}},
@{ Name="ToolsVersion"; Expression={
  $_.ExtensionData.Config.Tools.ToolsVersion}},
@{ Name="Customer"; Expression={$_.CustomFields["Customer"]}} | `
Sort-Object -Property Name | `
Export-CSV -Path c:\temp\vmtoolsver_$date.txt -NoTypeInformation

Tags: VMware

Similar Questions

  • the new iPad pro films with more FPS than the iPad2?

    the new iPad pro films with more FPS than the iPad2?

    Even as the iPad 2, 30 frames per second - the Pro allows you to make the slow-mo video at 120 FPS

  • Is iMac without retina k 4 at 2.8 GHz with more quickly than the iMac retina 4 k with 3.1 GHz?

    Is iMac without retina k 4 at 2.8 GHz with more quickly than the iMac retina 4 k with 3.1 GHz?

    In most cases you won't see much difference in performance using CPUs unless you do very intensive CPU.

    Maybe you can tell what your needs are for the computer, what you intend to use applications and then we can help suggest some configurations, you might want.

    In today's computers, which makes the greatest performance increases for typical users are (in this order):

    • SSD instead of a Fusion or rotation HD.
    • RAM
    • GPU
    • CENTRAL PROCESSING UNIT
  • The Sound Recorder with W7 now seems much more rudimentary than the old version, and I can't find any way to insert messages into My Documents.

    My O.S. is W.7. 32-bit.

    Before, I recently upgraded to XP and using MS Word 2007, I have a (short) Sound Clip of pre-registration<60 secs. )="" and="" then="" insert="" it="" into="" my="">

    A small icon that looks like a speaker appeared on the Document and that the beneficiary would have left click on it to hear the recording. The Sound Recorder with W7 now seems much more rudimentary than the old version, and I can't find any way to insert messages into My Documents.

    Is this even possible or has Microsoft taken a step backward here?

    I'd appreciate some help here. Thanks in advance. Mech-Tech.

    Original title: Sound Recorder

    If I've understood your problem, try this. Create a shortcut to "soundrecorder /file outputfilename.wav" (without the quotes).

    Then start soundrecorder via this shortcut and start and stop the recording, it will save so (hopefully) as a wav as before.

    I think the problem is, W7 soundrecorder, by default, saves to wma.

    If not, try a 3rd free part program such as Audacity (which seems like overkill, but should do the job).

    I hope this will help.

  • ORA-00338: 3 log thread 1 is more recent than the control file

    Hello

    I met the error ORA-00338 while performing the recovery of incomplete data:

    ORA-00283: cool cancelled due to errors
    ORA-00338: 3 log thread 1 is more recent than the control file
    ORA-00312: wire 3 1 online journal: "+ DG_REDO/dbase/onlinelog/group_3.267.814820795".
    Complete recovery manager.

    I made this recovery on oracle 10g, database of ASM.

    1. What are the possible causes of this error ORA-00338?

    2. This error occurs at the beginning of the media recovery, RMAN is applying logs archived. If RMAN does newspapers "Online REDO" after applying "archived" logs required for recovery or in front of them?

    3 rman is how this journal in line 3 is more recent than the control file? How can I me SNA of the journal online & file control in my environment?

    Here are some details related to checkpoint scn / change # info. I found in my environment:
    Before recovery:
    view
    v$ datafile: 642935
    v$ datafile_header: 642935
    v database $: 642935
    Journal of v$: 640956

    After the recovery fails (ORA 338 :()
    v$ datafile: 640917
    v$ datafile_header: 640056
    v$ database: 640906
    Journal of v$: 640906

    You could try the incomplete recovery has to do only the RESTORE DATABASE with RMAN.
    Then, using the SQLPLUS command line, issue a RECOVER database with the HELP of BACKUP CONTROLFILE until CANCEL. See which he records guests for and monitor messages in the alert.log

    Hemant K Collette

  • M7 MacBook 1.3 GHz running more hot than the 1.2 GHz m5?

    Does anyone have experience with this? The new m7 Skylake 1.3 GHz running more hot than the 1.2 GHz m5?

    I hate having a computer warm on my knees, so I tend to buy the m5 to 1.2 GHz. However, I wonder what it is ' has really a lot of difference in actual use. Someone at - it a glimpse of this?

    Thank you!

    Hi Joel, any CPU which is clocked to run at a higher speed will have a slightly higher temperature if both the Broadwell Core M in 2015 Macbook and Skylake processor in the Macbook from 2016 offer low quantity of heat compared to the current MacBook Pro line. If you are still worried I recommend to visit an Apple store or dealer with a MacBook running all day to feel authorized intrados.

  • The message "requires the more recent than the installed version of OS service pack" when you try to install the CA's security program

    Original title: new pc and installation of my security program.

    The message "requires a more recent than the installed version of OS service pack" continues to show when I want to install my program files of security of this technology to my new computer. What should I do? Automatic update that happened but has not changed things.

    Are you sure the Antivirus you are using is compatible with Windows 7?

    What version is this?

    See the developers website for compatibility with Windows 7 and if there are updates, corrections or difficulties that might ensure compatibility.

    Windows 7 Compatibility Center

    Check if your application software or hardware is on the list

    http://www.Microsoft.com/Windows/compatibility/Windows-7/en-us/default.aspx

    Software:

    http://www.Microsoft.com/Windows/compatibility/Windows-7/en-us/default.aspx?type=software

  • Why is the 200 GB $44.99 a plan inherited from year more expensive than the monthly plan the new 200 GB $2.99 a month plan ($35,88) - what's the catch here?

    Why is the 200 GB $44.99 a plan inherited from year more expensive than the monthly plan the new 200 GB $2.99 a month plan ($35,88) - what's the catch here? is there a reason why the new plan is less expensive? they are trying to phase out the inheritance plan? is there a difference in storage w the new plan and the legacy for the difference in price (of the problems of the different devices w - computer laptop Mac, iPhone, iPad?)

    The only difference is that it is charged monthly.

    As shown in the following, you may be able to increase your storage space or reduce your costs by opting for the monthly package. Annual storage iCloud - Apple Support plans

  • I need more info on the Windows XP Professional x 64 edition

    I have two copies of a Windows XP Professional x 64 Edition operating system and would like more info on this OS, which it is intended, who can use it and under what conditions are required for usage.  each disc has the following information about it:

    English
    Microsoft Windows XP Professional
    x 64 edition
    (Required product key)

    June 2006

    Systems

    Media/student work
    The Home Media

    All use subject to volume
    license agreement.  Do
    not make illegal copies
    This disc.  No detail
    or OEM Distribution.  Not
    for resale.

    Microsoft licenses

    http://Windows.Microsoft.com/en-us/Windows-XP/help/setup/Windows-XP-Professional-x64-Edition-FAQ

    http://Windows.Microsoft.com/en-us/Windows-XP/Setup/Windows-XP-Professional-x64-Edition-Overview

    These articles should help you understand XP Pro - x 64

  • [11] ask for more info about the records, research and the Datagrids

    Hello

    I'm looking for info on the records, research and the Datagrids, I can't find a lot of research on the web.

    Thanks a lot if yo u can help.

    The FNDLOAD program creates scripts ldt is the kind of script you want to say. You issue a command to the program that tells it what kind of Application Oracle configurations you want to transfer to another instance and creates the script ldt that you use the target instance.

    See Support Oracle Note 274667.1 for orders to move configurations because I never used to move the datagrids.

  • Satellite M60: printed image is much more yellow than the image on the screen

    I use a printer Hewlett - Packard PSC 750 with my Toshiba M60. Problem is when I print a picture, it is much more yellow than what is on the screen of what is printed. The problem is not moved with my old Packard Bell.

    Someone at - it a solution?

    Hello

    I agree with Stefan and I can't imagine that this is not because of the laptop. You should check all the print settings.

  • IMAQ Overlay - more uniform than the image sensor

    Hi, I have a certain problem that could be more aesthetic than problematic.

    IMAQdx Grab runs in a loop, acquisition of the images in real time, which are then treated in this loop, and finally some calculated the points are superimposed on the image. The last thing I've done in this loop is to send the picture to overlay to an image of front control, so that the user can see the results superimposed on the image in real time.

    However, the image is mainly image appears without results superimposed so they appear only once in a while, very "flickery,". However, the results are well calculated for each image. If I use a probe to look at the purple image wire just before moving the witness in the block diagram, the probe constantly displays the lines superimposed flicker.

    I hope that I was a semi-claire, or see the attached picture. Does anyone have any idea why this might be?

    Thanks in advance

    Where did you clear collection to remove the previous measures? It is best to place before new overlay to labview more time to show.

    Maybe I'm wrong, but indicator can be only one command to display image and design occurs in the separate thread later.

    And probe creates the copy of the image data when it is called and did not progress until she's copying finishes. I prefer to do it manually with image: have a separate image display buffer (Create image.vi) and copy after all treatments and overlay is made (copy image.vi).

  • Is there a microsoft version of allows solitairethat you win more often than the 11% of the time the fact of the standard version of Vista?

    It is a version of Microsoft's Solitaire that allows you to earn more than 11% of the time than the Vista standard game came with my laptop?

    Hi George Durkin,.

    There is no alternative version of Microsoft's Solitaire.

    For more information, you can consult the following article:

    Learn more about the games in Windows Vista

  • What standard user is more secure than the administrator?

    Currently I use a microsoft administrator account to use features of windows 8

    and I created a local administrator account, just in case where my hotmail account becomes unavailable (virus or other)
    Is it a good idea to turn the account of the tail (daily use) on a standard account for safer surfing?, can I avoid malware or wht other benefits practicl I'd get by opting for a standard account, while leaving the local account as an emergency solution administrator?
    Is this a good idea or another combination would be better?

    But if an administrator is infected, others will also suffer same infections with a few exceptions for personal & preferendces folders, right?

    If the infection is bad for an administrator of the computer does not restart for others, no?

    It's all depends on the infection/infestation.  More focus on the access of the user and once then they may have a specific task - if they can perform this task - they do not need infection/infestation of someone else on the machine.

  • More recent than the version 3.5.0 PG block on all devices!

    Hello. If I update the version of PG in the file config.xml for anything more recent that the 3.5.0 version my application crashes on devices Android and iOS. Unfortunately, my mobile says "< application name > has stopped." He doesn't even get as much as the splash screen.

    I tried the config affecting all versions up to cli - 6.0.0 but without a bit of luck. Now that Google/Apple is about to release 3.5.0 apps I need to work on what's gone wrong.

    Any suggestions please? Thanks in advance.

    Gary.

    BTW, I'm just using standard plugins and BMPS service.

    < gap: plugin name = "org.apache.cordova.console" / > "

    < gap: plugin name = "org.apache.cordova.device" / > "

    < gap: plugin name = "org.apache.cordova.dialogs" / > "

    < gap: plugin name = "org.apache.cordova.geolocation" / > "

    < gap: plugin name = "org.apache.cordova.inappbrowser" / > "

    < name of the ditch: plugin = "org.apache.cordova.network - information" / >

    < gap: plugin name = "org.apache.cordova.vibration" / > "

    < gap: plugin name = "org.apache.cordova.splashscreen" / > "

    < name of the ditch: plugin = "guidance org.apache.cordova.device" / >

    Seems to be a bug on android cordova caused by your empty BackgroundColor preference.

    Add a value y. created a bug report.

    Docs

Maybe you are looking for

  • Limit Internet users

    Hello, I wanted to ask if this is something that could be done through the application server or just the firewall. I have the server running the DHCP protocol for users in the office, that's why I wanted to know if I can maybe the server did not ass

  • My Assistant contact something and now my monitor image is upside down. Need a fix

    All of a sudden my monitor has changed when the key Board has been moved.

  • by using the Simulator 2.0 playbook, which is the password?

    Hello We have updated the Simulator 2.0 playbook, open VMware: file > open the virtual machine > BlackBerryPlayBookSimulator.vmx and run it. At the start of Simulator to request a password, which is the password? Thank you

  • Problem reinstalling Windows product key

    I recently had to replace my hard drive of my computer toshiba laptop and I reinstalled windows 7 but when I try to enter the product key on the sticker on the laptop the windows installation program tells me that the product key does not match curre

  • How to complete the police (not shadow) with color?

    I've been struggling with this for too long. I can't get the main font color space - it will only fill in the grey area. How isolate and fill the white space of main policies? (Please explain in detail, sorry, I'm new to Illustrator):I tried a clippi