‎05-09-2011 01:16 PM
‎05-11-2011 03:35 PM
‎05-10-2011 03:35 PM
Select Top 1000000 dbo.tblComputers.Computername,
dbo.tblComputers.ComputerUnique, Web40OSName.OSname,
dbo.tblOperatingsystem.Description, dbo.tblDiskdrives.Caption,
Cast(Cast(dbo.tblDiskdrives.Freespace As bigint) / 1024 / 1024 As numeric) As
Free, Cast(Cast(dbo.tblDiskdrives.Size As bigint) / 1024 / 1024 As numeric) As
[Total size], dbo.tblDiskdrives.Lastchanged As [Last changed],
Web40OSName.Compimage As icon, dbo.tblComputers.Computer
From dbo.tblComputers Inner Join
dbo.tblDiskdrives On dbo.tblComputers.Computername =
dbo.tblDiskdrives.Computername Inner Join
dbo.tblOperatingsystem On dbo.tblComputers.Computername =
dbo.tblOperatingsystem.Computername Inner Join
dbo.web40ActiveComputers On dbo.tblComputers.Computername =
dbo.web40ActiveComputers.Computername Inner Join
Web40OSName On Web40OSName.Computername = dbo.tblComputers.Computername
Inner Join
tblComputersystem On dbo.tblComputers.Computername =
tblComputersystem.Computername
Where dbo.tblDiskdrives.Caption = 'F:' And Cast(Cast(dbo.tblDiskdrives.Freespace
As bigint) / 1024 / 1024 As numeric) < 20 * 1024 And
Cast(Cast(dbo.tblDiskdrives.Size As bigint) / 1024 / 1024 As numeric) <> 0 And
tblComputersystem.Domainrole > 1 And dbo.tblDiskdrives.DriveType = '3' And
dbo.tblComputers.Computer Like '%EF'
Order By Cast(Cast(dbo.tblDiskdrives.Freespace As bigint) / 1024 /
1024 As numeric), dbo.tblDiskdrives.Caption
‎05-10-2011 02:00 PM
Experience Lansweeper with your own data. Sign up now for a 14-day free trial.
Try Now