Files
PowerCLI-Example-Scripts/Modules/VMware.vSphere.SsoAdmin
dmilov fb641c8a1c License PowerCLI-Examples-Scripts repository under BSD-2 Clause (#462)
As part of the VMware open source program, we have to update this repository with the correct license and copyright information.
We add the BSD-2 Clause License for this repository.
We mark all source code provided by VMware with the Copyright notice under BSD-2 Clause license.

* Update repository license to BSD 2-Clause License

* Update Copyright
2021-06-07 09:58:47 +03:00
..
2021-05-26 11:11:13 +03:00
2021-02-17 11:12:14 +02:00

PowerCLI Example module for managing vSphere SSO Admin

This module is combination of .NET binary libraries for accessing vSphere SSO Admin API and PowerShell advanced functions exposing cmdlet-like interface to the SSO Admin features.

The module supports PowerShell 5.1 and PowerShell 7.0 and above.

Install-Module VMware.vSphere.SsoAdmin

Using the source code

'/src' directory

This directory contains the .NET binaries sources code and Pester integration tests that cover both the binaries and the module advanced functions functionality.

Required build tools

  • PowerShell 7.0
  • dotnet sdk

Required test tools

  • PowerShell 7.0
  • PowerCLI 12.0
  • Pester 5.0.0

'/src/build.ps1' script

The script builds the binaries and publishes them to the 'net45' and 'netcoreapp3.1' directories of the module.

It has also the option to run module Pester tests. The optional parameters for VC server and credentials has to be specified in order the script to run the tests. Tests run in separate PowreShell process because PowerShell has to load the module binaries which are build output.

'/src/test/RunTests.ps1' script

This script can be used to run the tests