microsoftgraph / powershell-intune-samples

This repository of PowerShell sample scripts show how to access Intune service resources. They demonstrate this by making HTTPS RESTful API requests to the Microsoft Graph API from PowerShell.
MIT License
1.35k stars 656 forks source link

Validate-NDESConfiguration.ps1: Section "Checking Intune Connector is installed..." does not work anymore #234

Open siliiii opened 1 year ago

siliiii commented 1 year ago

Microsoft changed the display name of the intune certificate connector. Currently the script checks for the value "Microsoft Intune Connector" in row 1358

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

The new display name is "Certificate Connector for Microsoft Intune". Therefore row 1358 should be changed to:

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