Hello,
I'm trying to put together a custom SQL report that shows me all of our Windows systems missing a C:\ or
\ drive. We have over 1,000 Windows systems, and I'd much rather find an efficient way to report this rather than having to check each and every one.
I don't believe this is possible through the web console, but I have narrowed down the tables that store these details in the SQL DB. My problem now is that I'm no DBA, so would greatly appreciate if anyone could help (or let me know if this is even possible). Here is a sample query that I have which will tell me all Windows systems without a C:\ drive:
SELECT Node.CaptionFROM [dbo].[NodesData] AS NodeLEFT JOIN [dbo].[Volumes] AS VolON Node.NodeID = Vol.NodeIDWHERE Node.Vendor = 'Windows'AND Vol.VolumeType = 'Fixed Disk'AND Vol.VolumeDescription NOT LIKE 'C:\%'
Where I'm getting tripped up is writing a query that shows any system that is missing a C:\ or
\ volume.
Thanks,
Steven
P.S. :
We are currently running on NPM 11.5.1.