This report has been built with PowerShell, HTML and CSS
This script has been built to help you understand why devices within your SCCM collections do not have a Configuration Manager client installed.
cd <Path to file>
.\Get-PendingClients.ps1
Get-PendingClients -SiteCode AB1 -ProviderMachineName "SCCMServer" -Collection "All AB1 Systems" -Export "C:\system center"
Get-PendingClients -SiteCode AB1 -ProviderMachineName "SCCMServer" -Collection "Example collection 1", "Example collection 2" -Export "C:\system center"