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 01aa51e commit 15e8965
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions Public/OSDCloudTS/Get-HPTPMDetermine.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ function Invoke-HPTPMDownload {
Install-ModuleHPCMSL
Import-Module -Name HPCMSL -Force
$TPMUpdate = Get-HPTPMDetermine
if ($TPMUpdate -ne $false)
if (!(($TPMUpdate -eq $false) -or ($TPMUpdate -eq "False")))
{
if ((!($WorkingFolder))-or ($null -eq $WorkingFolder)){$WorkingFolder = "$env:TEMP\TPM"}
if (!(Test-Path -Path $WorkingFolder)){New-Item -Path $WorkingFolder -ItemType Directory -Force |Out-Null}
Expand All @@ -64,7 +64,8 @@ function Invoke-HPTPMDownload {
else {
Return $extractPath
}
}
}
else {Write-Host "No TPM Softpaq to Download"}
}
function Invoke-HPTPMEXEDownload {
Install-ModuleHPCMSL
Expand Down

0 comments on commit 15e8965

Please sign in to comment.