VMWareAutomate.psm1
<#
.SYNOPSIS -Taylor Lee Modified 06122019 .DESCRIPTION Module for Admin Toolbox #> ##Import Functions $FunctionPath = $PSScriptRoot + "\Functions\" $FunctionList = Get-ChildItem $FunctionPath -Name ForEach ($Function in $FunctionList) { . ($FunctionPath + $Function) } #Import Vmware Module Import-Module Vmware.PowerCLI #Present Information on Module Import Write-Host "Type Get-VMwareAutomate to get Commands" -ForegroundColor Green Write-Host " " Write-Host "Connect to Host or Vcenter before using Functions" -ForegroundColor Yellow Write-Host " " |