Mark Minasi's Reader Forum
Mark Minasi's Reader Forum
Home | Profile | Register | Active Topics | Active Polls | Members | Search | FAQ | Minasi Forum RSS Feed
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 OTHER HALP! Linux, Hardware, and Anything Else
 All things Virtual!
 Collecting Data via scripts?
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

nentwich
Seasoned But Casual Onlooker

32 Posts
Status: offline

Posted - 05/23/2012 :  3:12:19 PM  Show Profile  Reply with Quote
Everyone,

I am in the process of starting the upgrade process of my company's VSphere 4.1 env to VSphere 5.0. I have over a 1,000 plus guest machines running in my environment.

Before the upgrade I need some information about my guest OS such as version of the VMWare tools that are running on the guest OSs, virtual machine version and etc. I wanted to know if anyone could point me toward some scripts which can gather this information about my env for me?

Thanks in advance for everyone's help.

Joel Nentwich

Playwell
Honorable But Hopeless Addict

Netherlands
4821 Posts
Status: online

Posted - 05/23/2012 :  3:42:09 PM  Show Profile  Visit Playwell's Homepage  Click to see Playwell's MSN Messenger address  Reply with Quote
take a look at the free quest powershell powergui. They have in built scripts for those inventories.

www.quest.com/powershell

'People who think they know everything are a great annoyance to those of us who do. '
Quote by Isaac Asimov


Go to Top of Page

JSCLMEDAVE
Administrator

USA
6116 Posts
Status: online

Posted - 05/23/2012 :  3:50:53 PM  Show Profile  Visit JSCLMEDAVE's Homepage  Click to see JSCLMEDAVE's MSN Messenger address  Reply with Quote
What Ton said and also get the snap-in for PowerCLI

Here are a couple links
PowerGUI® Pro and PowerGUI® 3.0 are now available
http://poshoholic.com/2011/07/15/powergui-pro-and-powergui-3-0-are-now-available/

Five must-have vSphere PowerCLI scripts
http://searchvmware.techtarget.com/news/1508618/Five-must-have-vSphere-PowerCLI-scripts

10 Steps to Kick-Start Your VMware Automation with PowerCLI
http://www.simple-talk.com/sysadmin/virtualization/10-steps-to-kick-start-your-vmware-automation-with-powercli/

Tim-

“This too shall pass"
Go to Top of Page

jaxdave
Honorable But Hopeless Addict

USA
2426 Posts
Status: offline

Posted - 05/23/2012 :  10:04:40 PM  Show Profile  Reply with Quote
once connected to your vcenter you could run something like this. This targets a particular datacenter and will export out to csv for you.

Get-Datacenter Datacenter name | Get-VM | Select Name, Version, ToolsVersion, ToolsVersionStatus | Export-Csv -NoTypeInformation -UseCulture -Path C:\Temp\MyvmtoolsInfo.csv

cheers
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
Mark Minasi's Reader Forum © 2002-2011 Mark Minasi Go To Top Of Page
This page was generated in 0.12 seconds. Snitz Forums 2000