Skip to content
Alan Renouf edited this page Nov 10, 2016 · 11 revisions

#Welcome to the PowerCLI-Example-Scripts wiki!

This wiki serves as a way to provide general documentation and usage of the items loaded in this repository.

##Table of Contents

##How to run the pester tests

The below is an example of how to run a test using PowerCLI Core:

docker run --rm -it \                                               
  -v ~/Dropbox/VMware/PowerCLI-Example-Scripts:/tmp/scripts vmware/powerclicore powershell 'Invoke-Pester -Script @{ Path = "/tmp/scripts/Pester/Test Connection to VC.ps1"; Parameters = @{ VCNAME="10.160.78.212"; VCUSER="Administrator@vsphere.local"; VCPASS="Admin!23"} }'

Clone this wiki locally