Generate Report on Machines with Duplicate GUID Values?
netops
We ran into an issue where machines with duplicate GUID values (most likely due to cloning) were not being removed from PDQ Inventory after syncing with AD if at least one of those machines is still online. Therefore, I need to pull a report showing all machines that have duplicate GUID values so we can clean up the stragglers. Any ideas on how to do this?
0
Comments
Hi Netops,
Is this what your after? Define Report (Dont forget to select appropriate collection source)
You could run a PowerShell script to get the GUID data and perhaps export it...? I haven't got exporting to excel figured out yet, maybe PowerShell master can assist here. Using 'Name -like "ext*"' as all our workstations names start with ext.
I don't think Inventory pulls the GUID for computers from Active Directory, so building a report in PDQ Inventory wouldn't work with out importing those GUIDs into custom fields. Running a query like Triggels has posted will probably be the quickest method.
Try this SQL report:
@chrisj PDQ Inventory actually does pull AD GUID, at least the version I'm running..