Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions CertificationAuthority/Validate-NDESConfiguration.ps1
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@


<#

.SYNOPSIS
Expand Down Expand Up @@ -1165,7 +1165,7 @@ $ServerCertObject = Get-ChildItem Cert:\LocalMachine\My\$BoundServerCertThumb
#################################################################

#region Checking Client certificate.

<# --- This section is removed as the new Intune connector does not require a Client certificate, see https://docs.microsoft.com/en-us/mem/intune/protect/certificates-scep-configure#install-the-microsoft-intune-connector
Write-host
Write-host "......................................................."
Write-host
Expand Down Expand Up @@ -1264,7 +1264,7 @@ $ClientCertObject = Get-ChildItem Cert:\LocalMachine\My\$NDESCertThumbprint


}
#>
#endregion

#################################################################
Expand Down Expand Up @@ -1355,7 +1355,7 @@ Write-Host "Checking Intune Connector is installed..." -ForegroundColor Yellow
Write-host
Log-ScriptEvent $LogFilePath "Checking Intune Connector is installed" NDES_Validation 1

if ($IntuneConnector = Get-ItemProperty HKLM:\Software\Microsoft\Windows\CurrentVersion\Uninstall\* | Select-Object DisplayName, DisplayVersion, Publisher, InstallDate | ? {$_.DisplayName -eq "Microsoft Intune Connector"}){
if ($IntuneConnector = Get-ItemProperty HKLM:\Software\Microsoft\Windows\CurrentVersion\Uninstall\* | Select-Object DisplayName, DisplayVersion, Publisher, InstallDate | ? {$_.DisplayName -eq "Certificate Connector for Microsoft Intune"}){

Write-Host "Success: " -ForegroundColor Green -NoNewline
Write-Host "$($IntuneConnector.DisplayName) was installed on " -NoNewline
Expand Down