Update testTaskGate.ps1
This commit is contained in:
@@ -298,7 +298,7 @@ $subHtml
|
|||||||
|
|
||||||
### Get SVSMSP module version to display in the UI
|
### Get SVSMSP module version to display in the UI
|
||||||
function Get-ModuleVersionHtml {
|
function Get-ModuleVersionHtml {
|
||||||
$mod = Get-Module -ListAvailable -Name SVSMSP_Module | Sort-Object Version -Descending | Select-Object -First 1
|
$mod = Get-Module -ListAvailable -Name SVSMSP | Sort-Object Version -Descending | Select-Object -First 1
|
||||||
if ($mod) {
|
if ($mod) {
|
||||||
return "<div style='color:#bbb; font-size:0.9em; margin-top:1em;'>Module Version: $($mod.Version)</div>"
|
return "<div style='color:#bbb; font-size:0.9em; margin-top:1em;'>Module Version: $($mod.Version)</div>"
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user