vcheck script

For the vcheck script:

http://www.virtu-al.net/vcheck-pluginsheaders/vcheck/

What exactly do I need to download, theres tons of files on the download link? What kind of script is it i.e. what language? And can it be run "remotely", or does it need to be run from the vcenter server itself.
LVL 4
pma111Asked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

mcsweenSr. Network AdministratorCommented:
Click the Get Zip link on the right side of the screen (you need all the files).  Schedule the task to run from task scheduler on a computer with powershell installed.  It doesn't need to run from vCenter.

Looks like you will get a wizard to set it up the first time you run it.  You want to run vcheck.ps1 from a powershell prompt.

You will probably also have to modify the execution level to get it to run.

Set-ExecutionPolicy Unrestricted

Open in new window

0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
pma111Author Commented:
Can you elaborate on how you schedule the task to run, from task scheduler? I am pretty new to this area, I work in risk not vmware team. Does the task scheduler just run the script, essentially? I only want a "one off" report, I dont want to run it each day.
0
pma111Author Commented:
Does it matter where you save the zip file too on disc?
0
Big Business Goals? Which KPIs Will Help You

The most successful MSPs rely on metrics – known as key performance indicators (KPIs) – for making informed decisions that help their businesses thrive, rather than just survive. This eBook provides an overview of the most important KPIs used by top MSPs.

Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
I would recommend using the following, also VMware recommends the use of PowerCLI, which is PowerShell interface with vSphere-specific additions.

http://communities.vmware.com/community/vmtn/server/vsphere/automationtools/powercli

One of the simplest PowerCLI examples, and something which is actually extremely useful on its own, is the Get-VM cmdlet. Which lists VMs.

PowerCLI can be a bit overwhelming to use,  But it can be enhanced with a nice toolset and a library of preconfigured scripts to jump-start your mass changes, which is possible with PowerGUI

http://powergui.org/index.jspa

and

VMware Community Pack

http://www.virtu-al.net/featured-scripts/vmware-powerpack/

It's also worth looking at The free VMware Guest Console

http://labs.vmware.com/flings/vgc

The free VMware Guest Console, an experimental application created by VMware Labs, is a great tool for managing vSphere VM processes and files. You can view, sort and kill processes across all VMs, and you can also run a script on all Windows or Linux VMs.

If you do want a script, LucD (1 of *the* premier PowerCLI gurus; literally co-wrote the book on PowerCLI :) ) provides a script in the following link:

http://communities.vmware.com/thread/271097?tstart=780
0
pma111Author Commented:
I will look into your suggestion in future but for now I just want some assistance in running vcheck "stand alone", and how to get it running once its been downloaded.
0
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
Do you have PowerCLI downloaded and installed ?
0
pma111Author Commented:
Yes and downloaded the zip file
0
pma111Author Commented:
Not sure where the zip needs saving to and extracting
0
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
anywhere on your disk, e.g. c:\scripts

Open and Start VMware PowerCLI

As for your questions:-

For the vcheck script:

http://www.virtu-al.net/vcheck-pluginsheaders/vcheck/

What exactly do I need to download, theres tons of files on the download link?

What kind of script is it i.e. what language?

It's a VMware PowerCLI script, you will need VMware PowerCLI installed.

And can it be run "remotely", or does it need to be run from the vcenter server itself.

It can be run from any computer which has the VMware PowerCLI installed. It does not have to run from vCenter Server.
0
pma111Author Commented:
Any idea how long it takes to run and what format it saves it as? And when you run it the first time are there any paramters it asks you for? Or do you have to hardcode those into the script itself?
0
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
how long it runs depends on environment, but 10sec - 60secs

first time run, it requires some config...

output is html....

see here

http://virtu-al.net/Downloads/vCheck/vCheck.htm
0
pma111Author Commented:
What kind of things are you configuring on the first run?
0
mcsweenSr. Network AdministratorCommented:
You will configure vcenter server name, plugins to use, uid/pwd, things like that.
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
VMware

From novice to tech pro — start learning today.