major update to override Write-Output func
This commit is contained in:
@@ -14,7 +14,7 @@ ElseIf ( (IsWindowsVersion -ge "6.1") -and (IsWindowsVersion -lt "10.0") )
|
||||
If ( Is64bit ) { $URL = '{0}/{1}' -f $BaseURL, 'DisplayLink_Win7-8.1_x64.msi' }
|
||||
Else { $URL = '{0}/{1}' -f $BaseURL, 'DisplayLink_Win7-8.1_x86.msi' }
|
||||
}
|
||||
Else { LogMsg "Operating system is not supported" ; Exit }
|
||||
Else { Write-Output "Operating system is not supported" ; Exit }
|
||||
|
||||
## Install DisplayLink
|
||||
Install-Program -Path "msiexec.exe" -Arguments "/i ${URL} /qn /norestart"
|
||||
|
||||
Reference in New Issue
Block a user