os:esxi:powercli
This is an old revision of the document!
Table of Contents
ESXi - PowerCLI
Connect
more in this VMware PowerCLI Blog post
Components used in the following examples:
- Windows with installed vCenter Server: myWinvCenter01
- vCenter deployed as VCSA: myVCSA01
- User in vCenter to connect with: myvCenterUser
- Related user password: myvCenterPassword
Windows vCenter Server
Add-PSsnapin VMware.VimAutomation.Core Connect-VIServer myWinvCenter01 #... Disconnect-VIServer -Force -Confirm:$false
vCenter Server Appliance
Credentials have to be stored once per Windows User:
New-VICredentialStoreItem -Host myVCSA01 -User myvCenterUser -Password myvCenterPassword
Add-PSsnapin VMware.VimAutomation.Core Connect-VIServer -Server myVCSA01 -User myvCenterUser #... Disconnect-VIServer -Force -Confirm:$false
os/esxi/powercli.1441282867.txt.gz · Last modified: 2015-09-03 14:21 by root