Skip to content

Commit

Permalink
Doc Updates
Browse files Browse the repository at this point in the history
  • Loading branch information
alanrenouf committed Mar 1, 2017
1 parent 47dd0d2 commit 269325c
Show file tree
Hide file tree
Showing 3 changed files with 49 additions and 13 deletions.
14 changes: 1 addition & 13 deletions docs/docker_install.rst
Original file line number Diff line number Diff line change
Expand Up @@ -8,16 +8,4 @@ Step 1 Run the following to download the container from the docker hub:

::

docker pull vmware/powerclicore


Launch the container
--------------------

::

docker run --rm -it vmware/powerclicore

More options for working with and running the container can be found here_.

.. _here: http://www.virtuallyghetto.com/2016/10/5-different-ways-to-run-powercli-script-using-powercli-core-docker-container.html
docker pull vmware/powerclicore
6 changes: 6 additions & 0 deletions docs/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,12 @@ Index
mac_install
linux_install

.. toctree::
:maxdepth: 2
:caption: Using PowerCLI

launch

.. toctree::
:maxdepth: 2
:caption: FAQ/Issue
Expand Down
42 changes: 42 additions & 0 deletions docs/launch.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
Launching PowerCLI
==================

Launching PowerCLI from Mac/Linux
---------------------------------

Step 1 - Open terminal

Step 2 - Start Powershell in the terminal by running the following command:
::

powershell

Step 3 - Import the PowerCLI Modules into your PowerShell Session:
::

Get-Module -ListAvailable PowerCLI* | Import-Module

Step 3a - (Optional - Please Read) If the SSL certificates of your vCenter are not trusted by your OS, disable SSL certificate validation for PowerCLI by running:
::

Set-PowerCLIConfiguration -InvalidCertificateAction Ignore

Step 4 - Connect to your vCenter Server using Connect-VIServer
::

PS> Connect-VIServer -Server 192.168.1.51 -User administrator@vSphere.local -
Password VMware1!
Name Port User
---- ---- ----
192.168.1.51 443 VSPHERE.LOCAL\Administrator

Launching the PowerCLI Docker container
---------------------------------------
Open a Terminal and run:
::

docker run --rm -it vmware/powerclicore

More options for working with and running the container can be found here_.

.. _here: http://www.virtuallyghetto.com/2016/10/5-different-ways-to-run-powercli-script-using-powercli-core-docker-container.html

0 comments on commit 269325c

Please sign in to comment.