Solved

VMWare and PowerShell References

Posted on 2012-03-19
2
529 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

Top 6 Sources for Identifying Threat Actor TTPs

Understanding your enemy is essential. These six sources will help you identify the most popular threat actor tactics, techniques, and procedures (TTPs).

Join & Write a Comment

Will try to explain how to use the VMware feature TAGs in the VMs and create Veeam Backup Jobs using TAGs. Since this article is too long, I will create second article for the Veeam tasks.
In this article, I will show you HOW TO: Suppress Configuration Issues and Warnings Alert displayed in Summary status for ESXi 6.5 after enabling SSH or ESXi Shell.
Teach the user how to convert virtaul disk file formats and how to rename virtual machine files on datastores. Open vSphere Web Client: Review VM disk settings: Migrate VM to new datastore with a thick provisioned (lazy zeroed) disk format: Rename a…
Teach the user how to use create log bundles for vCenter Server or ESXi hosts Open vSphere Web Client: Generate vCenter Server and ESXi host log bundle:  Open vCenter Server Appliance Web Management interface and generate log bundle: Open vCenter Se…

744 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

13 Experts available now in Live!

Get 1:1 Help Now