PowerCLI or VI toolkit or Powershell or what packages needed to run ps1 scripts

sunhux
sunhux used Ask the Experts™
on
Q1:
to use of PowerCLI script (those  *.ps1 such as the ones listed
in the links below), what must I install?  PowerShell or PowerCLI
or VI Toolkit package & do I need to have vCentre or vSphere set
up?  Pls provide me the links to download these packages (if I'm
running vSphere or vCentre 5).  Are these packages installed
on the vSphere or vCentre or ESXi host or the individual
VMs?

Q2:
What's the difference between vCentre & vSphere?


Q3:
Do we place these ps1 scripts in the vCentre VM or
insides the ESXi host or ?


http://poshcode.org/3222
http://poshcode.org/2051
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
VMware and Virtualization Consultant
Fellow 2018
Expert of the Year 2017
Commented:
1. 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/


You install this software on your management workstation.

2. vSphere is the VMware virtualisation Brand. e.g. VMware vSphere Hypervisor (ESXi), and VMware vSphere Vcenter Server.


VMware vSphere Hypervsior (ESXi) -
http://www.vmware.com/products/vsphere-hypervisor/overview.html

Some people use the terms VMware vSphere 5.0, which means the licensed combination of the ESX/ESXi server and vCenter Server. e.g. I've got vSphere 5.0!

vSphere vCenter Server is the Management Server.

VMware vCenter Server provides a scalable and extensible platform that forms the foundation for virtualization management. VMware vCenter Server, formerly VMware VirtualCenter, centrally manages VMware vSphere environments allowing IT administrators dramatically improved control over the virtual environment compared to other management platforms. VMware vCenter Server:

    Provides centralized control and visibility at every level of virtual infrastructure

    Unlocks the power of vSphere through proactive management

    Is a scalable and extensible management platform with a broad partner ecosystem


Source
http://www.vmware.com/products/vcenter-server/overview.html

3. The scripts are installed/copied to your management workstation, where you've installed the PowerCLI and PowerGUI.

Author

Commented:
I wanted to download PowerCLI & PowerGUI (for my ESXi & vSphere 5
environment).

When I go to the url you provided ie
http://communities.vmware.com/community/vmtn/server/vsphere/automationtools/powercli

I clicked on the "Download" button on the top left corner
(see attached) but it brings me to another page.

Could you give me the exact url to download PowerCLI & PowerGUI ?
PowerCLIDownloadpg.doc

Author

Commented:
> You install this software on your management workstation
By 'management workstation', do you refer to the vCentre's
VM or it can be any management station which connects
to the vCentre?
Andrew Hancock (VMware vExpert / EE Fellow)VMware and Virtualization Consultant
Fellow 2018
Expert of the Year 2017

Commented:
The workstation you use to connect to VMware vCenter.
Andrew Hancock (VMware vExpert / EE Fellow)VMware and Virtualization Consultant
Fellow 2018
Expert of the Year 2017
Commented:
it's because they keep moving it, this is the download URL for now

Download VMware vSphere PowerCLI 5.0
https://my.vmware.com/web/vmware/details?downloadGroup=PCLI50&productId=229

PowerGUI
http://community-downloads.quest.com/powergui/Release/3.2/PowerGUI.3.2.0.2237.msi

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial