diff --git a/testTaskGate.ps1 b/testTaskGate.ps1 index a5b1674..8cbd324 100644 --- a/testTaskGate.ps1 +++ b/testTaskGate.ps1 @@ -296,7 +296,14 @@ $subHtml } - +### Get SVSMSP module version to display in the UI +function Get-ModuleVersionHtml { + $mod = Get-Module -ListAvailable -Name SVSMSP_Module | Sort-Object Version -Descending | Select-Object -First 1 + if ($mod) { + return "