Hello! Hopefully this is in the right sub-forum.
I'm a complete dunce with SQL, yet i've managed to somehow hack together something that mostly works. However I really do need the collection parameter to work with this guy. So here's my query:
Text
SELECT SYS.description0, Netbios_Name0, User_Name0, v_GS_COMPUTER_SYSTEM.Manufacturer0, v_GS_COMPUTER_SYSTEM.Model0, v_GS_OPERATING_SYSTEM.Caption0, v_GS_SYSTEM_ENCLOSURE.SerialNumber0, v_GS_OPERATING_SYSTEM.InstallDate0, v_GS_OPERATING_SYSTEM.LastBootUpTime0, Last_Logon_Timestamp0 FROM v_GS_COMPUTER_SYSTEM JOIN v_R_System SYS ON SYS.ResourceID = v_GS_COMPUTER_SYSTEM.ResourceID LEFT JOIN v_GS_SYSTEM_ENCLOSURE ON SYS.ResourceID = v_GS_SYSTEM_ENCLOSURE.ResourceID LEFT JOIN v_GS_OPERATING_SYSTEM ON v_GS_SYSTEM_ENCLOSURE.ResourceID = v_GS_OPERATING_SYSTEM.ResourceID
Seems to work fine by...