remove minimum version of PSAtera module
This commit is contained in:
@@ -487,7 +487,7 @@ function Install-PSAteraModule {
|
|||||||
$module = Get-Module -ListAvailable -Name PSAtera
|
$module = Get-Module -ListAvailable -Name PSAtera
|
||||||
If ( (-not $module) -and (IsAdmin) ) {
|
If ( (-not $module) -and (IsAdmin) ) {
|
||||||
LogMsg "Installing PSAtera Powershell module"
|
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)) ) {
|
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"
|
LogMsg "The PSAtera module needs to be installed, but the current security context is not sufficient to install it"
|
||||||
|
|||||||
Reference in New Issue
Block a user