From dc62721a38f9665af88db977b6f482d56bae3564 Mon Sep 17 00:00:00 2001 From: David Date: Mon, 30 Dec 2024 17:34:32 -0700 Subject: [PATCH] Update ProcessCertificate.ps1 Update GetCertChain for the new SCVMM 2025 Agent file path. --- VMM/Templates/NC/EdgeDeployment.cr/ProcessCertificate.ps1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/VMM/Templates/NC/EdgeDeployment.cr/ProcessCertificate.ps1 b/VMM/Templates/NC/EdgeDeployment.cr/ProcessCertificate.ps1 index b5a451e1..b0c0b923 100644 --- a/VMM/Templates/NC/EdgeDeployment.cr/ProcessCertificate.ps1 +++ b/VMM/Templates/NC/EdgeDeployment.cr/ProcessCertificate.ps1 @@ -128,7 +128,7 @@ $hostFqdn = [System.Net.Dns]::GetHostByName(($env:computerName)).HostName; $certSubjectName = "CN="+$hostFqdn; try { - [Reflection.Assembly]::LoadFile("C:\Program Files\Microsoft System Center\Virtual Machine Manager Guest Agent\bin\GuestAgent.Common.dll") | Out-Null + [Reflection.Assembly]::LoadFile("C:\Program Files\Microsoft System Center\Virtual Machine Manager Guest Agent 2025\bin\GuestAgent.Common.dll") | Out-Null [Microsoft.VirtualManager.GuestAgent.Common.CertUtils]::CertificateChain($certSubjectName) } catch