Skip to content

Files

Latest commit

 

History

History

powercli

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 

PowerCLI

This image on DockerHub

The VMware PowerCLI is a PowerShell module to manage VMware servers like vSphere or vCloud Director. This is the Windows only, but full edition of the vmware/powerclicore image.

See PowerCLI Core vs. PowerCLI for details.

Build

docker build -t stefanscherer/powercli .

Examples

docker run -it stefanscherer/powercli

Connect to your vCloud organization

Connect-CIServer -Server vcloud.domain.com -User username -Password password -Org orgname

Show status of your vDC

(Get-OrgVdcNetwork).OrgVdc

Name                           Enabled CpuUsedGHz      MemoryUsedGB    StorageUsedGB   AllocationModel
----                           ------- ----------      ------------    -------------   ---------------
your-vdc                       True    26.40           20.000          1032.000 (50... PayAsYouGo

Get your vDC name

(Get-OrgVdcNetwork).OrgVdc.Name

Get a list of your vApps

Get-CIVApp

See more examples in the vCloud PowerCLI Documentation