PowerCLI Core Dockerfile
Switch branches/tags
Clone or download
tsugliani Friendly Sized image Dockerfile
Signed-off-by: Timo Sugliani <timo.sugliani@gmail.com>
Latest commit e3e1257 Oct 17, 2018
Type Name Latest commit message Commit time
Failed to load latest commit information.
docs Update docs... Apr 11, 2018
.gitignore Adding .gitignore template Oct 28, 2016
Dockerfile moved examples to /usr/lib/powershell/Modules, since the usr/local/sh… Oct 12, 2018
Dockerfile.minimal Friendly Sized image Dockerfile Oct 16, 2018
LICENSE.txt License Update Nov 8, 2016
README.md Update docs... Apr 11, 2018


PowerCLI Core


This Docker image contains PowerShell Core, PowerCLI 10, PowerNSX, and a number of community modules and script examples

For detailed information on how to use the container have a look at the docs.

For more information, visit the following links:

PowerCLI PowerNSX PowerVRA PowerCLI-Example-Scripts

Quick usage

Run the following to download the container from the docker hub:

docker pull vmware/powerclicore

To open an interactive Terminal and run:

docker run --rm -it vmware/powerclicore

Or to just execute a local script run:

docker run --rm --entrypoint="/usr/bin/pwsh" -v ${PWD}/scripts:/tmp/scripts vmware/powerclicore /tmp/scripts/sample1.ps1

Where "/scripts" is a local folder cointaining your scripts.

More options for working with and running the container can be found here: (http://www.virtuallyghetto.com/2016/10/5-different-ways-to-run-powercli-script-using-powercli-core-docker-container.html)