Closed Ebag333 closed 5 years ago
WHERE PartialProductKey is not null and not ((DiscoveredKeyManagementServiceMachineName is not null and DiscoveredKeyManagementServiceMachineName != '') or (KeyManagementServiceLookupDomain is not null and KeyManagementServiceLookupDomain != '') or (KeyManagementServiceMachine is not null and KeyManagementServiceMachine != '') or IsKeyManagementServiceMachine = 1 )
Updated.
The current field checked seems to be a lazy property and does not get updated. Query below will check for all the various KMS fields that should be being used.