Script out VM Tools 'Not running and not installed'

Hi all

I am using a script out VMs where VM tools is not installed or does not... I use the following code. It comes out all the list including toolsok and toolsold... and also has some empty fields in the output.

I don't know there's a bug in my where statement out there... Pls help!

Get - vm | {ForEach-Object
$vm = get-view $_.ID | where {$_.guest.toolsstatus - not "toolsOk" - or "toolsOld"}
$vms = "" | Select-Object VMName, VMState, ToolsStatus, ToolsVersion
$vms. VMName = $vm. Name
$vms. VMState = $vm.summary.runtime.powerState
$vms. ToolsStatus = $vm.guest.toolsstatus
$vms. ToolsVersion = $vm.config.tools.toolsversion
$Report += $vms
}
$Report | ConvertTo-Html-title "VMware Tools out of Date, not installation and does not"-body "< H2 > VMware Tools out of Date, do not install and run not < / H2 > ' | Out-file - add $filelocation

Screenshot of output is attached...

Thank you

VMSavvy...

Your original script becomes

$report = @()
$fileLocation = "C:\test.html"
Get-View -ViewType VirtualMachine | where {"toolsNotInstalled","toolsNotRunning" -contains $_.Guest.ToolsStatus} | %{
    $vms = "" | Select-Object VMName, VMState, ToolsStatus, ToolsVersion    $vms.VMName = $_.Name
    $vms.VMState = $_.summary.runtime.powerState
    $vms.ToolsStatus = $_.guest.toolsstatus
    $vms.ToolsVersion = $_.config.tools.toolsversion
    $Report += $vms}
$Report | `ConvertTo-Html -title "VMware Tools Out of Date, Not Installed and Not Running" -body "

VMware Tools Out of Date, Not Installed and Not Running

" | `Out-File -Append $filelocation Note that the script only uses the Get-View cmdlet, this will make it considerably faster than your original version.

Tags: VMware

Similar Questions

  • Print Spooler service is not running and cannot install a new printer

    My print spooler service is not running and the computer will not let me install a new printer. How can I fix it?

    Hi John,.

    What is the number and the model of your printer?

    You can try running the fixit of the printer and check.

    Diagnose and automatically fix problems printing and printer

    You can also consult the following articles and check.

    Printer in Windows problems

    Resources for the resolution of the printer in Windows XP problems

  • VMware tools not installed

    I installed 2 5.0 esxi servers. I installed a Server 2008 r2 on the esxi server. I can't stop or to do anything whatsoever in the toolbar. I have cliick innovations in the window to the mouse in the virtual machine. So I know that the tools are not installed or does not. I looked on all the menus and that you can find no option to install tools. the error is the guest OS can not be stopped because VMware Tools is not installed, running does not, or does not. How to solve this problem?

    If you open a console prompt, you should see the toolbar superior VM-comments-installation/upgrade at level of VMware Tools

  • Get the Guest OS family and full name of PowerCLI VM Tools not installed OS?

    OK, been looking for this one, but need help...  If a virtual computer is turned off, or do not have installed VMware tools you can not get the OS or OS full name family?  Who can simply not be right... it's in the VMX file, in the UI Client VI, PowerCLI must so be able to get some how, right?  Someone has tackled this one!  Right?

    Partly right.

    The operating system that you see in the VIC or the VMX is what the creator of the host defined during the creation.

    It corresponds with the parameter - ID on the New - VM cmdlet.

    For more information on this ID, see errors during the GuestIDs of New - VM specification .

    The problem is that the creator of the prompt can define what he wants here, it does not match with the actual OS installed on the client!

    You can get this entry like this

    (Get-VM  | Get-View).summary.config.guestFullName
    
  • VMWare not Tools not install the driver of ThinPrint

    I have a horrible time trying to get printers accessible to a guest operating system Win98 host machine; Installation of the VMWare Tools on the guest operating system Win98 is just not give the ability to install a printer driver... VMX file is attached at the end of the file if necessary control.

    VMWare Tools Installation.jpg

    Any ideas?

    As much I KNOW Thinprint does everything simply not work with Win98 VM
    or let me put it this way - I have not heard of any success yet

    cant, you use the good old fashioned way of sharing a printer over the network?

  • Try to get a cd of windows game to run and once installed it when I click on the short cut this happens "Application failed to initialize properly 0xc0000135" what to do?

    I have the desktop icon and everything looks ready, but when I click on it it just said above.

    Hi Russell,

    ·         What game are you talking about?

    ·         Do you know if the game is compatible with Windows XP?

    Sometimes, this can happen if the shortcut is corrupt. Try to run the game from the start menu or from its original location.

    a. Click Start. Click on my computer.

    b. open the drive root that is a drive where Windows is installed.

    c. open the Program Files folder and locate the folder of the game program.

    d. open the program folder and launch the program by double-clicking on the boot file (.exe).

    Respond with more information so that we can help you best.

  • VMWare Tools installed and not installed...

    3.5.0u4 ESX3i

    I created a Ubuntu VM. Then I added VMWare tools via the settings / installation/upgrade of VMware Tools

    (in the "status, if reported panel installation has succeeded).

    Yet, when I look in the summary of this Ubuntu VM tab, it says:

    VMware Tools: not installed

    Why is it (a power power off of the virtual machine does not change it)?

    ndhert wrote:

    I created a Ubuntu VM. Then I added VMWare tools via the settings / installation/upgrade of VMware Tools

    What you were doing just before the guest system the VMware Tools CD .iso image file. On the host Windows installation should start automatically. For Linux, you will need to mount the CD, copy the files from there to the directory and use the .tar and .rpm to install the tools.

    Read this:http://pubs.vmware.com/vi3i_e35u2/admin/BSA_Creating_VMs.14.8.html

    AWo
    VCP / VMware vEXPERT 2009

    \[:o]===\[o:]

    = Due to a lack of employees, human beings humans are working here. -Treat it with care, they are rare. =

  • Administration of BI tool, not opening not RPD in online mode

    Hello

    We had 11.1.1.7.0 OBIEE on 6 OEL. (64-bit). Recently, we have applied the patches 18057570 and 16569379 and upgraded to 11.1.1.7.1.4.  After that, we uninstalled the older version of the tool of administration and re installed the new version. Now, the version of the admin tool is 11.1.1.7.14 but when I try to open the repository in connected mode, the button is grayed out open. Why? I missed something?

    Thank you

    Did you create the odbc with the server/host name where you have installed your obiee and tested the connection?

  • S5200-902 - common Modules are not installed

    Hello

    I have just re-built a S5200-902 from zero (new hard drive & fan) installed WinXP SP2 and then found out I have not installed the Toshiba s/w in the right order. Is it possible to get the common Modules on the laptop without having to re - install from the beginning again? I uninstalled all the Toshiba downloads I see I put on it, but still won't take the common Modules.

    Suggestions are greatly appreciated.

    Thank you

    DuncanM

    Hello

    If you use the restore CD for the installation of the OS all the necessary drivers and tools must be preinstalled. If you are installing SP2, it is possible that some tools or drivers do not work properly.

    If you install OS from Microsoft full version CD it is very important to install common modules first. In my opinion, you should install new OS.

  • VMware Tools for ESXi not in running and not installed

    (nested) Tools of ESXi does not.

    I installed an ESXi 5.5 nested on a physical and installed 5.5 ESXi host tools on the virtual ESXi5.5.

    However both the client c# as the Web Client report not (not running, not installed) tools.

    When I type 'list of software esxcli vib', I see the esx-tools-for-esxi in the list.

    I have attached the vmware.log for the nested ESXi, I use nesting for several years only and had no problems.

    Thanks in advance

    You are hiding the fact that you run in a virtual machine, if the tools do not start.  Shut down the virtual computer, remove this line from your configuration file and restart:

    monitor_control.restrict_backdoor = true

  • Windows Update for Vista family 32-bit premium does not update all. 57th error and sku011.cab for office 2003. Malicious tool not updated. Stays on the list was updated even after having managed States.

    Office 2003 sp3 do not install in windows update. It is a 108.2 MB file, no kb #. Under 2 other 2003 office updates. KB977713 for office outlook and for office 2003 update kb907417. 57F error message comes out after having failed in windows update. Sku011.cab missing error comes just after process fails at the end of the attempt to update for the updated 2003 3 office. Tool kb890830 in windows update to install malicious but indicates successful when finished. Returns to windows update to install. All other above mentioned updates show missed.

    Thanks for your time,

    Vincent Ciaramella

    The malicious software removal tool does not use an installer. As a general rule, when you run the malicious software removal tool, it creates a temporary directory named at random on the root of the drive of the computer. This directory contains several files, and it includes the Mrtstub.exe file. Most of the time, this folder is automatically deleted after the tool to the end of execution or the next time that you start the computer. However, this folder may not always be automatically deleted. In these cases, you can manually delete this file, and this has no adverse effect on the computer.

    Visit the Microsoft Solution Center and antivirus security for resources and tools to keep your PC safe and healthy. If you have problems with the installation of the update itself, visit the Microsoft Update Support for resources and tools to keep your PC updated with the latest updates.

    With regard to the Office updates:

    http://www.Microsoft.com/downloads/details.aspx?displaylang=en&FamilyId=1B0BFB35-C252-43CC-8A2A-6A64D6AC4670 seems to be an update very old "update for Office 2003 (KB907417)"

    With regard to the http://www.microsoft.com/downloads/details.aspx?displaylang=en&FamilyID=da24d44b-4d6e-4bcd-b7cd-ca56bf6c0ba7
    Update for the junk e-mail in Outlook 2003 (KB977713) filter

    Have you tried manually download KB977713 and install the same.

    Sometimes, however, it still doesn't work: full-file version update may request Office source files
    http://support.Microsoft.com/kb/840169

    TaurArian [MVP] 2005-2010 - Update Services

  • How can I get my flash drive to work? When I install, Windows does not recognize it. In addition, I can't run windows updates and my Install.exe is not responding

    Since I installed Norton I had problems with my computer. I uninstalled it to see if anything works. No luck.

    Since I installed Norton I had problems with my computer. I uninstalled it to see if anything works. No luck.

    Try this. First of all, download and run the utility to remove Norton from the link below.

    Norton removal tool. (click on your version of norton to download the tool).

    https://www-secure.Symantec.com/Norton-support/JSP/help-solutions.jsp?docid=20080710133834EN&product=home&PVID=f-home&version=1&LG=en&CT=us

    Then reinsert your USB key after a few reboots to see if it is recognized. If this is not the case, refer to the procedure described in the link below.

    USB drive not recognized xp.

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

    Also, click on Start, run, type ""services.msc ' in the Run dialog box. " Click on 'ok '. Scroll down to "Background Intelligent service". "" Right-click on the service and select Properties. The service is in the started state? If this is not the case, click the button to start the service and the value manual starttype.

    Regarding Windows Update problem, first check your level of service pack for xp by clicking Start, run and type of dialog box running 'winver '. If your service pack is sp3, skip this step and try to reset the windows update components. Refer to the link below to get the procedure.

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

    If you don't have XP SP3 installed, you can download and install from the link provided below.

    Windows XP SP3

    http://www.Microsoft.com/en-US/Download/details.aspx?ID=24

    If have any questions, post here on this thread. Good luck.

  • My Windows XP home has lost, it is the function of help when I go to help & Support it says a system service is not running and then said go to the Support & Help! ?? Catch 22. Thank you, Dennis Australia

    When I go to help & support it says a system service is not running and then said go to support &! ??
    Catch 22.
    Thank you, Dennis
    Australia

    Go to: Control Panel, administrative tools, Services, double click on help and Support.

    Startup type: automatic

    Service status: click on start, click on apply, click OK

  • After upgrading Office 2003 to Office 2010, when rebooting, open a window of choce of windows update, if you select do not do updates, wauclt.exe runs and the pigs, cold start pc is required

    After upgrading Office 2003 to Office 2010, when rebooting, open a window of choce of windows update, if you select do not do updates, wauclt.exe runs and the pigs, cold start pc is required to restart or allow time (about an hour) for wuauclt stop execution and free PC - our aim here is to bundle 2010 via ZEN na enter the beam perfectly - this popup must be eliminated

    Hi Pops1148,

    ·         Is the question not confined with updated Microsoft Office?

    Follow the suggestions below for a possible solution:

    Method 1: You can follow the steps in the article in the Microsoft Knowledge Base and check if it works.

     

    Troubleshooting Windows Update or Microsoft Update when you are repeatedly offered an update

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

    Method 2: Try the SFC (System File Checker) scan on the computer.

    To run the System File Checker tool, follow these steps:

    a. click Startand type cmd in the box start the search .

    b. right click on cmd in the list programs, and then click run as administrator.

    c. If you are prompted for an administrator password or a confirmation, type your password or click on continue

    d. at the command prompt, the following line and press ENTER:

    sfc/scannow

    Reference:

    Description of Windows XP and Windows Server 2003 System File Checker (Sfc.exe)

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

     

    File system (CFS) Checker

    http://www.Microsoft.com/resources/documentation/Windows/XP/all/proddocs/en-us/system_file_checker.mspx?mfr=true

    Method 3: I also suggest that you scan your computer with the Microsoft Security Scanner, which would help us to get rid of viruses, spyware and other malicious software.

    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.

     

    http://www.Microsoft.com/security/scanner/en-us/default.aspx

     

    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: While hard disk analysis if bad sectors are found when scanning try to repair this area, all available on which data can be lost.

    Let us know if that helps.

  • I installed acrobat reader in window10 and demoted to the 8.1 window. After downgeading 8.1, acrobat reader does not run and also do not uninstall and reinstall. Only, I get the error message. What should I do?

    I installed acrobat reader in window10 and demoted to the 8.1 window. After downgeading 8.1, acrobat reader does not run and also do not uninstall and reinstall. Only, I get the error message. What should I do?

    Hi soyoungl9536964,

    Please try to run the cleanup tool "Download Adobe Reader and Acrobat tool - Adobe Labs" on your machine to remove all traces of the reader.

    Then, restart your machine and install the latest version of the player from here:

    Adobe Acrobat Reader DC install for all versions

    Let me know if any problem will persist.

    Kind regards

    Christian

Maybe you are looking for

  • Question of compatibility of Toshiba Portege R830 - 1 8 RAM

    Hi all I know someone who owns a portege R830 - 1 8. He asked me, if my laptop RAM is compatible with your laptop. He did inside the laptop 2 gb 1Rx8 PC3 - 10600 S - 09 - 11 - B2. My RAM is 4 GB 2Rx8 PC3 - 12800S - 11 - 12 - F2.1600. Can he use my RA

  • move the contacts from one account to another iCloud

    My iCloud account is created and bound to a business e-mail address. I also have my account linked to my personal email address (for iTunes) apple staff. I'm leaving this work and want to transfer all the data from iCloud my iCloud account of work ac

  • Pictures are cropped, is there a setting screen adjustment?

    My photos are cropped when I look on my all new Air 2, is there a setting to make it seen like a "fit to window"?  Thanks in advance.

  • Build the executable with WSN

    Salvation OR engineers, How can I deploy the WSN library in an executable file? Thanks in advance, Luiz

  • game does not open

    I downloaded a game and it worked the first time I've used it but when I went to open it a second time, that is to say that I can't run this game multilpe programs if it really say that the game is already open is not. What I can do and I don't reall