Skip to content

Commit 4eb97e1

Browse files
committed
Fix of undesirable exception when hotfix not found
1 parent 3176b85 commit 4eb97e1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

AzureDevOpsTls12Analysis.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ function CheckHotfix {
124124
param ($hotfixId)
125125

126126
Write-Detail "Checking $hotfixId..."
127-
$hotfix = Get-HotFix -Id $hotfixId
127+
$hotfix = Get-HotFix | Where-Object { $_.HotFixID -eq $hotfixId }
128128
if ($hotfix)
129129
{
130130
Write-Detail "Hotfix $hotfixId found: $hotfix"

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy