Does anyone have a Powershell script to pull VM name and "VMware Tools are not up to date, some functionality may be affected" from job logs? I would like to pull a list of all the VMs with VMware Tool versions that we need to update.
Thanks!
-
- Veteran
- Posts: 316
- Liked: 48 times
- Joined: Apr 07, 2015 1:53 pm
- Full Name: James Wilmoth
- Location: Kannapolis, North Carolina, USA
- Contact:
-
- Product Manager
- Posts: 20415
- Liked: 2302 times
- Joined: Oct 26, 2012 3:28 pm
- Full Name: Vladimir Eremin
- Contact:
Re: cmdlet or script to grep log info for VMware Tools not up to date
You will need to parse task session log, using the given phrase as filter query. Thanks!
-
- Influencer
- Posts: 19
- Liked: 5 times
- Joined: Oct 26, 2017 12:52 pm
- Full Name: Max Kozlov
- Contact:
Re: cmdlet or script to grep log info for VMware Tools not up to date
May be the Powercli is better for this task ?
Code: Select all
Get-VM | Where-Object {$_.ExtensionData.Guest.ToolsStatus -eq 'toolsOld' }
Who is online
Users browsing this forum: Majestic-12 [Bot] and 12 guests