-
Notifications
You must be signed in to change notification settings - Fork 610
Home
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
- [Pester Tests](https://github.com/vmware/PowerCLI-Example-Scripts/wiki/Pester Tests)
- FAQ
##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"} }'