Skip to content

Commit

Permalink
HP TPM Functions
Browse files Browse the repository at this point in the history
  • Loading branch information
gwblok committed Oct 23, 2023
1 parent 15e8965 commit d2f131a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Public/OSDCloudTS/Get-HPTPMDetermine.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -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}
Expand Down

0 comments on commit d2f131a

Please sign in to comment.