From d2f131a95956492a2afa028d7198e62bf4c7eb66 Mon Sep 17 00:00:00 2001 From: gwblok Date: Mon, 23 Oct 2023 14:49:23 -0500 Subject: [PATCH] HP TPM Functions --- Public/OSDCloudTS/Get-HPTPMDetermine.ps1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Public/OSDCloudTS/Get-HPTPMDetermine.ps1 b/Public/OSDCloudTS/Get-HPTPMDetermine.ps1 index ee956f11..40992189 100644 --- a/Public/OSDCloudTS/Get-HPTPMDetermine.ps1 +++ b/Public/OSDCloudTS/Get-HPTPMDetermine.ps1 @@ -72,7 +72,7 @@ function Invoke-HPTPMEXEDownload { Set-HPBIOSSetting -SettingName 'Virtualization Technology (VTx)' -Value 'Disable' Import-Module -Name HPCMSL -Force $TPMUpdate = Get-HPTPMDetermine - if ($TPMUpdate -ne $false) + if (!(($TPMUpdate -eq $false) -or ($TPMUpdate -eq "False"))) { $DownloadFolder = "C:\OSDCloud\HP\TPM" if (!(Test-Path -Path $DownloadFolder)){New-Item -Path $DownloadFolder -ItemType Directory -Force |Out-Null}