Advertisement Header

Monday, 28 June 2010

How do I put Count Line numbers on an output

Command:
(get-vmhost).count

Output will be like this:
51

(or)

Command : get-vmhost | measure-object

Output will be:
Count : 51
Average :
Sum :
Maximum :
Minimum :
Property :

Thursday, 24 June 2010

To manage more than one VirtualCenter server & ESX at a time

If you want to connect to more than one virtual center at the same time, here the starting code :

$vcs = @()
$vcs += connect-viserver "vc 1"
$vcs += connect-viserver "vc 2"
# You could add many as you need...

# Command example : Snapshot all VMs across all VirtualCenter servers.
get-vm -server $vcs | new-snapshot

Note:-
Be careful, the command GET-VM $VCS will not return the same values than GET-VM.
If you use GET-VM, you will receive the VM List only for the Virtual Center that you connect last. If you want the get all the VM of your different virtual centers, you absolutely need to add the parameter -server $vcs to you command. In a general way, don’t forget to add -server $vcs to every command than you use with the VI Toolkit.

Monday, 14 June 2010

A few notes about the new VCAP certifications

Here's a colleciton of lots of things I've learned about the new VMware Certified Advanced Professional certifications for vSphere 4:

* The DataCenter Administration exam will be 100% live labs
* Your score for the DataCenter Administration exam will not be given immediately on completion of the exam, just like the Enterprise Administration exam for VI3 today
* The DataCenter Administration exam will cost $400, the price for the DataCenter Design exam has not yet been set
* The DataCenter Design exam will be a mixture of multiple-choice questions, and a design exercise, as it is today for VI3
* The testing centres for the DataCenter Administration exam will be expanded to a significantly larger pool than it is today
* The new exams will be scheduled directly with Pearson Vue, only the VCDX design defence will need arranging directly with VMware
* The blueprint documents for the new exams are still in development and will be released soon
* The new exams will not have compulsory training course requirements
* The advanced-level Performance, Troubleshooting, and Security courses are recommended as preparation for the DataCenter Administration exam, the exam content is centred around those 3 key areas
* The vSphere: Design Workshop will be excellent preparation for the DataCenter Design exam, the workshop content covers all of the objectives in the exam
* The beta periods for both exams will begin shortly, and will be invitation-only
* VMware partner requirements will not include VCAP certifications at this time