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.
very useful.
Have a look at VMware vSphere™ PowerCLI Forum.
can we use it for esx 3.5 and VC 2.5 and not just vsphere
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
here's something else worth checking out.
...but yes PowerShell can be used for VI3 as well.
Here is another link that's worth checking out:
http://blogs.vmware.com/vipowershell/
NedeianuV
MCP,VCP