Solved

VMWare and PowerShell References

Posted on 2012-03-19
2
530 Views
Last Modified: 2012-05-15
I am a beginner with powershell and VMware.  I am looking for references, how-to books, tips -n- tricks for learning powershell.  

For example, I need to create a list of what is stored on each datastore.

The rookie would appriciate any guidance with learning how to use powershell with vmware.

I am using vmware 4.0 u2 now.  Soon the planning for upgrading to v5 will start.
0
Comment
Question by:epmmis
2 Comments
 
LVL 118

Assisted Solution

by:Andrew Hancock (VMware vExpert / EE MVE)
Andrew Hancock (VMware vExpert / EE MVE) earned 250 total points
ID: 37739903
Also check out this Book

http://powerclibook.com 

and Lucd's blog

http://lucd.info

Getting Started with PowerCLI 4.1 – Automating Your vSphere Environment
http://communities.vmware.com/docs/DOC-13700

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/


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
 
LVL 23

Accepted Solution

by:
Ayman Bakr earned 250 total points
ID: 37741131
The following are the recommendations from powershell guru:

http://bsonposh.com/book-recommendations-for-joe
0

Featured Post

Does Powershell have you tied up in knots?

Managing Active Directory does not always have to be complicated.  If you are spending more time trying instead of doing, then it's time to look at something else. For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

When converting a physical machine to a virtual machine using VMware vCenter Converter Standalone or vCenter Converter Enterprise, if an adapter type is not selected during the initial customization the resulting virtual machine may contain an IDE d…
A brief introduction to what I consider to be the best editor for PowerShell.
This Micro Tutorial steps you through the configuration steps to configure your ESXi host Management Network settings and test the management network, ensure the host is recognized by the DNS Server, configure a new password, and the troubleshooting…
This video shows you how to use a vSphere client to connect to your ESX host as the root user. Demonstrates the basic connection of bypassing certification set up. Demonstrates how to access the traditional view to begin managing your virtual mac…

911 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now