remove minimum version of PSAtera module

This commit is contained in:
2021-10-04 17:03:54 -04:00
parent 9cf0db6652
commit 8e3ff00546
+1 -1
View File
@@ -487,7 +487,7 @@ function Install-PSAteraModule {
$module = Get-Module -ListAvailable -Name PSAtera
If ( (-not $module) -and (IsAdmin) ) {
LogMsg "Installing PSAtera Powershell module"
Install-Module -Name PSAtera -MinimumVersion 2.8.5.201 -Force
Install-Module -Name PSAtera -Force
}
ElseIf ( (-not $module) -and (-not (IsAdmin)) ) {
LogMsg "The PSAtera module needs to be installed, but the current security context is not sufficient to install it"