Welcome to ISUPPORTYOU.NET

    Enter your email address:

    feedburner

    Delivered to your INBOX

    I hope this blog is useful to all of you. Please send your ideas and queries to charan@isupportyou.net
    Regards
    Narayana Charan.B
    VCP4, MCSE, SCSA

Translate this page

CitrixXD (2) Hardware (6) HyperV (2) Jobs / Walkins (7) Latest (17) Tech News (5) Videos (31) VMWare (43) VMwareVDI (2) Windows (26)

vSphere : PowerCLI Getting Started

Hello Guys,

This being my first article on Let's support, I would like to take this opportunity and pay homage to our excellent blog author Narayan to present me this wonderful chance.

Being a VMware (VMW) and Linux Admin, I've always been fascinated to work on command line utilities (black and white window :)). Mousing around your screen and doing tasks with just lame clicking around are just the right things which frustrate me. For some time now, I've been looking to automate and standardize ESX tasks with scripts and save some productive time for other important tasks.

While attending one of the promo sessions from VMW, I was introduced to PowerCLI, the next big command line utility from VMW. PowerCLI gives you the flexibility to connect and work on ESX / ESXi / Virtual center level. PowerCLI is powered and based on Windows PowerShell (works on XP and above). In this article I would like to share my experience with PowerCLI and also help you to install and getting started with PowerCLI.

I hope to have subsequent articles on PowerCLI based on the feedback, suggestions, comments and understanding on this article.

To start with we must have a look at the basic requirements to have PowerCLI installed on your system. I'll be generally talking about the latest version of PowerCLI - vSphere PowerCLI 4.1.

To install vSphere PowerCLI, you need:
- .NET 2.0 Service Pack 1
- Windows PowerShell 1.0 or Windows PowerShell 2.0 Release To Manufacture (RTM).

PowerCLI  works on the 32-bit and 64-bit versions of the following operating systems:
- Windows Vista
- Windows XP Service Pack 2
- Windows Server 2003

PowerCLI supports the following VMware environments
- VMware ESX Server 3.5
- VMware ESX Server 3i
- VMware VirtualCenter 2.5
- VMware ESX 3.0 and VirtualCenter 2.0
- VMware ESX 4.0 and vCenter 4.0
- VMware ESX 4.0 Update 1 and vCenter 4.0 Update 1

If you are using Windows XP / 2003, you will have to explicitly install Windows Power Shell by downloading it from Microsofts Website http://www.microsoft.com/windowsserver2003/technologies/management/powershell/download.mspx After downloading Powershell run the exe file and Powershell gets installed as easy as anyother Windows based application. In some cases it is required to reboot your system.

imageNow that we have Powershell installed and working, we should move ahead with PowerCLI installation. Firstly you would need to download the installable from www.vmware.com/go/powercli.

I don't think installing the PowerCLI exe file would be such a tedious task. Run the exe file and follow the instructions in the Wizard and wow the instillation is done. Pretty fast and Simple!!

Continued.....

-------------------------------------------------------------------------------------------------------------------------

image With this informative post, I would like to introduce my friend Mr.Amit Patange to my blog as a co-author. He is a VMware Certified Professional, and working as VMware and Linux Admin. He has a very good exposure in the command line level of UNIX & VMware (you know it by reading his first post.. :) ). Amit its my pleasure to introduce you to my readers. Keep posting wonderful articles like these. Your efforts will be always appreciated.

Guys if you have any queries you can contact him through amit@isupportyou.net 

Lets all give him a Big Hand.... Thanks Amit 

Related Posts

0 comments:

Post a Comment

Please add your comment, if you like this article.