VMware Cloud Community
Guv
Enthusiast
Enthusiast

Powershell for vmware

I am beginning to learn powershell for our windows servers, but wanted to now if powershell programming can be useful in vmware. I have seen material on vpshere, but we still use esx 3.5 and VC 2.5, and wanted to know if powershell can be used in this version and if there is any good documentation or articles on powershell on VC2.5 and esx 3.5

Also does any one use powershell for vmware.

0 Kudos
5 Replies
Troy_Clavell
Immortal
Immortal

very useful.

Have a look at VMware vSphere™ PowerCLI Forum.

0 Kudos
Guv
Enthusiast
Enthusiast

can we use it for esx 3.5 and VC 2.5 and not just vsphere

0 Kudos
DennieTidwell
Enthusiast
Enthusiast

Do a forum search on LucD and keep reading. Powershell rocks. Search for the "healthcheck" script.

MTCHealthcheck_BS.ps1

Here's some notes to get started

Install .Net, Powershell, VIToolkit

run at PowerShell prompt:

(Once to set) "set-ExecutionPolicy RemoteSigned"

"Add-PSSnapin VMware.VimAutomation.Core"

"Initialize-VIToolkitEnvironment.ps1"

"connect-viserver <VirtualCenterServer>"

"(get-vm GuestName).host.name"

Output:

hosting esx server is output

0 Kudos
Troy_Clavell
Immortal
Immortal

here's something else worth checking out.

http://www.virtu-al.net/

...but yes PowerShell can be used for VI3 as well.

0 Kudos
NedeianuV
Enthusiast
Enthusiast

Here is another link that's worth checking out:

http://blogs.vmware.com/vipowershell/

NedeianuV

MCP,VCP

NedeianuV MCP,VCP
0 Kudos